cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F0 playback audio using pwm and DMA

roy23
Associate II
Posted on February 17, 2015 at 11:08

I have successfully made it work with STM32F072 board using the dac, dma, tim6. The timer is responsible of triggering the dac and there is a double buffer mechanism when dma finish handling the current buffer. based on 

We are going to use another component from ST value line which has no dac on board.

1. will it be possible to port the code using the same approach ?

2. if the answer is yes, what are the issues we need to be aware of ? do we configure the dma struct the same ?

I am attaching the current wav_player.c file working with dac.

Thanks,

Roy

#dma-pwm-audio
0 REPLIES 0