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?

描述

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

How do I connect two I2C controllers together in PL?

解决方案

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
日期 10/27/2017
状态 Active
Type 综合文章
器件
  • Zynq-7000
Tools
  • EDK - 14.3
IP
  • I2C
Boards & Kits
  • Zynq-7000 SoC ZC702 Evaluation Kit
的页面