2021-03-09 09:40 PM
I am using stm32h743ii board. I am adding two adc channels of adc 1. I am using scanning mode and continuous conversion mode. I am geeting the data using HAL_ADC_START_DMA.
I am Storing the data of channel 1 in data_read[0] and the data of channel 2 in data_read[1] .
I am getting the data of both the channel .While i interface any one of the channel i am getting the data correctly . But while i am interfacing both the channels with the analog input together at the same time , i am getting the data error. the value range changes automatically.
i am using the reference voltage of 3.3 voltt.
If i get adc voltage for channel 1 as 2.8 volt separately and adc voltage for channel 2 as 1.5 volt separately , while together i get adc voltage for channel 1 as 2.8volt or something and adc voltage for channel 2 as 2.2 volt.