MMA8452Q, does not work with arduino Zero

cancel
Showing results for 
Search instead for 
Did you mean: 

MMA8452Q, does not work with arduino Zero

246 Views
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

Labels (1)
Tags (1)
0 Kudos
1 Reply

99 Views
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 Kudos