You are here

FX2LP USB 2.0 interfaced on ARM usb 1.1 host | Cypress Semiconductor

FX2LP USB 2.0 interfaced on ARM usb 1.1 host

Summary: 1 Reply, Latest post by NIKL on 08 Apr 2013 11:22 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
giginjose's picture
36 posts


I am working on Cy7C680-13A Cypress USB 2.0 deivce controller. The device controller is interfaced with cmos image scanner, which gives images with resolution 320x240, with approx. 4-5 frames per second. This entire system (Cypress controller + cmos image scanner) is to be connected to 32 bit ARM9 based controller, with USB1.1 host and running linux operating system.The system works in asynchronous mode, with the signals interfaced as mentioned below:

CMOS camera PCLK interfaced with SLWR

CMOS camera HSYNC interfaced with SLCS#

CMOS camera VSYNC interfaced to PA08bit

CMOS data lines interfaced with  FD0-FD8

I use a windows based PC, with USB 2.0 high speed for the initial development, and the deployment is to be done on USB1.1 ARM system. Hence the following code is added in Cypress device firmware to enumerate the Cypress device as USB 1.1:

USBCS |= 0x08;


CT1 |= 0x02;EZUSB_Delay(1500);

USBCS &=0xF7;     

 With the above code segment added in TD_Init(), the Cypress USB device controller shows 64byte length in bulk endpoint, even when connected to USB 2.0 high speed, which means that Cypress controller is now enumerateda as a USB1.1 device.Now coming to the image display part from the cmos image sensor, I get a clean image when the controller, enumerated as USB 1.1 , is interfaced on the PC, but the image gets distorted when the same setup is interfaced with ARM device.On the PC, the image of size 75K is read every 300 ms and when in comes to ARM, it takes 320ms to read one frame. Is the time difference causing the distortion ?Is there any standard code for testing the throughput of Cypress controller when interfaced with any host. ? 

Regarding the USB lines (DN, DP) connections, there are no termination resistors, or pull ups added as per the USB 1.1 specification. Does the Cyrpess controller require these termination resistors for impedence matching ? Are these factors serious enough to cause major data integrity issues. ? 


Thank You


NIKL's picture
Cypress Employee
283 posts

 Is there any standard code for testing the throughput of Cypress controller when interfaced with any host. ? 

There is streamer application to check the throughput on Windows OS. (PLS refer AN61345). You can use Slavefifo example provided along with the app note and use streamer application provided along with the FX2LP DVK installation to measure throughput. You will have take care about configuring the IFCLK as your setup requires.

Termination resistors?

Yes. They are required for impedence matching, so as to reduce wave reflections. I am not sure if that could serious issues at USB1.1 speeds. But they are recommended. 

Log in to post new comments.