MMA8452QR1 - Data written to FF_MT_CFG(0x15) register and data read back from same is different

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MMA8452QR1 - Data written to FF_MT_CFG(0x15) register and data read back from same is different

609 Views
akshaybhavsar
Contributor I

Hi,

In My application I am using MMA8452QR1 accelerometer.

I am able to write and read all register except  FF_MT_CFG(0x15).

Can somebody tell me what might have been wrong?

I have attached screen shot and live watches also, We are writing C8 but getting 0(Sometimes getting different values).

We dont know whether these bits ELE OAE ZEFE YEFE XEFE are getting set or not.

Is this register (FF_MT_CFG) write protected/How to access it.

Screenshot (3).png

0 Kudos
Reply
2 Replies

531 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Akshay,

First off, I apologize for not answering earlier, there was an issue with our tracker tool and this thread remained unnoticed.

Anyway, there is no reason for not being able to write/read the FF_MT_CFG while other registers are accessible.

You just have to make sure the MMA8452Q is in Standby mode while writing to this register.

If you have a logic analyzer or an oscilloscope, please send me a snapshot illustrating what is going on the bus while writing to this register and any other configuration register such as TRANSIENT_CFG (0x1D).

Best regards,

Tomas

0 Kudos
Reply

598 Views
akshaybhavsar
Contributor I

Can somebody help me?

0 Kudos
Reply