STM32F446 Nucleo board USB FS some sort of frame issue
I'm stuck. I'm able to send a 440 Hz sawtooth wave to output over USB from Nucleo board (device) to my computer (host).
The only problem is, there's this repetitive clicking / choppy sound in the resulting audio when I record with Audacity. The click happens relatively regularly, like 1.3x per second.
Another issue, I'm not sure if it's related or not: When I sweep the frequency from 440Hz to 880 Hz using a potentiometer, I can audibly hear the sweep happening twice. It's like USB is caching or reusing some buffer or something. (Tried to link code and audio examples but it's restricted because I'm a new member)
Maybe there's some clock issue? I think I read somewhere that the Nucleo's built-in crystal oscillator (8MHz) may not be suitable for USB due to some out-of-sync issues with USB communication.
Really wish I could share my code and audio links, but it's restricted for me.
