MMA8452Q Sleep, I2C and ODR

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MMA8452Q Sleep, I2C and ODR

跳至解决方案
1,126 次查看
johnmunroe
Contributor I

Hi

I'm hoping to simply fire a signal on an interrupt pin when motion/transient is detected. Would it be a good idea to put the device to sleep mode but set the sleep mode ODR to a reasonably high rate? When the device is in sleep mode, is I2C completely switched off such that no draining occurs?

Thanks

标签 (1)
0 项奖励
回复
1 解答
833 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi John,

The advantage of the sleep mode is that the part can automatically switch to a lower ODR and another mode (usually Low Power) when inactivity is detected. The lowest current consumption is achieved when (S)MODS = 0b11 (Low Power mode) and when the sample rate is set to 1.56 Hz. Once activity (e.g. motion/transient) is detected, the accelerometer automatically switches back to the original data rate of the application and provides an activity interrupt that can be used to wake up the host processor. In the sleep mode both analog and digital blocks are still enabled.

Regards,

Tomas

PS: If my answer helps to solve your question, please mark it as "Correct". Thank you.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
834 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi John,

The advantage of the sleep mode is that the part can automatically switch to a lower ODR and another mode (usually Low Power) when inactivity is detected. The lowest current consumption is achieved when (S)MODS = 0b11 (Low Power mode) and when the sample rate is set to 1.56 Hz. Once activity (e.g. motion/transient) is detected, the accelerometer automatically switches back to the original data rate of the application and provides an activity interrupt that can be used to wake up the host processor. In the sleep mode both analog and digital blocks are still enabled.

Regards,

Tomas

PS: If my answer helps to solve your question, please mark it as "Correct". Thank you.

0 项奖励
回复
833 次查看
johnmunroe
Contributor I

Is there a way to switch off I2C (to reduce power consumption) during ACTIVE (whether wake or sleep)?

Thanks

0 项奖励
回复
833 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi John,

No, there is not.

Regards,

Tomas

0 项奖励
回复