Skip to content

Commit 62d316b

Browse files
authored
W25Q16JV IQ and IM
Indicate the differences between IQ and IM with the 2 MiB version of the W25Q chip.
1 parent 2ef29c2 commit 62d316b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ports/atmel-samd/external_flash/devices.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ typedef struct {
180180
.write_status_register_split = false, \
181181
}
182182

183-
// Settings for the Winbond W25Q16JV 2MiB SPI flash.
183+
// Settings for the Winbond W25Q16JV 2MiB SPI flash. Note that JV-IQ has a different .memory_type (0x40)
184184
// Datasheet: https://www.winbond.com/resource-files/w25q16jv%20spi%20revf%2005092017.pdf
185-
#define W25Q16JV {\
185+
#define W25Q16JV_IQ {\
186186
.total_size = (1 << 21), /* 2 MiB */ \
187187
.start_up_time_us = 5000, \
188188
.manufacturer_id = 0xef, \
@@ -197,7 +197,7 @@ typedef struct {
197197
.write_status_register_split = false, \
198198
}
199199

200-
// Settings for the Winbond W25Q16JV_IM 2MiB SPI flash. (W25Q16JVUXIM)
200+
// Settings for the Winbond W25Q16JV_IM 2MiB SPI flash. Note that JV-IM has a different .memory_type (0x70)
201201
// Datasheet: https://www.winbond.com/resource-files/w25q16jv%20spi%20revf%2005092017.pdf
202202
#define W25Q16JV_IM {\
203203
.total_size = (1 << 21), /* 2 MiB */ \

0 commit comments

Comments
 (0)