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.

LAUNCHXL-CC1312R1: Use of NVS.h. NVS_open() & NVS_close()

Part Number: LAUNCHXL-CC1312R1

Hi TI team, I have a general question about NVS implementation to read / write to external flash (Macronix MX25R)

What is the rule of thumb using NVS_open() and NVS_close().

For each read transaction should I call NVS_open() then do read and then NVS_close() or it is fine to open the region once for multiple read/write transactions and leave it open. What are the implications of the second approach (leaving the region open for multiple read transaction)?

NVS.h does not specify the desired approach 

Best,

Viktor