cancel
Showing results for 
Search instead for 
Did you mean: 

Calling DCD_EP_Tx() multiple times

pradeepa
Associate II
Posted on September 03, 2013 at 11:23

Hi,

I've been experimenting on USB devices on STM32F4 discovery board. I have a small issue.

From the PC I send multiple messages (bulk_writes) to the USB, and I call 'dcd_ep_tx' within the Data_out function which invokes upon transfer complete interrupt on OUT packets. 

The issue is when I do this and later when I read the same endpoint, I can receive around 4~7 packets which I have previously sent to the device. I still could not find the source for this behavior. I'm using the cdc example as the foundation in this application.

Is this due to some sort of a FIFO? If so where is it implemented?

My TX1 FIFO size is 128.

I hope the question is clear. 

Thank you in advance.

#stm32f4
1 REPLY 1
pradeepa
Associate II
Posted on September 06, 2013 at 08:53

Anyone???