cancel
Showing results for 
Search instead for 
Did you mean: 

CubeF4 USB Bulk+Interrupt transfer

z1060
Associate II
Posted on April 13, 2017 at 14:09

Hello I use project CDC Virtual COM Port, which I few change. My project has 2 endpoints. Bulk - out and Interrupt - in. I use standart function: CDC_Receive_HS (uint8_t* Buf, uint32_t *Len) - for receive data and CDC_Transmit_HS(uint8_t* Buf, uint16_t Len) - for transmit data. When I 

periodically

call CDC_Transmit_HS in main program, I sometimes can't receive data from Bulk. Why ?

When I call CDC_Transmit_HS in USB SOF interrupt, I

always receive data from Bulk and It work good.

#cubef4 #interrupt #usb #bulk
0 REPLIES 0