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

USB superspeed peripherals Forum Discussions

MJ
Level 1
5 sign-ins First reply posted First question asked
Level 1

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 50 likes received 500 replies posted 250 replies posted
Moderator

Hello,

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

Best Regards,
AliAsgar

0 Likes