Hello all,
I am using S32K312, RTD 2.0.3 and Tresos 29.0.0
I have a problem with the ADC module. Currently, Adc0 is SW triggered and Adc1 is triggered by the BCTU. Everything works great except for a small detail.... two channels of the Adc0 instance are always returning 0.
Six of the eight channels are returning perfectly coherent values while channels S8 and S9 always read 0 when there is in fact a voltage applied on their pin. (confirmed with scope) The NCMR1 register reads 0x0000_047B, which means the concerned channels are supposed to be converted. The 8 channels are in the same group, and they are all configured the same way. The pins are all configured as the right Adc channel.
I tried triggering Adc0 by Hw and with the BCTU, but it did not help my cause. I also tried shutting off Adc1 to see if it was interrupting Adc0. Finally, I tried triggering only the two problematic channels but, they still read 0.
Any idea what could be causing this issue?
Thanks,