Skip to content

Commit b25bf06

Browse files
committed
Add correct flash chip for Particle Mesh boards
1 parent 3f5d917 commit b25bf06

4 files changed

Lines changed: 22 additions & 4 deletions

File tree

ports/nrf/boards/particle_argon/mpconfigboard.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ endif
2020

2121
NRF_DEFINES += -DNRF52840_XXAA -DNRF52840
2222

23-
QSPI_FLASH_FILESYSTEM = 1
23+
SPI_FLASH_FILESYSTEM = 1
2424
EXTERNAL_FLASH_DEVICE_COUNT = 1
25-
EXTERNAL_FLASH_DEVICES = "MX25L1606"
25+
EXTERNAL_FLASH_DEVICES = "MX25L3233F"

ports/nrf/boards/particle_boron/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ NRF_DEFINES += -DNRF52840_XXAA -DNRF52840
2222

2323
QSPI_FLASH_FILESYSTEM = 1
2424
EXTERNAL_FLASH_DEVICE_COUNT = 1
25-
EXTERNAL_FLASH_DEVICES = "MX25L1606"
25+
EXTERNAL_FLASH_DEVICES = "MX25L3233F"

ports/nrf/boards/particle_xenon/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ NRF_DEFINES += -DNRF52840_XXAA -DNRF52840
2222

2323
QSPI_FLASH_FILESYSTEM = 1
2424
EXTERNAL_FLASH_DEVICE_COUNT = 1
25-
EXTERNAL_FLASH_DEVICES = "MX25L1606"
25+
EXTERNAL_FLASH_DEVICES = "MX25L3233F"

supervisor/shared/external_flash/devices.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,24 @@ typedef struct {
353353
.single_status_byte = true, \
354354
}
355355

356+
// Settings for the Macronix MX25L3233F 4MiB SPI flash.
357+
// Datasheet: http://www.macronix.com/Lists/Datasheet/Attachments/7426/MX25L3233F,%203V,%2032Mb,%20v1.6.pdf
358+
#define MX25L3233F {\
359+
.total_size = (1 << 22), /* 4 MiB */ \
360+
.start_up_time_us = 5000, \
361+
.manufacturer_id = 0xc2, \
362+
.memory_type = 0x20, \
363+
.capacity = 0x16, \
364+
.max_clock_speed_mhz = 133, \
365+
.quad_enable_bit_mask = 0x40, \
366+
.has_sector_protection = false, \
367+
.supports_fast_read = true, \
368+
.supports_qspi = true, \
369+
.supports_qspi_writes = true, \
370+
.write_status_register_split = false, \
371+
.single_status_byte = true, \
372+
}
373+
356374
// Settings for the Macronix MX25R6435F 8MiB SPI flash.
357375
// Datasheet: http://www.macronix.com/Lists/Datasheet/Attachments/7428/MX25R6435F,%20Wide%20Range,%2064Mb,%20v1.4.pdf
358376
// By default its in lower power mode which can only do 8mhz. In high power mode it can do 80mhz.

0 commit comments

Comments
 (0)