Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Can fx2lp i2c(iic) working in slave fifo mode?

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



Can fx2lp i2c(iic) working in slave fifo mode?
Moderator:
RSKV

Post Reply
Follow this topic



Can fx2lp i2c(iic) working in slave fifo mode?

dv2 posted on 09 Dec 2012 5:34 PM PST
Top Contributor
113 Forum Posts

 Hi 

I have fx2lp 56pins, and i willing to i2c working in slave fifo. 

Is this can possible? i have to make data width 8bit in this chip. 

If it's can do it, could you please let me know example source code like bulkloop or slavefifo ?




Re: Can fx2lp i2c(iic) working in slave fifo mode?

RSKV posted on 09 Dec 2012 09:27 PM PST
Cypress Employee
851 Forum Posts

Hi dv2,

Yes. You can use I2C when you configure FX2LP in slave FIFO mode.

Please find the attached example project which uses I2C and works in slave FIFO mode. EP2 is configured as IN endpoint and it uses interrupt transfers.

Thanks,

sai krishna.



Re: Can fx2lp i2c(iic) working in slave fifo mode?

RSKV posted on 09 Dec 2012 09:28 PM PST
Cypress Employee
851 Forum Posts


Re: Can fx2lp i2c(iic) working in slave fifo mode?

dv2 posted on 10 Dec 2012 11:43 PM PST
Top Contributor
113 Forum Posts

 Hi  sai krishna

Thanks a lot for reply. 

If you have any window application program used your  i2c example source code, please let me know. 

Also i have question about your attached file

It seems to hevy fw source code, how can i make simple?



Re: Can fx2lp i2c(iic) working in slave fifo mode?

dv2 posted on 10 Dec 2012 12:01 AM PST
Top Contributor
113 Forum Posts

 Addingly above post,

I willing to use simple slave fifo example. So is there any example code with i2c?

Also windows application source code  need too. 



Re: Can fx2lp i2c(iic) working in slave fifo mode?

dv2 posted on 30 Dec 2012 06:14 AM PST
Top Contributor
113 Forum Posts

Is there any application document for use this firmware ?

I can't handle this firmware how to use?

 



Re: Can fx2lp i2c(iic) working in slave fifo mode?

dv2 posted on 30 Dec 2012 06:15 AM PST
Top Contributor
113 Forum Posts

 

Please give to me  slavefifo_i2c.zip application document.

I can't handle this firmware.

 

Please.



Re: Can fx2lp i2c(iic) working in slave fifo mode?

NIKL posted on 14 Mar 2013 09:31 PM PST
Cypress Employee
148 Forum Posts

 dv2,

The project Sai gave you is FX2LP firmware for TV dongle application. FX2LP is used in slave FIFO mode, and also used to configure demodulator and tuner over I2C lines. So basically in that firmware you can see that the I2C read/write functions are defined ( in files I2C_hw.c & I2C_sw.c) and used in usbtv.c.

AN58069 gives a faint idea of the setup of TV dongle and the communication over I2C lines.

TV dongle reference design can be found at following link: http://www.cypress.com/?rID=37775

This should give you an idea of setup and then if you look into that firmware you will understand which function to use for I2C communication.

 

Thanks

Nikhil






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