I'm using a STM32F103 MCU and I want to sample two signals with ADC3.
I also want to sample the signals at 1kHz and to do that I think to use:
- ADC3 with 2 channels
- Trigger the ADC with a Timer running @ 1kHz
- Use the DMA to transfer the samples
With Cube32Mx, I configure the ADC3 to be triggered by TImer2 Caputre Compare 3 event.
My problem is: I don't know ho to configure the timer to generate the trigger for ADC3.
These are my settings for ADC3
These are my settings for Timer2:
Thanks for the help!