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!
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