Skip to content

Commit f226f4a

Browse files
authored
Merge pull request #3864 from djix123/w25q64fv
Add support for Winbond W25Q64FV
2 parents d6df43b + 17e7973 commit f226f4a

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
@@ -384,6 +384,24 @@ typedef struct {
384384
.write_status_register_split = false, \
385385
}
386386

387+
// Settings for the Winbond W25Q64FV 8MiB SPI flash.
388+
// Datasheet: https://www.winbond.com/resource-files/w25q64fv%20revs%2007182017.pdf
389+
#define W25Q64FV {\
390+
.total_size = (1 << 23), /* 8 MiB */ \
391+
.start_up_time_us = 5000, \
392+
.manufacturer_id = 0xef, \
393+
.memory_type = 0x40, \
394+
.capacity = 0x17, \
395+
.max_clock_speed_mhz = 104, \
396+
.quad_enable_bit_mask = 0x02, \
397+
.has_sector_protection = false, \
398+
.supports_fast_read = true, \
399+
.supports_qspi = true, \
400+
.supports_qspi_writes = true, \
401+
.write_status_register_split = false, \
402+
.single_status_byte = false, \
403+
}
404+
387405
// Settings for the Winbond W25Q64JV-IM 8MiB SPI flash. Note that JV-IQ has a different .memory_type (0x40)
388406
// Datasheet: http://www.winbond.com/resource-files/w25q64jv%20revj%2003272018%20plus.pdf
389407
#define W25Q64JV_IM {\

0 commit comments

Comments
 (0)