Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG
I want to utilize the NVS function in Zigbee. I attempted to perform the operation in the example "nvsinternal" (the code is above). I will use the following code: NVS_write(nvsHandle, 0, (void *)signature, sizeof(signature), NVS_WRITE_ERASE | NVS_WRITE_POST_VERIFY); After this function is executed, the data can be seen in the memory. When I call NVS_write(nvsHandle, 0, (void *)signature, sizeof(signature), NVS_WRITE_ERASE | NVS_WRITE_POST_VERIFY); After the comments are removed and re-written into the memory, there is no content in the memory. Why is this so? Isn't NVS a power-off non-volatile device? Or is it because I missed some operation somewhere? The address is also in the 512KB programmable flash memory.


