AnsweredAssumed Answered

STM32Cube STM32F429 usb cdc transmit 64 byte increments fails

Question asked by prothan on Jul 23, 2015
Hello,

I am trying to transmit 64 byte increments from STM32F429 discovery board to my Win 7 pc via usb cdc hs in fs with STM32CUBE STM32F4 1.7 firmware, but I cannot get it to transmit. Transmitting 63 bytes or 65 bytes it works. 

USBD_CDC_SetTxBuffer(&hUsbDeviceHS, Buf,64);
USBD_CDC_TransmitPacket(&hUsbDeviceHS);

Does someone have an example of how to transmit 64 bytes at a time?

Outcomes