Skip to main content
ATo
Associate II
February 12, 2020
Question

Help with Dual ADC simultaneous, No DMA, ADC1 with 2 injected channels, ADC 2 with 2 injected channels

  • February 12, 2020
  • 1 reply
  • 597 views

I need to have ADC1 and ADC2 run sumultaneously. Each ADC has 2 injected channels. I want to start the ADC once and then have it constantly run converting the 4 injected channels, putting the result in the 4 associated JDR registers and raising a flag in the ADC conversion complete interrupt to tell my main program that data is available for me to read from the 4 JDR registers.

Is that possible, if so can someone kindly provide example code?

The ADC on this uC is so complicated, I can not make heads or tails of anything.

This topic has been closed for replies.

1 reply

Bowman32
ST Employee
May 5, 2020

Hello @ATo​ 

Please refer to Injected simultaneous mode in STM32H7 reference manuel RM0433 Rev 7.

Best regards

Bouraoui