FX3 I2C device implementation

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

cross mob
lopo_1264666
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted

I would like to implement FX3 as I2C device using any GPIO pin. Any example code? 

0 Likes
1 Solution
3 Replies
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

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

0 Likes
lopo_1264666
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted

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.

0 Likes
0 Likes