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.

CC2640R2F: SNV & NVS allocation

Part Number: CC2640R2F

Hi Team,

According to the memory map of CC2640R2F, 0x0001D000 & 0x0001E000 are for SNV if it set to 2. 

And according to the NVSinternal example:

#define NVS_REGIONS_BASE 0x1A000
#define SECTORSIZE       0x1000
#define REGIONSIZE       (SECTORSIZE * 4)
There is a conflict of memory allocation, that NVS will occupy 0x0001D000  too, is that ok?
  • Hi Viki, 

    Assigning an expert to comment.

    Thanks, 
    Elin 

  • Hi Viki,

    You are referencing to the NVSinternal example which is a driver example (not implementing BLE). As long as you are not using the BLE stack, it's fine to use the SNV area.

    If you use the BLE stack, then you cannot use the SNV area and you have to chose a different base address for the NVS or/and a shorter region size. (As you mentioned, if you keep the same NVS settings and use the BLE stack, the memory area from 0x1D000 to 0x1DFFF is going to cause some troubles.)

    Best regards,