I have an issue with STM32L552 USB library. After sending an HID message once, the usb will send empty packets indefinitely (len=27, data len =0).
This is the data I recorded with WireShark. As shown in the picture, when I send HID packet once (len=91), the USB will send empty data packets indefinitely (len=27), then trying to send packets from host to device (out direction) will cause the transmission to fail.
The USB middleWere was done by the CubeMX plus modifications that needed to support 64 bytes packets for custom HID.
I can’t find a way to stop or solve it.
Need to mention that this kind of problem has never appeared when doing the same on STM32F103.
