I'm not sure i2c_hw.c and i2csw.c

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

cross mob
Anonymous
Not applicable

 Hi sai krishna

   

I 'm not sure exactly what you mean that i2c_hw.c and i2c_sw.c. 

   

It seems like that hw is fx2lp's sda and scl. 

   

Also sw is using gpio's pin for i2c.  right?

   

So, how can i this function call in win application?

0 Likes
1 Reply
Anonymous
Not applicable

Hi dv2,

   

Right. Your understanding about the firmware is right.

   

If you want to call those functions from the PC side application then you need to send some vendor commands to FX2LP and then based on the vendor command you can initiate I2C read or write in the firmware.

   

Thanks,

   

sai krishna.

0 Likes