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

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

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

667件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

589件の閲覧回数
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 件の賞賛
返信

656件の閲覧回数
akshaybhavsar
Contributor I

Can somebody help me?

0 件の賞賛
返信