How to get data from Stm32 USB audio device and send to DAC?

1.6k views Asked by At

I am using a STM32F103RCT6 board with STM32CubeIDE. I enabled the USB Audio device and the code is working and windows recognized the board as an audio device or speaker.

I have searched and read documents but I have no idea what it is doing in the code. The code is only MX_USB_DEVICE_Init();

1- Is it now receiving data from PC and saving them somewhere in RAM in a buffer?

2- How I can get access to the data and send them to DAC?

I am not going to use I2C and a codec because I don't have a codec IC. So I just want to use DAC to generate the audio to send to speakers.

Thanks!

0

There are 0 answers