USB audio overwrites received data
I want to build a simple USB audio interface using STM32L432 Nucleo board. The device is detected by the computer but the sound is not played correctly. Even if nothing is played, the whole buffer is filled with 0x00 except two bytes. This is repeated for every received USB package. This leads in a 1kHz tone. Data sent through USB are all 0, so I think the USB driver must overwrite some of the receiving buffer.
Heap and stack size is already set to 0x1000 and the HSI48 is used as clock source for the USB.
Thanks for any hints.
