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.

CC2642R1F 可以存放下10K的数据吗?



我在用户指南中看到,在使用蓝牙协议栈的情况下,建议将数据存放至SNV中,但我看到似乎与2640一样使用0x80~0x8F,作为SNV ID来存放数据,在BLE5 user guide中提到含有8K的可存储空间(2640R2F 是4K)我的问题是:

1. 依然是有16个ID作为 SNVID来存放数据,但总数据是8K,意味着每个ID可以装满约512个字节的数据吗?

2.如果我用一个ID0X80 直接存放5K的数据,它会溢出吗?

3.如果我想要存放更多的数据,10K甚至20K,2642可以做到吗?

  • CC2642的SNV说明在C:/ti/simplelink_cc13x2_26x2_sdk_4_30_00_54/docs/ble5stack/ble_user_guide/html/ble-stack-common/flash_memory-cc13x2_26x2.html#using-simple-nv中
    SNV最大可以设置2页

  • 你好,你所发的连接我已经看过了,以上的四个问题是我看完之后才提出的问题:

    1. 依然是有16个ID作为 SNVID来存放数据,但总数据是8K,意味着每个ID可以装满约512个字节的数据吗?

    2.如果我用一个ID0X80 直接存放5K的数据,它会溢出吗?

    3.如果我想要存放更多的数据,10K甚至20K,2642可以做到吗?

    4.默认是只有1页4K吗?如何设置成两页8K?
  • 1.可以分到512K字节
    e2e.ti.com/.../3070008
    2.会
    3.可以尝试用NVS:C:\ti\simplelink_cc13x2_26x2_sdk_4_30_00_54\examples\rtos\CC26X2R1_LAUNCHXL\drivers\nvsinternal
    4.默认设置已经是2页了,上面文档中有说明