LPI2C problem

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

LPI2C problem

跳至解决方案
2,432 次查看
prashanthchary
Contributor II

Hi....

I have written LPI2C Driver . when I try to send start and address byte to Slave by writng ( 0b100 (command) and slave address (0xA0))  into MTDR Register ....the following 2 Error bits setting in MSR Register.

1. STOP Detect Flag
2. End Packet Flag

Can you please give me the solution for this problem and what are the possible reasons to get like this kind of Errors.

NXP can you please provide LPI2C Example code asap......

0 项奖励
回复
1 解答
2,162 次查看
fabio_estevam
NXP Employee
NXP Employee
0 项奖励
回复
2 回复数
2,163 次查看
fabio_estevam
NXP Employee
NXP Employee

The lpi2c driver is available at the imx_4.1.33_7ulp_beta branch:

http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/drivers/i2c/busses/i2c-imx-lpi2c.c?h=im... 

0 项奖励
回复
2,158 次查看
leleng666
Contributor I

你好,我打不开这个网站,可以重新发一次吗?

leleng666_0-1599094940194.png

 

0 项奖励
回复