ipbus / ipbus-firmware

Firmware that implements a reliable high-performance control link for particle physics electronics, based on the IPbus protocol
https://ipbus.web.cern.ch
Other
41 stars 32 forks source link

question on using ipbus to communicate with i2c on the ps side #175

Open kjazatlas opened 4 years ago

kjazatlas commented 4 years ago

hi, thanks for providing an ipbus project for the zcu102. i have a newbie question. we plan to have connections to i2c and gpio on the ps side of the zynq. but we want to monitor or control these lines via ipbus, which is on the pl side. in the hardware implementation of ipbus, how does one communicate with the ps side of an fpga? thanks for any insight. ..kj

tswilliams commented 4 years ago

Hi,

As long as the I2C and GPIO blocks that you mentioned can be connected to signals in the PL, those signals in the PL can be directly/indirectly connected to the IPbus bus. However, if the PS I2C and GPIO are only accessible from software on running on the PS, and cannot be directly connected to the PL using just firmware / hard blocks (or using some other config for the Zynq), then I'm not sure of the motivation for connecting them to the IPbus bus in the PL. Does that help, or have I misunderstood the question?

Cheers, Tom