cancel
Showing results for 
Search instead for 
Did you mean: 

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

Patukes
Associate III
 
This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
Javier1
Principal

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%C3%B1oz/

View solution in original post

2 REPLIES 2
Javier1
Principal

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%C3%B1oz/
Patukes
Associate III

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