AnsweredAssumed Answered

MMA8451Q: I2C PROBLEM: Reading communication with mma8451Q Accelerometer and msp430

Question asked by William Johnson on Aug 15, 2018
Latest reply on Aug 16, 2018 by Tomas Vaverka

Hi all,


I implemented an accelerometer MMA8451Q with a MSP430F5419.

I'm trying to read the accelerometer register via I2c which is its communication protocol but it is not reading the correct value.

reading a pre-establish register for example device id the lecture are wrong, ¿some ideas to fix this issue?


I check SDA and SCL with oscilloscope the signals are correct. interrupts are enabled.

And ports configuration are like this.

Anyone can help to solve

Writing a register i see the correct bytes send to accelerometer and ack as well.

To read register the bytes send by msp are correct but the bytes received by the msp are wrong.

i hope this clarify the issue.


Thanks in advance