MPL3115A2 register INT_SOURCE

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

MPL3115A2 register INT_SOURCE

858 次查看
dkh
NXP Employee
NXP Employee

I’m trying to understand a little about the MPL3115A2 pressure sensor we are using.

 

Section 13.11, INT_SOURCE (0x12), second paragraph: “The setting of the bits is rising edge sensitive, the bit is set by a low to high state change and reset by reading the appropriate source register”.

 

What does this mean for the SRC_PW and SRC_TW bits, i.e., what is the source? Does this mean to reading this register (INT_SOURCE) will clear these bits, or must I read another “source” register?

0 项奖励
3 回复数

643 次查看
dkh
NXP Employee
NXP Employee

So, reading the output for the pressure clears the PTH bit as well ?

0 项奖励

643 次查看
miguelsalhuana
NXP Employee
NXP Employee

Yes for the pressure interrupts reading OUT_P_MSB register will clear the interrupt. For the temperature interrupts reading OUT_T_MSB register will clear the interrupts.

0 项奖励

643 次查看
miguelsalhuana
NXP Employee
NXP Employee

The source is the Pressure and Temperature output registers. Once the interrupt is asserted it is cleared by reading the appropriate output register. For Pressure interrupts this would be OUT_P_MSB and for Temperature interrupts it would be OUT_T_MSB

Regards,

Miguel

0 项奖励