Hi Guys,
I want to use the PS I2C_0 to communicate through the PMOD interface. I selected the PMOD JE1. Pins JE9 and JE10 are connected to MIO14 and MIO15, so I created a design where I2C_0 is mapped to MIO14/15. I exported the design to SDK, created a BSP, and I am able to run software and see UART output.
However, when I try to use the PS I2C driver (interrupt or polled), it will cancel (interrupt) or stall forever (polled).
External pull-up is provided on both lines. The MIO14/15 IO config registers read
MIO 14: 0x00000640
MIO 15: 0x00000640
which looks okay to me.
When searching for a solution I found a chinese guy complaining about the very same problem (no solution):
http://group.chinaaet.com/109/61386
Any ideas?
Thanks in advance!