Other Parts Discussed in Thread: CC1310
I am working with cc1310
I need to monitor the battery in mV
My code is,
bat_volt = AONBatMonBatteryVoltageGet();
bat_status = ( ((bat_volt>>8)&0x7)*1000 + (bat_volt&0xFF)*1000/256 );
I have included library
but this function returns a value of 3.32mV, when i am usin a 2.9V battery.
I have found that battery monitor is checking the VDD supply.
How can i get the accurate value of battery voltage.
In which ADC battery monitor is connected?
Please help me.