Non-blocking signal generator for Cerb-family using DMA and DAC

I discovered a document from ST describing how to implement signal generation and .wav playing via the DAC in the STM32 series (Cerb*). There’s even sample code for the signal generation. The best part is that the signal generator is non-blocking, so your code can go on its merry way while the signal is output.

The document is here:

The sample code is here (in the DAC_SignalsGeneration project):
http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm32f0discovery_fw.zip

This would make a great addition to the OSHW firmware!

1 Like

Interesting, there is a guy looking for that:

http://www.tinyclr.com/forum/topic?id=10776&page=1

Should be simple enough to add via RLP, I would guess, but built into the firmware would be even better!