MMA8452Q Linux Driver

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

MMA8452Q Linux Driver

5,068 次查看
lizboxy
Contributor I

Hi,Sir:

When we use "Linux kernel modules for MMA845xQ accelerometers" to driver MMA8452Q, but after complie and text.

But always got wrong data, pls check the pic information of log and I2C in attached for detial.

Pls advise,TKs!

标签 (1)
0 项奖励
回复
1 回复

4,991 次查看
reyes
NXP TechSupport
NXP TechSupport

Hi,

 

Seems in your scopes that your master is generating a STOP condition after you write the 0x0D register (WHO AM I register), then a START condition for the read, I’m not sure if the MMA8452 can handle this, please try to send a REPEATED START condition instead of this STOP/START condition.

 

Regards,

Jose

NXP Semiconductors

0 项奖励
回复