Question
HAL CDC Extra byte in CDC_Receive_FS buffer
Posted on August 07, 2017 at 20:40
I have created a simple project in cubemx, with usb fs device (CDC).
But i see an strange behavior: The buffer of CDC_Receive_FS contains (bytes sent from PC + 1 extra byte)
On example, when sending 0x32 0x33 in buffer i got 0x32 0x33 0xee
0x32 0x34 -> 0x32 0x34 0xaf
0x32 0x35 -> 0x32 0x35 0x6e
etc..
Why can this happen?
