FX2 EP4 problem | Cypress Semiconductor

FX2 EP4 problem

Summary: 1 Reply, Latest post by aasi on 19 Mar 2012 07:52 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
neonum6's picture
1 post

Hi! I'm working on a Spartan 6 board connected throught a 40-pin connector with a Cypres FX2. I have configured my endpoints in this way:

 EP2CFG = 0xA2;
 EP4CFG = 0xE2;
 EP6CFG = 0xE0;
 EP8CFG = 0x00;

I want to use EP2 to send command to FPGA and EP4 to receive a reply. The EP6 is used for other purposes related to a high-density video steaming channel.

The problem is that I can't receive packets from EP4 (libusb timeout), and the empty flag is always active. But using the same FPGA logic If I address the response on EP6 everything works fine. I have the same configuration on EP4 and EP6 (except for the buffer dimension: EP6 quad buffered, EP4 double buffered).

I have enclosed my FX2 slave.c.

Thank you,




aasi's picture
Cypress Employee
1166 posts

Please arm EP2 and see if that fixes the issues.



Log in to post new comments.