MMA8452Q, does not work with arduino Zero

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

MMA8452Q, does not work with arduino Zero

1,053件の閲覧回数
andrespinzon
Contributor I

Hy
I have a MMA8452Q sensor, I can configure with an Arduino UNO but when I try to control with arduino Zero does not work, I'm using the library Wire.h. When I ask arduino UNO with the register (WHO AM I)  respond as address 0x2A me, but when I ask register with the arduino Zero's feedback, this is 0x00.
What I can do to control the sensor with arduino Zero?

Thanks any help

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

906件の閲覧回数
anthonyduhamel
NXP Employee
NXP Employee

Hello Andres,

We can't really help you with your arduino boards. It looks to be a Mcu issue,probably with the wire.h (=I²C) library which may not work in the same way on the arduino zero.  I suggest to check the I²C frames with a logic analyser to compare the differences between the two devices.

Anthony

0 件の賞賛
返信