BlackPill. STM32F401CCU6 Development Board.
Here we use Timer2 EVENT TRIGGER output to trigger the ADC start conversion at a regular interval.
Now ADC conversion rate is 9 Kilo Sample per second. Check the Timer settings below. We alwyas have
more options to increase conversion rate. From the document HERE we can calculate maximum audio frequency
from the conversion rate.
STM32 TIMERS #1. PWM Output || DMA and
STM32CubeIDE basics - 05 TIM PWM HAL lab
As referenced from Reference :
Set up multiple ADCs on STM32 microcontrollers using DMA At Time 1:53
it shows multiple ADC input setup in Cube IDE.
- Set Number of Conversion = 2 Press Enter
- Scan Conversion Mode = Enabled
- DMA Settings should be configured as DMA setup AT 3:48
Set up multiple ADCs on STM32 microcontrollers using DMA
STM32CubeIDE basics - 10 ADC DMA TIM HAL lab
create audio signals with PWM STM32F103C8
STM32 TIMERS #1. PWM Output || DMA
EmbeddedExpertIO