05-04-2014 06:25 PM
I have some troubles about xilinx zynq-7000 with i2c drivers.
I have no idea about how to use the i2c-candence.c file.
when I view http://www.wiki.xilinx.com/Linux+I2C+Driver, I have readed the turorial(UG585-zynq7000-TRM) spec ,it said that when I use i2c device I also need configure some registers,but the example have no these steps,so I confused.
BTW,if I want set i2c working on a slave mode ,what I must do ?
I need your help~~~Could some one tell me how can I do it?
05-04-2014 07:01 PM - edited 05-04-2014 07:03 PM
Please refer to page 595 of http://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf which talks about slave mode .
Refer to Programmer’s Guide @ 599 for configuration details.
05-05-2014 06:57 PM