Dear TI members,
I am looking for your help regarding my project work. I am working on 14 bit-ADC while using CC2541. I want to show the ADC to convert the BAT_VOL and show it in ADCH/ADCL registers. I am not seeing any value in these registers. I am using following code to read the value in the registers.
/* Read the result */
reading = (int16) (ADCL);
reading |= (int16) (ADCH << 8);
I am reading the value using "WATCH" feature in IAR, but I want to see the value in ADCH/ADCL reg.
Please help.
Thanks in Advance.
/Ash
