04-11-2019 05:52 PM
By Vivado2015.4 and 2017.4 (Zynq 7020), I enable PS7's I2C_0 as EMIO settings.
In SDK, If I import iicps's example of "xiicps_polled_master_example" and it will work properly and I also could measure the I2C's pins signal by external Oscilloscope device. (PS. I2C scl/sda with external pull high resistor 47K)
After that, If I import the example of "xiicps_polled_slave_example", the function of "XIicPs_SlaveSendPolled" in this example does not work properly and I also could not measure any signal from Oscilloscope device? Why?
Or any specific FPGA design for enable properly for the PSI2C as slave mode?
(Of course, the function of XIicPs_SlaveRecvPolled also could not work prperly for receiving from external master i2c. )
Hope for receiving reply soon. Thank you.