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/CC2650: ADC_open failed in CC2650.

Part Number: CC2650

Tool/software: TI C/C++ Compiler

Hi all,

I are using Bluetooth stack version 2.2 development environment for CC2650. I want to measure the battery voltage for that I am using ADC pin BOARD_DIO23_ANALOG as analog i/p. I am getting ADC_open as failed (NULL).

I have following questions:

Why I am getting ADC_open as NULL?

what are the parameter I should consider ?

I am sharing screenshot of the code.

Regards,

Ankita Tayade