Hi.
I have on the analog input AN114 2V, which with the Vcc at 3.3V I should get a value around 2480, instead I read values between 700 and 900.
This is my configuration:
Any idea?
Thanks
Paolo
Does anyone know where the problem is? A bug in the Smart Configurator?
Whether a voltage is present or not it always reads the same values.
Hi Paolo,
When using the S12AD1 usit, the reference voltage pin is AVCC1 and AVSS1, can you please check if these two pin is connected correctly?
BR,
NP_Renesas
Thanks for the answer, but AVCC1 and AVSS1 are correct.
Can you please measure the voltage on AN114 is 2V?
2042 mV
Can you please send me the project so that I can have a further analysis.
And get value in ADC interrupt is not suggested, can you please use a loop or timer interrupt to read the ADC value?
You have the project in ticket 403031.
I had also tried loop reading but nothing changes.
I solved it. It was a defective SMD resistor. It was touching and not touching. Replaced it now reads correctly.
Thank you.