Question
STM32L0 USB slow after second cable replug
Posted on June 10, 2016 at 12:43
I have a curious problem on my STM32L151. I have the USB running in double buffering mode, and I can get a transfer rate of ~10MBit/sec. But after I unplug the USB cable, and plug it back, the transfer rate drops to ~6MBit/sec. After any subsequenct cable unplug/plug the speed remains at 6MBit. Only the first usb connection results in faster transfer rate.
This is happening 100% of the time. Does anybody has an idea what can go wrong?