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 temperature sensor

Other Parts Discussed in Thread: CC2541

Hi all,

I am trying to read from internal temperature sensor on CC2541 platform. To enable it I set TR0.ADCTM to 1 and ATEST |= 1. After that I start ADC conversion by writing to ADCCON3. In ADC ISR I got the result, but after this P0 GPIOs do not trigger any interrupts when pressing buttons connected to them. The only solution that helps is to not set ATEST |= 1. But doing like this also disables the temperature sensor...

What could be the problem ?