Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > FX2LP in manual mode

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



FX2LP in manual mode
Moderator:
RSKV

Post Reply
Follow this topic



FX2LP in manual mode

giginjose posted on 09 Oct 2012 1:22 AM PST
Top Contributor
36 Forum Posts

 Hi, 

I work on Cy7C68013A FX2LP usb 2.0 HS controller. 

I need to interface a cmos image sensor to the controller. The PCLK (pixel clock ) of the image sensor is interfaced to the IFCLK of the controller. The cmos image sensor emits data at every PCLK. The PCLK runs at around 40ns. I need to interface the PCLK with the IFCLK , so that I can collect the data at every 40ns to the controller. 

This scenario can be implemented in synchronous auto mode. But I need to do some modifications on the data I receive. So, I would prefer to do this in manual mode. 

Is it possible for the controller to read data in every 40ns. I would be reading the data and filling the buffer in TD_Poll(). 

The cmos image sensor continuously emits data at every 40ns irrespective of the controller processing. If the controller fails to grab data in every 40 ns, the data gets corrupted. 

Please help me know if the time period 40ns is too small for the controller to grab data in subsequent TD_Poll() calls. 

 

Thank You

 




Re: FX2LP in manual mode

RSKV posted on 09 Oct 2012 09:34 AM PST
Cypress Employee
851 Forum Posts

From the first look, it looks like there will be some data loss.

You are sending the data to FX2LP at the rate of 25MBps. I think you might be using the Bulk transfers to send that data to PC. As you know the bulk transfers are bursty in nature, FX2LP don't get any IN token from the PC at regular intervals. So you will loose data because of the nature of bulk. More than that, you want to do some modification to the data. I am not sure on what all modifications you will be doing. So it looks like there will be some data loss.

Also, I would like to hear the comments from the other customers who have tried the similar design with FX2LP.

Thanks,

sai krishna.

 



Re: FX2LP in manual mode

RSKV posted on 11 Oct 2012 04:55 AM PST
Cypress Employee
851 Forum Posts

You may want to look at FX3 for your application.

For more details, please refer to the following page:

http://www.cypress.com/?id=3526

Thanks,

sai  krishna.






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