Dear TI
We are having an intermittent problem when reading the ADC on the CC2541
Our application requests an ADC value one time 10 seconds after the CC2541 is powered.
Then, after 1 minute, 3 more readings are requested by our app and the results averaged to give us our battery level.
Subsequent readings are taken every hour. 3 measurements are requested and then averaged.
The battery level is consistent over a long period of time but every now and then a value is returned that is very low.
this value recovers one or two hours later but can also be corrected by resetting the CC2541
The battery has been measured and is around 2.90V when we first start to see the problem. This could just be a coincidence.
Our set up is reasonably straight forward in that there is no components external to the CC2541 involved.
The battery is wired directly to the VDD pin and measured using the ADC
in our application our setting is:
uint16 adc;
HalAdcSetReference( HAL_ADC_REF_125V );
adc = HalAdcRead( HAL_ADC_CHANNEL_VDD, HAL_ADC_RESOLUTION_10 );
So the ADC is set up to use the internal voltage reference and looking at the VDD/3, 10 bit resolution
We have run our look up table through a through a test harness that simulates all the possible I/P’s
we have put a 2.90V battery under load by advertising every 160ms and requesting battery measurements. This did not reproduced the problem
Thanks