cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube STM32F429 usb cdc transmit 64 byte increments fails

prothan
Associate II
Posted on July 23, 2015 at 15:12

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?

#stm32f429 #stm32cube
0 REPLIES 0