I have a zynq board and trying to read and write to a chip through I2C.
For some reasons I should not use AXI for I2C. The project is standalone and I should use PS of the zynq. I don't need to use interrupt.
Is there any sample code or tutorial for me?
I2C is just a synchronous serial interface. Thus a couple of shift registers, counters, simple state machine will do the job.
I'm sure there are many, many solutions available in the internet.
You say you don't want to use AXI, so you need to decide what alternative you want to use.
@aminpix
You do not have a wide variety of choice.
The ARM can connect to the available I2C peripheral through the central interconnect. And through the MIO interface your external chip can communicate with the I2C. If you look at the the Zynq architecture there isn't anything more simpler I guess.
@aminpix
You do not have a wide variety of choice.
The ARM can connect to the available I2C peripheral through the central interconnect. And through the MIO interface your external chip can communicate with the I2C. If you look at the the Zynq architecture there isn't anything more simpler I guess.