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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Scholar milosoftware
Scholar
3,061 Views
Registered: ‎10-26-2012

Why is the I2C hardware being ignored on the Zynq?

There are two I2C controllers implemented in hardware in the Zynq. But the current Linux kernels all configure two pins as GPIO and bitbang them to emulate an I2C bus.

 

Why is that?

0 Kudos
2 Replies
Scholar norman_wong
Scholar
3,030 Views
Registered: ‎05-28-2012

Re: Why is the I2C hardware being ignored on the Zynq?

The kernels at the Xilinx GIT appear to do not use GPIO bit bang. The default config define CONFIG_I2C_XILINX_PS=y which in turns brings in  drivers/i2c/busses/i2c-xilinx_ps.c. I vaguely remember testing this on14.1. Should work.

0 Kudos
Xilinx Employee
Xilinx Employee
3,024 Views
Registered: ‎11-12-2007

Re: Why is the I2C hardware being ignored on the Zynq?

I'm not sure which Linux kernel source you're using, but the Linux kernels on our Git tree all enable the Zynq I2C hard controllers in the default configuration.

0 Kudos