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

665 次查看
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 回复数

587 次查看
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 项奖励
回复

654 次查看
akshaybhavsar
Contributor I

Can somebody help me?

0 项奖励
回复