cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

veRN_2322216
New Contributor II

Hello,

   

                We are using the control center for biding the streamer and the Fx3 board which is also provided by the cypress .And it is working 

   

when we will select the bulk _in_End_points But when we will Select the bulk_out_end_points the data is transferring only 2 times . if we wanted to transfer third time and so on ....    transfer failed 997 error   is coming .can any one help me to modify the control center so i can transfer data to fx3 using bulk out end points  n times from  Cy Control center to fx3.

0 Likes
3 Replies
KandlaguntaR_36
Moderator
Moderator

What is the firmware that you are using here?

   

Is it any example firmware or custom firmware? If it is example, what is the project?

   

How much data you are sending over Bulk Out Ep? 

0 Likes
veRN_2322216
New Contributor II

Hi Srdr,

   

Thank you for your time and response .

   

We are using slaveFIFO firmware.

   

It is example firmware project that is, slavefifo .

   

We are send 11 bytes of data at a time.

   

Thanks and Best Regards

   

Veerendra

0 Likes
Anonymous
Not applicable

Hi Veerendra,

In the SlaveFifo example project, only two DMA buffers are allocated for USB_OUT-> PIB_SOCKET_3.

When DMA_CB_PROD_EVENT is generated; In the CyFxSlFifoUtoPDmaCallback() function, the DMA buffer is committed to the consumer PIB socket. Unless the two DMA buffers are read and emptied by the FPGA, you cannot write any more data. Please make sure you are asserting SLRD# and reading the data from FX3.

0 Likes