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

fatfs with nrf_block_dev_qspi sleep behavior

Hello,

I'm currently using fatfs with a QSPI flash device on an nRF52840 with SDK 16. I was wondering what is the best way to put the qspi device to sleep in between reads/rights?

If I leave the fatfs filesystem mounted and the block device initialized, my device draws 600uA continuously. If I unmount and uninitialize the block device before sleeping, and reinitialize when I need to write/read from my flash, I achieve my expected sleep current for my system of around 15uA. However, unmounting and uninitializing seems like a fairly heavyweight operation to do frequently after every read and write. Is there a better way to manage QSPI power states that is supported by the nordic port of fatfs, and the block device and qspi libraries?

Thanks for any suggestions!

Parents Reply Children
No Data
Related