Zedboard I2C (How to use both I2C0 and I2C1 of PS)
Hi I'm working on a design where I have 2 different I2C devices and figured I aught to make use of both the built in bus drivers as opposed to making use of the programmable logic. I started off working from the example for a single device and adapted it to actually control my device. After getting that working I went back in and adjusted the hardware so the second I2C is exposted and hooked that up to the HDMI drivers SDA and SCL pins.
Simply doing this broke my existing functioning code, so there's obviously some connection between the two ports there that I'm not aware of. It hangs while waiting for the interrupt to return. Hoping someone can direct me towards an example that makes use of both of the I2C bus drivers or explain to me why my existing code breaks when the second bus is enabled.
I'm pretty new to this as a whole so hopefully, someone can give me a reasonable explanation (I tried on the Newark forum and didn't get a single response)