Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Not applicable

Hi all,


I have the following doubts regarding xfer data and buffers.




1. I am sending Xfer data from the pc and I have set buffer count to 6. If i send 1 xfer command,how many buffers do i get(will I get the 6 buffers or only 1 buffer). 


2.What is the minimum time between xfer commands.


3. Maximum How many buffers can I use 


4.What happens If i send xfer data command too fast and buffer is not available 







1 Reply
Not applicable

Hi Arun,


1) I assume that here by buffer count, you mean the DMA Buffer count in FX3. Assume that the size of each buffer in FX3 is 1 KB. You tatally have 1KB * 6 = 6 KB of buffer space.


The number of bytes you transfer in XferData will give the number of buffers you fill. Assume if you send 5000 bytes, you will get 5 Buffers filled (4 full buffers and one  buffer partially filled but wrapped)


2)  This has not been characterized, But you can call Xferdata continuously in yous host application, without any delay inbetween. It would support the USB datarate.


3) The size of the DMA in FX3 really matters. You need to make sure that DMA Buffer Size * DMA Buffer Count is less than around 250 KB. For exact details, please refer the TRM.


4) Xferdata returns false and the transfer is Nacked.




-Madhu Sudhan