Hello Community,
I am trying to read the input supply ( voltage and current) through ADC1.
ADC1_channel 6 is to sense the Input current and ADC1_channel 7 is to sense the Input voltage.
I am triggering the ADC1 with PDB1,
sarwath_0-1673873225160.png
At beginning I have sensed the ADC1_channel 6 Input current and I got output current_mv as 1290 mv.
sarwath_1-1673873266639.png
Later I added the ADC1_channel 7 Input current,
sarwath_2-1673873382537.png
When I sense the both ADC1 channel, the current_mv result are modified from 1290mv to 537mv .
sarwath_3-1673873517392.png
My voltage_mv is correct as per my requirement but the current_mv values are changing once I added the 2nd channel ADC1_channel 7.
There is no changes in supply but I am getting different ADC result. I have attached my project for your reference. Please have a look and let me know where I am going wrong.
sarwath_4-1673873672974.jpeg
Many Thanks,
Sarwath