cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Explorer
Explorer
8,717 Views
Registered: ‎12-06-2013

I2C interrupts are not working on Zynq

Jump to solution

Using a Microzed, Vivado 2014.3, Win 64-bit

 

Configured MIO pin 10 as I2C interrupt pin for I2C0. Anytime the interrupt is asserted the XIicPs_MasterSendPolled  (does the same thing in the Recv function) function in xiicps_master.c hangs while waiting for a completion.

 

The errata says something similar to this http://www.xilinx.com/support/answers/61665.html 

 

The errata implies that this problem only exists with a repeated start condition and only during a read operation. I am seeing problems for both xmt & rcv and I  am not doing a repeated start. Looks very much broken to me.

 

Thanks, 

 

-JK

0 Kudos
Reply
1 Solution

Accepted Solutions
Explorer
Explorer
15,257 Views
Registered: ‎12-06-2013

I put the interrupt outside of the I2C handler since the driver didn't work properly.

 

Thanks.

View solution in original post

0 Kudos
Reply
2 Replies
Xilinx Employee
Xilinx Employee
8,694 Views
Registered: ‎08-02-2007

hi,

 

would that be possible to attach the code that you are testing?

 

--hem

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Reply
Explorer
Explorer
15,258 Views
Registered: ‎12-06-2013

I put the interrupt outside of the I2C handler since the driver didn't work properly.

 

Thanks.

View solution in original post

0 Kudos
Reply