Other Parts Discussed in Thread: CC2650
Tool/software: TI-RTOS
Hello E2E experts and friends,
Our custom board (based on CC2640) have a BATT_MON connected to pin IO_29, its schematic is as follow,
Our board is powered by a 3.7V battery and it is running off a regulator, so it’s unable to use TI internal battery moniror AONBatMonBatteryVoltageGet. The BATT_MON is on an analog capable pin (DIO29), so I assume it would be able to read the value on that pin. We want to add this to monitor the battery voltage to save/synchronize the progress in our project. Is there any simple code snipset I could follow to achieve this (I have no experience with adc reading). What changes would I have to make in CC2650_LAUNCHXL.h, .c, Board.h to make it to work?
Thanks,
Henry