I implemented USB HS communication (CDC class) between STMF769 Discovery board (device) and PC (host). It works as expected when I want to send less or more than 2048 bytes. But with 2048 I don't receive anything on the PC side. As said, if Len parameter to CDC_Transmit_HS(uint8_t* Buf, uint16_t Len) function is 2047 or 2049 or anything else, I receive everything. Only when Len is 2048, I don't receive anything.
Any idea? Is this a bug in CDC drivers maybe?