MPL3115A2 register INT_SOURCE

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

MPL3115A2 register INT_SOURCE

805 Views
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 Kudos
3 Replies

590 Views
dkh
NXP Employee
NXP Employee

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

0 Kudos

590 Views
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 Kudos

590 Views
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 Kudos