STM32H7 ADC + DMA working partially
Hello,
I am using the ADC1 + DMA to sample 10 analog channels on the CM4 without any MPU config. When I remove any external trigger e.g. 3.3V power source on the analog channel, and I start sampling all 10 channels via the DMA , all values inside the buffer contain few digits like 23. I assume this is noise which is neglectable.
When I start to put the 3V3 power supply trigger selectivly from one ADC channel to another channel I see that the values of the buffer gets individually updated till channel 5 out of 10.
Here comes the strange observation I want to share with you:
When I put the 3V3 power supply on the 6th channel, I see that the buffer value for this channel gets updated accordingly, but also the value in the buffer for channel 7 gets the same value. Its like a mirroring image.
How does this happen ? Same channel registered several time, in the sequencer ?
When I put the 3V3 power supply on channel 7, the value is updated accordingly in the buffer, but also channel 8 in the buffer gets like the half of the value. If I sample 4095 on channel 7, channel 8 contains approx 2200. How can this happen?
When I place the 3V3 power supply on channel 10, nothing happens at all. What does that mean. I didn't register the channel properly ?
Is there more I need to take into account? I mean the ADC has some fast, slow and direct connections internally. Acutally, everything should be fine, when I select the ADC channel as single-ended and I use only ADC_INP pins.