LPI2C problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,352件の閲覧回数
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,082件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee
0 件の賞賛
返信
2 返答(返信)
2,083件の閲覧回数
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,078件の閲覧回数
leleng666
Contributor I

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

leleng666_0-1599094940194.png

 

0 件の賞賛
返信