W25Q16JV IQ and IM

Indicate the differences between IQ and IM with the 2 MiB version of the W25Q chip.
This commit is contained in:
Benjamin Shockley 2018-10-04 21:26:05 -05:00 committed by GitHub
parent 2ef29c2cec
commit 62d316bffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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