1 Reply Latest reply on Sep 24, 2019 2:05 AM by RajathB_01

    How to use I2C interface in cypd3125 of cy4531?

    rttt_3611331

      Hello,

           I want to use my pc to connect cypd3125. However the HPI Interface not open,and then I deleted the hpi code and try to use I2c connect directly. But I got nothing.

       

      In my PC,I use “CyI2cWrite” to send data。

      And cypd3125 in cy4531, I use callback in "i2c_scb_init" to get data.

      And I set breakpoint in i2c_command, then use cyi2cwrite to send data, but not stoped. (I call i2c_init in main function).

       

      thanks.