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):

This would make a great addition to the OSHW firmware!

1 Like

Interesting, there is a guy looking for that:

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