AnsweredAssumed Answered

STM32F4 DISCO and CS43L22 DAC

Question asked by jasonas.matas on Aug 11, 2015
Latest reply on Aug 16, 2015 by jasonas.matas
Hey everybody :) The STM32F4 disco has an external audio DAC witch is still a little hard to grasp for me, I was hoping anybody of You know any good tutorials, where it would explain how to get a sampling frequency You want.

I managed to start it and added the DMA to move data from an array (32 samples of sine) in my program to the DAC. The only problem I have is I can't get the sine to be a specific frequency. I need at least 16kHz sampling frequency so the sine should be 2kHz at the audio output. What I get is 2.93kHz which is kinda random. I have 12MHz on PC7, which should be enough for the CS43L22.

Outcomes