TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2650的NVS读写程序

TI工程师您好。

我现在在调试CC2650的NVS,我看到CC2640和CC1310都有NVS的示例,然后我参考了CC1310的程序,使用了C:\TI\tirtos_cc13xx_cc26xx_2_21_00_06\products\tidrivers_cc13xx_cc26xx_2_21_00_04\packages\ti\drivers\nvs中库文件,发现程序在open NVS时,句柄反馈为NULL。然后对比了CC2650和CC1310以及CC2640的NVS文件,发现就是CC2650的文件差异较很大。现在我想问下是否CC2650支持NVS。既然支持,那为啥我参考了其他的内核一样的芯片(CC1310/CC2640)演示程序,调试就是一直不成功呢?

谢谢您的答复!

Felix ZF:

你可以在C:\TI\tirtos_cc13xx_cc26xx_2_21_00_06\products\tidrivers_cc13xx_cc26xx_2_21_00_04\packages\ti\drivers\nvs\NVSCC26XX.c看到各个API的具体实现。

Susan Yang:

建议您看一下E2E上给出的回复 e2e.ti.com/…/2343963

the CC2650 is only supported by the old TI-RTOS SDK(until version 2.21) and dedicated BLE SDK. The newer CC13x0 SimpleLink SDK still contained the low-level HAL for CC2650 until version 1.30, but did not contain the necessary board files for CC2650, because it targeted CC13x0 devices only. There was never a plan to release a CC2650 SimpleLink SDK.

Are you talking about the NVS driver? It was not fully functional on the CC13XX026X0 family before SimpleLink SDK version 1.30 and was then also redesigned in SimpleLink CC13x0 SDK 1.40 (and the according CC2640 SimpleLink SDK).

So, the suggested way would be: Stick to the SDK you have and backport the NVS driver, or at least, get an inspiration from that. But honestly: Don't invest too much effort. The CC2650 is not recommended for new designs.

da qin zheng sheng:

回复 Susan Yang:

hi,susan,cc2650官方为啥不推荐使用了?

赞(0)
未经允许不得转载:TI中文支持网 » CC2650的NVS读写程序
分享到: 更多 (0)