diff options
| author | arturo182 <arturo182@tlen.pl> | 2019-10-15 00:26:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-15 00:26:13 +0200 |
| commit | 756e4a41da27a7683fe93b5ee6dc6445cdea3985 (patch) | |
| tree | 60408f95daf8c3731f0677aa8ad89c65b78eb931 | |
| parent | 5971794e5464d166379278c8dcbda0ebb3cc23d5 (diff) | |
| parent | e0f60d0c173f889199e431de3838cd1d93376500 (diff) | |
Merge pull request #2219 from arturo182/IS25LP128F
Add IS25LP128F flash device definition
| -rw-r--r-- | supervisor/shared/external_flash/devices.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/supervisor/shared/external_flash/devices.h b/supervisor/shared/external_flash/devices.h index 4de22719a..2e9dfabf5 100644 --- a/supervisor/shared/external_flash/devices.h +++ b/supervisor/shared/external_flash/devices.h @@ -443,4 +443,22 @@ typedef struct { .single_status_byte = false, \ } +// Settings for the ISSI IS25LP128F 16MiB SPI flash. +// Datasheet: http://www.issi.com/WW/pdf/25LP-WP128F.pdf +#define IS25LP128F {\ + .total_size = (1 << 24), /* 16 MiB */ \ + .start_up_time_us = 10000, \ + .manufacturer_id = 0x9d, \ + .memory_type = 0x60, \ + .capacity = 0x18, \ + .max_clock_speed_mhz = 133, \ + .quad_enable_bit_mask = 0x02, \ + .has_sector_protection = true, \ + .supports_fast_read = true, \ + .supports_qspi = true, \ + .supports_qspi_writes = true, \ + .write_status_register_split = false, \ + .single_status_byte = true, \ +} + #endif // MICROPY_INCLUDED_ATMEL_SAMD_EXTERNAL_FLASH_DEVICES_H |
