EZ-USB® FX2LP CY7C68013A - Firmware with I2C and GPIF interface

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
r_shivakumar
Level 1
Level 1
5 replies posted 5 questions asked 10 sign-ins

Hi,

I would like to know if there is a standard firmware with both I2C , GPIF interface and configuration utility available for EZ-USB® FX2LP CY7C68013A  controller.

We have used USB-Serial Bridge CY7C65215A controller. It is much simpler to develop application with CY7C65215A by just configuring settings with the help of USB-Serial Configuration Utility.

I would like to know if we can have similar functionality available with EZ-USB® FX2LP CY7C68013A  chip. 

0 Likes
1 Solution
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

There are I2C pins in FX2LP. Kindly refer to FX2LP datasheet: https://www.cypress.com/file/138911/download 

To understand about initializing I2C transfers, please refer to section 13.5 in the EZ USB TRM: https://www.cypress.com/documentation/technical-reference-manuals/ez-usbr-technical-reference-manual 

To perform I2C read, EZUSB.Lib can be used. Kindly refer to i2c_rw.c file in the following path after installing FX2LP DVK: C:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Target\Lib\LP

There is no configuration utility for FX2LP unlike USB Serial. You will have to develop the firmware as per your requirement.

Regards,

Mallika

View solution in original post

0 Likes
6 Replies
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

There are I2C pins in FX2LP. Kindly refer to FX2LP datasheet: https://www.cypress.com/file/138911/download 

To understand about initializing I2C transfers, please refer to section 13.5 in the EZ USB TRM: https://www.cypress.com/documentation/technical-reference-manuals/ez-usbr-technical-reference-manual 

To perform I2C read, EZUSB.Lib can be used. Kindly refer to i2c_rw.c file in the following path after installing FX2LP DVK: C:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Target\Lib\LP

There is no configuration utility for FX2LP unlike USB Serial. You will have to develop the firmware as per your requirement.

Regards,

Mallika

0 Likes
r_shivakumar
Level 1
Level 1
5 replies posted 5 questions asked 10 sign-ins

Hi Mallika,

Thanks for the quick response.

Is there any reference firmware with both GPIF and I2C interface implemented.

Thanks,
Shivakumar

 

0 Likes
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi Shivakumar,

You can start with this code example: https://www.cypress.com/documentation/application-notes/an66806-getting-started-ez-usb-fx2lp-gpif 

It includes gpif.c file that contains the gpif waveform descriptors and EzUSB.Lib which contains functions that handle I2C operations. You would then have to include the i2c files in the project.

Regards,

Mallika

0 Likes
r_shivakumar
Level 1
Level 1
5 replies posted 5 questions asked 10 sign-ins

Hi Mallika,

Thanks for the update.

Where can i find firmware of USB-Serial Bridge CY7C65215A controller. I am more interested in knowing how the I2C communication is implemented in CY7C65215A firmware.

Knowing this will help me to include similar I2C communication support in USB® FX2LP CY7C68013A  firmware.

Thanks,
Shivakumar

0 Likes
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi Shivakumar,

USB-Serial devices are fixed firmware devices and their firmware is not open/available.

Regards,

Mallika

0 Likes
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

Please see if this I2C example suffice your requirements. It can be found at the following path after downloading USB Serial SDK: C:\Program Files (x86)\Cypress\USB-Serial SDK\examples\usbserialexample

 

0 Likes