This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2640R2F: NVS driver integration to Adesto AT25XE041B external flash.

Part Number: CC2640R2F

Tool/software: TI-RTOS

Hi,

We have a CC2640R2F custom board with Adesto AT25XE041B external flash. I managed to integrate extFlash.h driver from simple_peripheral_cc2640r2_oad_offchip example, but the thing is, that we need to use SPIFFS and SPIFFS uses NVS.

To make extFlash driver work, I had to:

  • change "Read Manufacturer and Device ID" pin from 0x90 to 0x9F,
  • modify ExtFlash_readInfo() to send only one byte
  • add AT25XE041B manfId (0x1F) and devId (0x44) to flashInfo
  • implement ExtFlash_global_unprotect function, since this extflash seems to be write protected by default.

Now I should do similar thing with NVS, but I am bit lost. 

Driver implementation seems to be in NVSSPI25X.h, but there is no "Read Manufacturer and Device ID" logic nor protect/unprotect logic.

Should I be able to make NVS work, without these somehow? Or how should I implement them?