Hello ,I work with the sdk 12, I have a program to contoler the level of battery, it works, except that I recode 3870 mV (with USB) and when I measure the pin VDD I find 2.88. I do not know is what I made a code fault thanks
Hello ,I work with the sdk 12, I have a program to contoler the level of battery, it works, except that I recode 3870 mV (with USB) and when I measure the pin VDD I find 2.88. I do not know is what I made a code fault thanks
Do you use the SAADC? What is the gain and reference set to? And what code do you use to convert to mV?
Yes, it seems like the SAADC is not sampling. I would recommend that you look at the adc_buf directly, and ensure that you actually see the value changing. Try sampling some analog input, like ground, it should change for each sampled value.
Yes, it seems like the SAADC is not sampling. I would recommend that you look at the adc_buf directly, and ensure that you actually see the value changing. Try sampling some analog input, like ground, it should change for each sampled value.