How to read /Write data to NOR flash in nRF52840 dk?

Hi there,

I am developing a central in nrf52840 dk using SDK v2.0.0 in VS code. 

The BLE part is OK and it is possible me to get notifications.

Now, I need to store the notified data in to the flash.

Referring this: Nordic Semiconductor Infocenter , I understand that there is a 64MB external flash(MX25R6435F) in the DK.

It is possible me to find a sample code (from SDKv2.0.0) to read/ write data to flash.

The sample code worked fine for me. 

My notified data comprises of 2 bytes so that it is possible me to save upto 120 samples in a page(256 bytes).

Now I would like to know the following details:

1.How can I save large amount of data in different pages?

2. Is it possible to read and write data simultaneously (using different threads in FIFO manner)?

Thanks in Advance...

Parents Reply Children
No Data
Related