I am using three ADC channel is configured for current sensing using BCTU interrupt(CTU mode is configured to trigger mode) and remaining ADC channels are configured in Normal chain method for voltage and temperature sensing.
During this configuration voltage and temperature sensing is working as expected but current sensor is sensing raw values with noise so we are getting abnormal spike in current control. Also we have changed the Ctu mode from trigger to control mode ,in current sensor channel raw value noise is reduced. But other channel configured in normal channel were not working.
Our expectation is to work with single ADC peripheral(ADC0) in current sensing using BCTU trigger as well as voltage and temperature sensing in normal chain method without any spike.
Note: Our hardware is designed with configuration (i.e Current sensor channels is configuration is as follows, P7-ADC0,P2 and P3 -ADC1 for reading in BCTU method. Followed by remaining ADC channels configured to normal chain method(ADC0 - X0,X1,S19 and ADC1-P0,P2,P3,P1,S10)
Hi@praveen_ext
I believe this is the exact same issue you're facing.
From the screenshot you provided, it seems you haven't made any changes to my previous reply.
I've already informed you that there's a problem with your ADC clock divider configuration,
Also, are you sure your external clock is 25MHz?
If you've checked these two points and the problem persists after testing, you can try modifying the ADC channel's sampling time.
This option allows you to modify the sampling time; you can try increasing the sampling time and testing again.