Programming the P1010 / P1014 I2C controller

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Programming the P1010 / P1014 I2C controller

跳至解决方案
2,441 次查看
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.)

标记 (5)
0 项奖励
回复
1 解答
2,076 次查看
timurtabi
Contributor III

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,077 次查看
timurtabi
Contributor III

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

0 项奖励
回复
2,076 次查看
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 项奖励
回复