Programming the P1010 / P1014 I2C controller

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Programming the P1010 / P1014 I2C controller

Jump to solution
1,845 Views
ljp93105
Contributor I

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.)

0 Kudos
Reply
1 Solution
1,480 Views
timurtabi
Contributor III

In U-boot: drivers/i2c/fsl_i2c.c

View solution in original post

0 Kudos
Reply
2 Replies
1,481 Views
timurtabi
Contributor III

In U-boot: drivers/i2c/fsl_i2c.c

0 Kudos
Reply
1,480 Views
ljp93105
Contributor I

Thank you so much ... I trudged through 7 of the drivers that were for other architectures, but don't know how I missed this one.

0 Kudos
Reply