Skip to content

Commit 17e7973

Browse files
committed
Add support for Winbond W25Q64FV
1 parent 4d7b9cd commit 17e7973

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

supervisor/shared/external_flash/devices.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,24 @@ typedef struct {
363363
.write_status_register_split = false, \
364364
}
365365

366+
// Settings for the Winbond W25Q64FV 8MiB SPI flash.
367+
// Datasheet: https://www.winbond.com/resource-files/w25q64fv%20revs%2007182017.pdf
368+
#define W25Q64FV {\
369+
.total_size = (1 << 23), /* 8 MiB */ \
370+
.start_up_time_us = 5000, \
371+
.manufacturer_id = 0xef, \
372+
.memory_type = 0x40, \
373+
.capacity = 0x17, \
374+
.max_clock_speed_mhz = 104, \
375+
.quad_enable_bit_mask = 0x02, \
376+
.has_sector_protection = false, \
377+
.supports_fast_read = true, \
378+
.supports_qspi = true, \
379+
.supports_qspi_writes = true, \
380+
.write_status_register_split = false, \
381+
.single_status_byte = false, \
382+
}
383+
366384
// Settings for the Winbond W25Q64JV-IM 8MiB SPI flash. Note that JV-IQ has a different .memory_type (0x40)
367385
// Datasheet: http://www.winbond.com/resource-files/w25q64jv%20revj%2003272018%20plus.pdf
368386
#define W25Q64JV_IM {\

0 commit comments

Comments
 (0)