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.

CC2340R5: OSAL SNV 读写操作

Part Number: CC2340R5

器件用的LP-EM-CC2340R5,f3_sdk_7_40_00_64,basic_ble_profiles_freertos_ticlang

先参考了以下链接:

Flash — SimpleLinkTm CC23xx SDK BLE5-Stack User's Guide 3.02.02.00 documentation

的例子OSAL SNV Example,当操作代码插入在App_StackInitDoneHandler时,可以成功操作

应用需要定期读取flash内容(当前测试间隔大于1s),按照同样OSAL SNV Example的代码,

当试图在可reload的软件计时器callback函数中使用osal_snv_read/osal_snv_write时,

停在了status = osal_snv_read(SNV_ID_APP, BUF_LEN, (uint8 *)buf);上,定时器不再reload,外部看到ble connect断开

osal_snv_read/osal_snv_write的使用是否是受到限制的?

可以在哪些任务/事件场所中使用osal_snv_read/osal_snv_write?