summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2024-03-27 11:11:57 +0100
committerDamien George <damien@micropython.org>2024-03-28 15:52:40 +1100
commit4662a71f44bd8a0f8ff96d12e43f69be3bff8488 (patch)
tree3ddfb1abf9b568ea2889a220b54acd3e99977fcc
parentd9b9e88899df86fec5679138f5f60ed62df0975f (diff)
drivers/memory: Add IS25LPWP064D chip to list of external flash devices.
Confirguration provided by by @ironss-iotec. Signed-off-by: robert-hh <robert@hammelrath.com>
-rw-r--r--drivers/memory/external_flash_device.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/memory/external_flash_device.h b/drivers/memory/external_flash_device.h
index 037984460..b5cf4a887 100644
--- a/drivers/memory/external_flash_device.h
+++ b/drivers/memory/external_flash_device.h
@@ -442,6 +442,23 @@ typedef struct {
.single_status_byte = false, \
}
+// Settings for the ISSI devices
+#define IS25LPWP064D { \
+ .total_size = (1 << 23), /* 8 MiB */ \
+ .start_up_time_us = 5000, \
+ .manufacturer_id = 0x9D, \
+ .memory_type = 0x60, \
+ .capacity = 0x17, \
+ .max_clock_speed_mhz = 80, \
+ .quad_enable_bit_mask = 0x40, \
+ .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 a GENERIC device with the most common setting
#define GENERIC { \
.total_size = (1 << 21), /* 2 MiB */ \