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.
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?
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.
Is there any application document for use this firmware ?
I can't handle this firmware how to use?
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.