UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 53318

14.3 Zynq-7000 How to connect two I2C controllers together in PL?

Description

I want to test both of the I2C controllers in my ZC702.

How do I connect two I2C controllers together in PL?

Solution

1) Set the I2C controller to EMIO pin.
 
2) Make the ports I2C0_SCL_T, I2C0_SDA_T, I2C0_SDA_T, I2C0_SCL_I, I2C0_SDA_I, I2C1_SDA_T, I2C1_SCL_I, I2C1_SDA_I external.
 
3) Connect these signals in the top HDL file as follows:
 
  • assign processing_system7_0_I2C0_SCL_I_pin = processing_system7_0_I2C1_SCL_T_pin && processing_system7_0_I2C0_SCL_T_pin;
  • assign processing_system7_0_I2C0_SDA_I_pin = processing_system7_0_I2C1_SDA_T_pin && processing_system7_0_I2C0_SDA_T_pin;
  • assign processing_system7_0_I2C1_SCL_I_pin = processing_system7_0_I2C0_SCL_T_pin && processing_system7_0_I2C1_SCL_T_pin;
  • assign processing_system7_0_I2C1_SDA_I_pin = processing_system7_0_I2C0_SDA_T_pin && processing_system7_0_I2C1_SDA_T_pin;
AR# 53318
Date Created 12/04/2012
Last Updated 03/12/2015
Status Active
Type General Article
Devices
  • Zynq-7000
Tools
  • EDK - 14.3
IP
  • I2C
Boards & Kits
  • Zynq-7000 All Programmable SoC ZC702 Evaluation Kit