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
 
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

we dont need to firmware by ourselves, lets talk

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

we dont need to firmware by ourselves, lets talk
Patukes
Associate III

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