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.

CC2541 Keyfob ADC Sampling Issue

Other Parts Discussed in Thread: CC2541, CC2540

I'm using the CC2541 Keyfob reference design to try and sample the ADC on the open pins on the test connector (i.e. P0_6 and P0_7). I've tried using the three sample projects for the ADC in the peripheral projects zip, but those values do not change with respect to change in input. Moreover, I modified the keyfob code to attempt to sample the ADC using the battery monitor service with the channel switched to AIN6, but it also does not change with respect to input. Any ideas what I could be doing wrong?

HAL_ADC is defined as TRUE and it does actually attempt to sample it. The device is has the same problem when powered by the debugger as well as the battery.