diff options
| author | Max Holliday <maholli@stanford.edu> | 2020-05-09 12:00:59 -0700 |
|---|---|---|
| committer | Max Holliday <maholli@stanford.edu> | 2020-05-09 12:00:59 -0700 |
| commit | 9ef28d85363718b2bf0dd17e78c50f422712bccb (patch) | |
| tree | 086916b0c901ff911de14f89c505f38bea7b3f38 | |
| parent | 602eabe668f9218e9e75d44e7153ae73b928a465 (diff) | |
Replacing device that was accidentally deleted
| -rw-r--r-- | supervisor/shared/external_flash/devices.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/supervisor/shared/external_flash/devices.h b/supervisor/shared/external_flash/devices.h index 08e38ed91..f99fad4e7 100644 --- a/supervisor/shared/external_flash/devices.h +++ b/supervisor/shared/external_flash/devices.h @@ -511,6 +511,25 @@ typedef struct { .single_status_byte = true, \ } +// Settings for the Macronix MX25R1635F 8MiB SPI flash. +// Datasheet: https://www.macronix.com/Lists/Datasheet/Attachments/7595/MX25R1635F,%20Wide%20Range,%2016Mb,%20v1.6.pdf +// In low power mode, quad operations can only run at 8 MHz. +#define MX25R1635F {\ + .total_size = (1 << 21), /* 2 MiB */ \ + .start_up_time_us = 800, \ + .manufacturer_id = 0xc2, \ + .memory_type = 0x28, \ + .capacity = 0x18, \ + .max_clock_speed_mhz = 33, /* 8 mhz for dual/quad */ \ + .quad_enable_bit_mask = 0x80, \ + .has_sector_protection = false, \ + .supports_fast_read = true, \ + .supports_qspi = true, \ + .supports_qspi_writes = true, \ + .write_status_register_split = false, \ + .single_status_byte = true, \ +} + // Settings for the Macronix MX25L51245G 64MiB SPI flash. // Datasheet: https://www.macronix.com/Lists/Datasheet/Attachments/7437/MX25L51245G,%203V,%20512Mb,%20v1.6.pdf #define MX25L51245G {\ |
