Hallo Dialog Team,
i am trying to sample values from a temperature sensor connected on P0_0. Everything functions fine but the value of the ADC never stays constant and hops with between +/- 5% of the actual value of the sensor. This happens even when the sensor has become stable. I tried monitoring the voltage on the OUT pin of the sensor using a Multimeter and a high resolution oscilloscope. The output value of the sensor doesn't change that much, so I was wondering if I did something wrong. Reading the value on the ADC port is based on the Battery Example (with single mode conversion and GP_ADC_ATTN3X to reduce the accuracy) .
Moreover, I would like to know for documentation purposes, which clock the ADC uses. I couldn't find anything exact concerning this matter. In the datasheet it says GP_ADC_CLK_SEL = 0 means the Internal high-speed clock is used whereas GP_ADC_CLK_SEL = 1 the digital clock is used. What are the exact values of these clocks?
Thanks in advance