FX3 SlaveFifoSync with I2c support

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

cross mob
FrSe_4506631
Level 1
Level 1
First like received

Hi All,

I am working on some project based on SlaveFifoSync example and we would like to use I2C for temperature monitoring. Find some examples to modify the SlaveFifoSync firmware but after burning the firmware, there is no Cypress USB device when use lsusb.

Tried to isolate changes and found out as long as I change useI2C from False to True and create new firmware, the USB device is not there.

io_cfg.useI2C    = CyTrue;

I tried to use the GPIFII  designer to turn on "I2C" support by checking it and it does not seem to changes anything in the generated header file cyfxgpif_syncsf.h.

Can anyone give some suggestions on how this should be done properly?

Thank you very much,

Frank.

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.

Hello Frank,

Please find the attached .c file with the above-said modifications and the device is enumerating as expected on my end.

Please test it on your end and let me know if you are still facing issues.

Regards,

Yashwant

View solution in original post

0 Likes
4 Replies