This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to save thread power calibration table to available non-volatile partition with nRF52811

We are using nRF52811, is there any sample code support to set/save thread power calibration table/data to available non-volatile partition.

thanks,
Webber

Parents
  • Hi Webber,

    Can you explain what is "thread power calibration table/data"? I assume it is not related to our Thread since nRF52811 has too small memory and flash to support Thread.

    Back to the question, you can use the Flash Data Storage (FDS) library to store custom data flash with or without Softdevice enable. Please refer to Flash Data Storage Example, specifically you can modify "m_dummy_cfg" to your own target data structure.

    Since there is no direct example for nRF52811, please modify the existing example "Section Placement Macros" ( project option -> common -> Linker-> Section Placement Macro) to the following configuration to fit nRF52811 memory map.

    FLASH_PH_START=0x0
    FLASH_PH_SIZE=0x30000
    RAM_PH_START=0x20000000
    RAM_PH_SIZE=0x6000
    FLASH_START=0x0
    FLASH_SIZE=0x30000
    RAM_START=0x20000000
    RAM_SIZE=0x6000

    Best regards,

    Charlie

Reply
  • Hi Webber,

    Can you explain what is "thread power calibration table/data"? I assume it is not related to our Thread since nRF52811 has too small memory and flash to support Thread.

    Back to the question, you can use the Flash Data Storage (FDS) library to store custom data flash with or without Softdevice enable. Please refer to Flash Data Storage Example, specifically you can modify "m_dummy_cfg" to your own target data structure.

    Since there is no direct example for nRF52811, please modify the existing example "Section Placement Macros" ( project option -> common -> Linker-> Section Placement Macro) to the following configuration to fit nRF52811 memory map.

    FLASH_PH_START=0x0
    FLASH_PH_SIZE=0x30000
    RAM_PH_START=0x20000000
    RAM_PH_SIZE=0x6000
    FLASH_START=0x0
    FLASH_SIZE=0x30000
    RAM_START=0x20000000
    RAM_SIZE=0x6000

    Best regards,

    Charlie

Children
Related