LPI2C problem

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

LPI2C problem

Jump to solution
1,336 Views
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 Kudos
1 Solution
1,066 Views
fabio_estevam
NXP Employee
NXP Employee
0 Kudos
2 Replies
1,067 Views
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 Kudos
1,062 Views
leleng666
Contributor I

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

leleng666_0-1599094940194.png

 

0 Kudos