- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to implement FX3 as I2C device using any GPIO pin. Any example code?
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Tags:
- fx3
- I2C device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Kindly look at this thread : https://community.cypress.com/t5/USB-Superspeed-Peripherals/FX3-gpios-as-i2c-signals/m-p/153549.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
FX3 can be implemented as a master I2C device using the dedicated pins for I2C. You could have a look at the UsbI2cDmaMode and UsbI2cRegMode firmware examples given in the FX3 SDK.
You could also check the FX3 Datasheet to find which pins are used for I2C.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not looking for using FX3 as master to talk to I2C peripherals. Instead, I am looking for bit-banging I2C slave example codes using GPIO where FX3 becomes I2C slave now and I have another MPU as master to talk to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Kindly look at this thread : https://community.cypress.com/t5/USB-Superspeed-Peripherals/FX3-gpios-as-i2c-signals/m-p/153549.
Best Regards,
AliAsgar