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.

LAUNCHXL-CC26X2R1: How can we add Battery monitoring system in simple central project.

Part Number: LAUNCHXL-CC26X2R1


Hello TI Team,

Currently I am working on Simple Central Project(CC26X2R1) but in this project I want to add Battery monitoring System which is already available in the controller (api link), how can I add this function please suggest, if there is any source code for reference then please share me.

Thanks,

Ashutosh Singh

  • Hello Ashutosh,

    This is demonstrated in nvocmp.h where NVOCMP_checkVoltage() checks the caller supplied voltage threshold against the value read from the CC26xx BATMON register for instances where NVOCMP_MIN_VDD_FLASH_MV is defined and set to an appropriate value (ex. 2000).  You can use this as a reference for your purposes.

    Regards,
    Ryan