Skip to content

Commit 9984b26

Browse files
committed
Updates devices.h to include the W25Q32FV flash chip that is on the SparkFun LumiDrive and Redboard Turbo
1 parent 178cfc1 commit 9984b26

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

supervisor/shared/external_flash/devices.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,4 +407,21 @@ typedef struct {
407407
.write_status_register_split = false, \
408408
}
409409

410+
// Settings for the Winbond W25Q32FV 4MiB SPI flash.
411+
// Datasheet:http://www.winbond.com/resource-files/w25q32fv%20revj%2006032016.pdf?__locale=en
412+
#define W25Q32FV {\
413+
.total_size = (1 << 22), /* 4 MiB */ \
414+
.start_up_time_us = 5000, \
415+
.manufacturer_id = 0xef, \
416+
.memory_type = 0x40, \
417+
.capacity = 0x16, \
418+
.max_clock_speed_mhz = 104, \
419+
.quad_enable_bit_mask = 0x00, \
420+
.has_sector_protection = false, \
421+
.supports_fast_read = true, \
422+
.supports_qspi = false, \
423+
.supports_qspi_writes = false, \
424+
.write_status_register_split = false, \
425+
.single_status_byte = false, \
426+
}
410427
#endif // MICROPY_INCLUDED_ATMEL_SAMD_EXTERNAL_FLASH_DEVICES_H

0 commit comments

Comments
 (0)