Skip to main content
prothan
Associate II
July 23, 2015
Question

STM32Cube STM32F429 usb cdc transmit 64 byte increments fails

  • July 23, 2015
  • 0 replies
  • 385 views
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
This topic has been closed for replies.