Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > FX2LP USB 2.0 interfaced on ARM usb 1.1 host

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



FX2LP USB 2.0 interfaced on ARM usb 1.1 host
Moderator:
RSKV

Post Reply
Follow this topic



FX2LP USB 2.0 interfaced on ARM usb 1.1 host

giginjose posted on 08 Apr 2013 7:26 AM PST
Top Contributor
36 Forum Posts

 Hi, 

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;

EZUSB_Delay(1500);

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

 




Re: FX2LP USB 2.0 interfaced on ARM usb 1.1 host

NIKL posted on 08 Apr 2013 09:22 AM PST
Cypress Employee
148 Forum 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. 






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20