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.

monitoring battery using ADC on CC2531

Other Parts Discussed in Thread: CC2531, CC2530

Hello TI folks,

I am planning on using the CC2531 as a battery monitor (powered by a 3.6 V battery and a 3.3V LDO). The configuration should be the following but I am not sure:

-ADC reference: internal reference

-ADC input: Vcc/3 

That way, when the battery level goes under 3.3V the LDO's ouput should go under 3.3V too and I should be able to detect this through the ADC. 

Am I wrong here? the thing is that I am not sure whether I can measure 3.3V or less using the internal reference   

Thanks for your answers and ideas

Regards

  • Hi,
    you can measure up to 3.45 V. The internal reference voltage is set as 1.15 V (please check the datasheet available at www.ti.com/product/CC2530) and since you are measuring VDD/3, that is the max voltage you can measure.
    Please check the example code in hal_adc.c module for an implementation of an ADC driver that supports battery measurement.
    The ADC supports up to 12 ENOB conversion so that should give you enough resolution for your design.

    Thanks,
    TheDarkSide
  • Thanks for the quick answer. Right, so I'll do it that way, so I do not have to use any ADC GPIO input from the MCU

    Cheers