Hello seniors, I am using PC audio software to send audio data to MCU through USB, MCU automatically carries audio data to I2S through DMA, the data enters the ADAU1761 through I2S, and outputs through DAC, but the problem now is that the data waveform is incorrect after the audio data is transmitted to the ADAU1761 through USB. A few days ago, I have been testing DMA to transfer I2S data, and confirmed that DMA is no problem to transfer I2S data, but now the possible problem is that the format of USB transfer data does not match the format of DMA transmission.
My I2S configuration is 12.288mhz for MCLK, 48khz for LRCK, 3.072mhz for BCLK, left-aligned, frame length 64 bits, 24 bits of valid data, and the remaining 8 bits of 0 padding, DMA transmission is 32-bit transmission, USB partial configuration is 24-bit depth, 48khz sample rate.
Please give me your advice.
Thank you.
Attach my code at the end