Tool/software: Linux
Hello,
My system is working on AM3352 processor. And having 2 ADC inputs. ADC is working with internal reference. In normal condition it is working perfectly. If I apply power line EFT, at that time processor can not access ADC and gets hang.
System is working on kernel 4.4.12. However if I change kernel version to 3.2.0 then at that time this ADC hang issue is getting resolved and ADC does not gets hang with same board and same EFT testing setup.
Our Linux application is accessing ADC by Sysfs in one shot mode, and even when it hangs with kernel 4.4.12, we cannot access it from console manually. But in kernel 3.2.0 this is working smoothly.
Also while in EFT, we are monitoring samples from ADC it is stable till last moment. And there is no any misbehavior in ADC in terms of count. We are using ADC driver as a module. If we disable ADC driver then system is not getting hang.
So what should be probable cause of this problem.
Best Regards,
Dharit