This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Sample QSPI example Flash read giving 88 in read buffer

Hello developers,

I am currently using nRF52840 DK and want to integrate external flash in my already developed Open Thread based application. My idea is to store 200-300 sample data from sensor into external flash memory and send all data at specific interval from my end device in single payload via MQTT-SN. The MQTT-SN part is already developed and i am looking for help and guidance in the flash interface.

I started with peripheral example QSPI present in nrf5 SDK although without any success. The Erase, Read, Write process doesn't give error logs but it also doesn't read the data properly. It always give me 0x88 0x88 in the read buffer. Here are the logs of the following sample example:

<info> app: QSPI write and read example using 24bit addressing mode
<info> app: QSPI example started.
<info> app: Process of erasing first block start
<info> app: Process of writing data start
<info> app: Data read
<info> app: Compare...
<info> app: Data inconsistent
<info> app: QSPI write and read example using 24bit addressing mode
<info> app: QSPI example started.
<info> app: Process of erasing first block start
<info> app: Process of writing data start
<info> app: Data read
<info> app: Compare...
<info> app: Data inconsistent

I have checked my DK the jumpers as written in docs are soldered perfectly So this isn't a hardware issue. How should i run the sample QSPI example successfully.

So can anyone please help me ?

Parents
No Data
Reply Children
No Data
Related