AnsweredAssumed Answered

CDC_Transmit_HS does not work when sending exactly 2048 bytes

Question asked by obid.matic on Dec 6, 2016
Latest reply on Sep 14, 2017 by masoud shahrabi



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?