2020-09-27 10:53 PM
Hi,
Below is my requirement:
how can i accomplish this? am new to microcontroller, can anyone help me with some link/ tutorial on this.
Regards,
Venkatesh
2020-09-28 05:56 AM
A tiny example using a timer driven DMA triggering DAC is this: https://m0agx.eu/2019/03/30/generating-signals-with-stm32l4-timer-dma-and-dac/
This works also in sleep mode where the MCU core is halted except for interrupt handling.
The block copy from flash could be done in the circular DMA (half-)completion handlers.
2020-09-28 09:52 AM
Hello @Vvenk.1 ,
You can get inspired from the DAC example for your board within STM32CubeL4 package and refer to the STM32L4-DAC training and
AN3126 Application note Audio and waveform generation using the DAC in STM32 products
Hope this helps you.
Imen