Other Parts Discussed in Thread: SYSCONFIG,
Tool/software:
Hi all,
I am reading data through ADC using DMA and implemented a firmware for an ev charger.
There is an AC voltage reading which i am reading from a the power board of my charger.
Now there is a random scenario where my adc raw values are gettting 0 or sometimes, they are not getting updated, which is affecting my charger's functionality.
On a MCU reset, they start updating correctly, but problem manifests itself again randomly.
The firmware was working perfectly with an earlier version of charger.
Now there is an update in power board but the input for AC mains is working fine and verified via scope.
I have done probing on the MCU pin from where i am taking input for "ac_mains_voltage". The input is working perfectly(in the range of 0 to 3.3V) which was verified on Oscilloscope.
But the raw ADC values are shown as 0, or they remain constant. I have logged this info using CAN msgs and the firmware is not in an infinite loop or any hard fault or seg fault.
Can anyone please help me to solve this and reach to the root cause of this issue?
Thanks in advance.