Hi,
I have two board with different analog input circuit. The first one can get the ADC value correctly, but the second one cannot and always get 4095 (12 bit). The software used for testing is the same.
The first analog input circuit is designed with passive components, and the second one is designed with an amplifier.
The analog input circuit that cannot successfully read the value is as follows.
Should the ADC or PORT module be configured differently between the two different designs?
Hi,
I made some attempts, and it seemed that the software configuration should be fine, so I did Adc_SelftTest and found that there were differences in the results of the self test. What are the possible causes of the two errors ERR_C and ERR_S0?
Hi,
I found that the ADC problem on the board was caused by not providing VREFH correctly.
And the wrong voltage caused the self test error.
When I provide the correct voltage to VREFH, I get right ADC values.
I am glad that you found the root cause of your issue. Any other questions feel free to continue using our technical support service.