Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

Anonymous
Not applicable

 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 ?

0 Likes
7 Replies
Anonymous
Not applicable

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.

0 Likes
Anonymous
Not applicable
0 Likes
Anonymous
Not applicable

 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?

0 Likes
Anonymous
Not applicable

 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. 

0 Likes
Anonymous
Not applicable

Is there any application document for use this firmware ?

   

I can't handle this firmware how to use?

0 Likes
Anonymous
Not applicable

Please give to me  slavefifo_i2c.zip application document.

   

I can't handle this firmware.

   

 

   

Please.

0 Likes
Anonymous
Not applicable

 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

0 Likes