AnsweredAssumed Answered

Programming the P1010 / P1014 I2C controller

Question asked by Lars Poulsen on Oct 25, 2012
Latest reply on Oct 25, 2012 by Lars Poulsen

Has anyone successfully written a driver for the P1010/P1014 I2C controller?

I am having problems figuring out how to perform the write-reselect-read sequence. Specifically, I do not get an interrupt in response to the reselect command. The write part of the sequence runs fine.


Hoping to find a working example, I was looking through the U-boot sources, but I see no mention of I2C at all.


Any help or any pointers to relevant documentation or code samples is welcome. (I have of course been staring hard at the relevant sections of P1010RM and P1014RM.)