FX3 I2C write doesn't work

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

cross mob
MJ
Level 3
Level 3
25 sign-ins 10 replies posted 5 questions asked

Hi, I'm making code to test i2c write operation.

FX3 is sending out data to external FPGA through i2c and if FPGA receive data, turn on the led connecting FPGA.

But when I check the i2c signal on the signal analyzer program,

the i2c scl clock is stopped after sending the device address.

MJ_0-1624412081172.png

The device address of FPGA is 0x70.

And this is my i2c write code.

MJ_1-1624412522515.png

If you know what's the problem, please let me know.

Thank you.

 

0 Likes
1 Reply
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hello,

Could you share with us the return status of CyU3PI2cTransmitBytes(..) and CyU3PI2cWaitForAck(..) API?

Best Regards,
AliAsgar

0 Likes