Skip to main content
Patukes
Associate III
October 22, 2021
Solved

Hello Everyone, Please is it possible to trigger an adc conversion in DMA mode using external interrupt from gpio pin . I am using stm32f303re.

  • October 22, 2021
  • 2 replies
  • 1205 views

..

This topic has been closed for replies.
Best answer by Javier1

Yes it is.

0693W00000FDP6KQAX.pngIn CubeMX you can see what external triggers could the ADC have.

Im sure there is a better way to address your problem but you could trigger the ADC with a "Regular Conversion Launched by software" inside your EXTINT callback

Then you can just configure the DMA to take care of the ADC readings as they come

2 replies

Javier1
Javier1Best answer
Principal
October 22, 2021

Yes it is.

0693W00000FDP6KQAX.pngIn CubeMX you can see what external triggers could the ADC have.

Im sure there is a better way to address your problem but you could trigger the ADC with a "Regular Conversion Launched by software" inside your EXTINT callback

Then you can just configure the DMA to take care of the ADC readings as they come

hit me up in https://www.linkedin.com/in/javiermuñoz/
Patukes
PatukesAuthor
Associate III
October 22, 2021

Thank you very much @Javier Muñoz​ . I will try this out