AnsweredAssumed Answered

STM32F0 playback audio using pwm and DMA

Question asked by azriel.roy on Feb 17, 2015
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 http://www.st.com/web/en/resource/technical/document/application_note/CD00259245.pdf
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


Attachments

Outcomes