MMA8452Q Linux Driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MMA8452Q Linux Driver

2,417件の閲覧回数
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 返信

2,340件の閲覧回数
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 件の賞賛