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.

Compiler/CC2541: CC2541 ADC conversion issue

Part Number: CC2541

Tool/software: TI C/C++ Compiler

Good Day,

I just had an issue regarding ADC for cc2541.

The maximum 8bit value i get is only 0x7F or 127 when I supply VCC or 3.3 to the channel 7 analog input.

My settings are HalADCSetreference (HAL_ADCREF_AVDD) and adc = HalADCRead(HAL_ADC_CHN_AIN7, HAL_ADC_RESOLUTION_8).

Have I missed something here?

Thanks.