From 56c6b6d7f88603684a3469cbbda2f0701e8e3e71 Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 17 Apr 2019 13:31:14 +0700 Subject: [PATCH] reduce GD25Q16C freq to work reliably with feather nrf52840 --- cores/nRF5/flash/flash_devices.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cores/nRF5/flash/flash_devices.h b/cores/nRF5/flash/flash_devices.h index 05a1eb21..60801f21 100644 --- a/cores/nRF5/flash/flash_devices.h +++ b/cores/nRF5/flash/flash_devices.h @@ -49,13 +49,13 @@ typedef struct { // Settings for the Gigadevice GD25Q16C 2MiB SPI flash. // Datasheet: http://www.gigadevice.com/datasheet/gd25q16c/ -// Can only work reliably with nrf5x at 16Mhz, even though it should work up to 104 MHz +// Can only work reliably with nrf5x at 10 Mhz, even though it should work up to 104 MHz #define GD25Q16C {\ .total_size = 2*1024*1024, \ .manufacturer_id = 0xc8, \ .device_id = 0x14, \ .status_quad_enable = (1 << 9),\ - .freq = NRF_QSPI_FREQ_32MDIV2 \ + .freq = NRF_QSPI_FREQ_32MDIV3 \ } #define MX25R6435F {\