Page 1 of 1

STM32H7 ADCv4 configuration

Posted: Sat Jun 13, 2020 4:48 pm
by mikeprotts
I've been trying to port my code from F4/F7 (ADCv2) to H7 (ADCv4), and the ADC configuration has changed a lot.

The one that's puzzling me is why there isn't an ADCD2. From the docs, I thought I should be able to run the three STM32H7 ADCs independently, as with the STM32F7. Have I misunderstood the STM documentation?

Mike

Re: STM32H7 ADCv4 configuration

Posted: Sat Jun 13, 2020 5:24 pm
by Giovanni
Hi,

ADC2 is only supported as slave ADC in dual ADC mode. ADC1 and ADC2 share things like clock enable bits, IRQs etc, it seems to be meant that way.

I have not tried to untangle the two of them.

Giovanni

Re: STM32H7 ADCv4 configuration

Posted: Sat Jun 13, 2020 8:00 pm
by mikeprotts
That makes sense, I'll just configure that way.

Mike