Download MPL3115A2.pdf

Document Number: MPL3115A2
Rev 1, 12/2011
Freescale Semiconductor
Data Sheet: Advance Information
I2C Precision Altimeter
MPL3115A2
The MPL3115A2 employs a MEMS pressure sensor with an I2C interface to
provide accurate Pressure or Altitude data. The sensor Pressure and
Temperature outputs are digitized by a high resolution 24-bit ADC. Internal
processing removes compensation tasks from the host MCU system. Multiple
user-programmable, power saving, interrupt and autonomous data acquisition
modes are available, including programmed acquisition cycle timing, and pollonly modes. Typical active supply current is 40 μA per measurement-second for
a stable 30 cm output resolution. Pressure output can be resolved with output in
fractions of a Pascal, and Altitude can be resolved in fractions of a meter.
The MPL3115A2 is offered in a 5 mm by 3 mm by 1.1 mm LGA package and
specified for operation from -40°C to 85°C. Package is surface mount with a
stainless steel lid and is RoHS compliant.
50 to 110 kPa
Features
•
•
•
•
•
•
•
•
•
•
•
LGA PACKAGE
5.0 mm by 3.0 mm by 1.1 mm
1.95V to 3.6V Supply Voltage, internally regulated by LDO
1.6V to 3.6V Digital Interface Supply Voltage
Fully Compensated internally
Direct Reading, Compensated
– Pressure: 20-bit measurement (Pascals)
– Altitude: 20-bit measurement (meters)
– Temperature: 12-bit measurement (°Celsius)
Programmable Events
Autonomous Data Acquisition
Resolution down to 1 ft. / 30 cm
32 Sample FIFO
Ability to log data up to 12 days using the FIFO
1 second to 9 hour data acquisition rate
I2C digital output interface (operates up to 400 kHz)
Top View
VDD
1
8
SCL
CAP
2
7
SDA
GND
3
6
INT1
VDDIO
4
5
INT2
Pin Connections
Application Examples
•
•
•
•
•
•
•
High Accuracy Altimetry
Smartphones/Tablets
Personal Electronics Altimetry
GPS Dead Reckoning
GPS Enhancement for Emergency Services
Map Assist, Navigation
Weather Station Equipment
ORDERING INFORMATION
Device Name
MPL3115A2
MPL3115A2T1
Package Options
Case No.
Tray
2153
Tape & Reel (1000)
2153
# of Ports
Pressure Type
Absolute
Digital
Interface
•
•
•
•
•
•
None
Single
Dual
Gauge
This document contains information on a new product. Specifications and information herein
are subject to change without notice.
© 2011 Freescale Semiconductor, Inc. All rights reserved.
Differential
1
Block Diagram and Pin Descriptions
Reference
Reference
+
+
Regulator
Regulator
VVdd
DD
VDDIO
VddIO
CAP
CAP
SDA
SDA
SCL
SCL
Pressure
Sensor
Sense
Amp
MUX
ADC
Digital Signal
Processing and
Control
Temp
INT1
INT1
INT2
INT2
Clock oscillator
Trim Logic
Clock Oscillator
Trim Logic
Figure 1. Block Diagram
Table 1. Pin Descriptions
Pin
Name
Function
1
VDD
VDD Power Supply Connection (1.95-3.6V)
2
CAP
External Capacitor
3
GND
Ground
4
VDDIO
Digital Interface Power Supply (1.62-3.6V)
5
INT2
Pressure Interrupt 2
6
INT1
Pressure Interrupt 1
7
SDA
I2C Serial Data
8
SCL
I2C Serial Clock
MPL3115A2
2
Sensors
Freescale Semiconductor
Vdd
VDD
100nF
10μF
SCL
1
8
2
7
3
6
4
5
SDA
100nF
VDDIO
VddIO
INT1
INT2
Figure 2. Pin Connections
The device power is supplied through the VDD line. Power supply decoupling capacitors (100 nF ceramic plus 1 μF bulk or
1 μF ceramic) should be placed as near as possible to pin 1 of the device. A second 100 nF capacitor is used to bypass the
internal regulator. The functions, threshold and the timing of the interrupt pins (INT1 and INT2) are user programmable through
the I2C interface.
MPL3115A2
Sensors
Freescale Semiconductor
3
2
Mechanical and Electrical Specifications
2.1
Mechanical Characteristics
Table 2. Mechanical Characteristics @ VDD = 2.5V, T = 25°C unless otherwise noted(1)
Ref
Symbol
Parameter
Test Conditions
Min
Calibrated Range
Operational Range
Typ
Max
Unit
50
110
kPa
20
110
kPa
Pressure Sensor
1
PFS
Measurement Range
1x
2
Pressure Reading Noise
Oversample(2)
128x Oversample(2)
50 to 110 kPa
over 0°C to 50°C
3
19
Pa RMS
1.5
Pa RMS
-0.4
0.4
Pressure Absolute Accuracy
4
kPa
50 to 110 kPa
-10°C to 70°C
±0.4
Relative accuracy during
pressure change between
70 to 110 kPa @ at any constant
Temperature between
-10°C to 50°C
±0.05
Pressure Relative Accuracy
kPa
Relative accuracy during
changing temperature
-10°C to 50°C @ at any constant
pressure between 50 kPa and
110 kPa
±0.1
Barometric Measurement Mode
0.25
1.5
Pa
Altimeter Measurement Mode
0.0625
0.3
m
100
Hz
Pressure/Altimeter Resolution(3)(4)(5)
5
(6)
Output Data Rate in OST
6
Mode
Output Data Rate
Output Data Rate of FIFO
1
Hz
+85
°C
Temperature Sensor
7
TFS
8
9
Measurement Range
-40
@ 25°C
±1
Over Temperature Range
±3
Temperature Accuracy
TOP
°C
Operating Temperature Range
10
Board Mount Drift
11
Long Term Drift
-40
+85
°C
After solder reflow
±0.15
kPa
After a period of 1 year
±0.1
kPa
1. Measured at 25°C, 110 kPa to 50 kPa.
2. FIFO mode used to minimize pressure reading noise vs. OST mode.
3. Smallest bit change in register represents minimum value change in Pascals or meters. Typical resolution to signify change in altitude is
0.3m.
4. At 128x Oversample Ratio.
5. Reference pressure = 101.325 kPa (Sea Level).
6. OST = One Shot Mode.
MPL3115A2
4
Sensors
Freescale Semiconductor
3
Electrical Characteristics
Table 3. Electrical Characteristics @ VDD = 2.5V, T = 25°C unless otherwise noted.(1)
Ref
Symbol
1
VDDIO
2
VDD
Parameter
Min
Typ
Max
Unit
I/O Supply Voltage
1.62
1.8
3.6
V
Operating Supply Voltage
1.95
2.5
3.6
V
3
4
IDD
Integrated Current 1 update per second
5
Max Current during Acquisition and
Conversion
6
IDDMAX
7
IDDSTBY Supply Current Drain in STANDBY Mode
Test Conditions
Highest Speed Mode
Oversample = 1
8.5
Standard Mode
Oversample = 16
40
High Resolution Mode
Oversample = 128
265
During Acquisition
2
mA
STANDBY Mode selected
SBYB = 0
2
µA
µA
8
VIH
Digital High Level Input Voltage
SCL, SDA
9
VIL
Digital Low Level Input Voltage
SCL, SDA
10
VOH
High Level Output Voltage
INT1, INT2
IO = 500 µA
11
VOL
Low Level Output Voltage
INT1, INT2
IO = 500 µA
0.1
VDDIO
12
VOLS
Low Level Output Voltage
SDA
IO = 500 µA
0.1
VDDIO
Highest Speed Mode
60
14
TON
Turn-on time(1)
Highest Resolution Mode
1000
TOP
Operating Temperature Range
16
0.75
VDDIO
0.3
0.9
VDDIO
VDDIO
ms
-40
25
+85
°C
I2C Addressing
MPL3115A2 uses 7-bit addressing and does not acknowledge general call address 000 0000. Slave address has been set to 0x60 or 110 0000.
8-bit read is 0xC1, 8-bit write is 0xC0
1. Time to obtain valid data from “STANDBY” mode to “ACTIVE” mode.
MPL3115A2
Sensors
Freescale Semiconductor
5
I2C Interface Characteristics
3.1
Table 4. I2C Slave Timing Values(1)
Ref
Symbol
I2 C
Parameter
Unit
Condition
Min
Max
1
fSCL
SCL Clock Frequency
Pull-up = 1 kΩ, Cb = 400 pF
0
400
KHz
2
fSCL
SCL Clock Frequency
Pull-up = 1 kΩ, Cb = 20 pF
0
4
MHz
3
tBUF
Bus free time between STOP and START condition
1.3
µs
4
tHD;STA
Repeated START Hold Time
0.6
µs
5
tSU;STA
Repeated START Setup Time
0.6
µs
6
tSU;STO
STOP Condition Setup Time
0.6
µs
7
tHD;DAT
SDA Data Hold Time(2)
8
tVD;DAT
9
50(3)
(4)
ns
SDA Valid Time (5)
0.9(4)
ns
tVD;ACK
SDA Valid Acknowledge Time (6)
0.9(4)
ns
10
tSU;DAT
SDA Setup Time
11
tLOW
12
tHIGH
100(7)
ns
SCL Clock Low Time
1.3
µs
SCL Clock High Time
0.6
µs
(8)
13
tr
SDA and SCL Rise Time
20 + 0.1Cb
14
tf
SDA and SCL Fall Time (3) (6) (9) (10)
20 + 0.1Cb(6)
15
tSP
Pulse width of spikes that are suppressed by internal
input filter
1000
ns
300
ns
50
ns
1. All values referred to VIH(min) and VIL(max) levels.
2. tHD;DAT is the data hold time that is measured from the falling edge of SCL, applies to data in transmission and the acknowledge.
3. The device must internally provide a hold time of at least 300 ns for the SDA signal (with respect to the VIH(min) of the SCL signal) to bridge
the undefined region of the falling edge of SCL.
4. The maximum tHD;DAT must be less than the maximum of tVD;DAT or tVD;ACK by a transition time. This device does not stretch the LOW period
(tLOW) of the SCL signal.
5. tVD;DAT = Time for data signal from SCL LOW to SDA output (HIGH or LOW, depending on which one is worse).
6. tVD;ACK = Time for Acknowledgement signal from SCL LOW to SDA output (HIGH or LOW, depending on which one is worse).
7. A fast mode I2C device can be used in a standard mode I2C system, but the requirement tSU;DAT 250 ns must then be met. This will
automatically be the case if the device does not stretch the LOW period of the SCL signal. If such a device does stretch the LOW period of
the SCL signal, it must output the next data bit to the SDA line tr(max) + tSU;DAT = 1000 + 250 = 1250 ns (according to the standard mode
I2C specification) before the SCL line is released. Also the acknowledge timing must meet this set-up time.
8. Cb = Total capacitance of one bus line in pF.
9. The maximum tf for the SDA and SCL bus lines is specified at 300 ns. The maximum fall time for the SDA output stage tf is specified at
250 ns. This allows series protection resistors to be connected in between the SDA and the SCL pins and the SDA/SCL bus lines without
exceeding the maximum specified tf.
10. In Fast Mode Plus, fall time is specified the same for both output stage and bus timing. If series resistors are used, designers should allow
for this when considering bus timing.
MPL3115A2
6
Sensors
Freescale Semiconductor
Figure 3. I2C Slave Timing Diagram
MSB
SCL
SDA
1
LSB
2
3
4
5
6
7
Calling Address
Read/
Write
MSB
SDA
MSB
9
AD7 AD6 AD5 AD4 AD3 AD2 AD1 R/W
Start
Signal
SCL
8
1
XXX
3
4
5
6
7
8
Calling Address
Read/
Write
3
4
5
6
7
8
D7
D6
D5
D4
D3
D2
D1
D0
Data Byte
1
XX
Ack
Bit
9
No
Ack
Bit
MSB
9
AD7 AD6 AD5 AD4 AD3 AD2 AD1 R/W
Start
Signal
2
Ack
Bit
LSB
2
LSB
1
Stop
Signal
LSB
2
3
4
5
6
7
8
9
AD7 AD6 AD5 AD4 AD3 AD2 AD1 R/W
Repeated
Start
Signal
New Calling Address
Read/
Write
No
Ack
Bit
Stop
Signal
Figure 4. 2C Bus Transmission Signals
MPL3115A2
Sensors
Freescale Semiconductor
7
3.2
Absolute Maximum Ratings
Stresses above those listed as “absolute maximum ratings” may cause permanent damage to the device. This is a stress rating
only and functional operation of the device under these conditions is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability.
Table 5. Maximum Ratings
Characteristic
Symbol
Value
Unit
Maximum Applied Pressure
Pmax
500
kPa
Supply Voltage
VDD
-0.3 to 3.6
V
VDDIO
-0.3 to 3.6
V
Input Voltage on any Control Pin (SCL, SDA)
VIN
-0.3 to VDDIO + 0.3
V
Operating Temperature Range
TOP
-40 to +85
°C
Storage Temperature Range
TSTG
-40 to +125
°C
Symbol
Value
Unit
Human Body Model
HBM
±2000
V
Machine Model
MM
±200
V
CDM
±500
V
—
±100
mA
Interface Supply Voltage
Table 6. ESD And Latch-up Protection Characteristics
Rating
Charge Device Model
Latch-up Current at T = 85°C
This is a mechanical shock sensitive device, improper handling can cause permanent damage to the part or
cause the part to otherwise fail.
This is an ESD sensitive device, improper handling can cause permanent damage to the part.
MPL3115A2
8
Sensors
Freescale Semiconductor
4
Terminology
4.1
Resolution
The resolution of a pressure sensor is the minimum change of pressure that can be reliably measured. The usable resolution
of the MPL3115A2 is programmable, enabling the user to choose a compromise between acquisition speed, power consumption,
and resolution that best fits the application. To simplify the programming, the data is always reported in the same format with
differing number of usable bits.
4.2
Accuracy
4.2.1
Offset
An offset shift in the long term value of a pressure sensor is defined as without pressure stimulus. Offset error affects absolute
pressure measurements but not relative pressure change measurements. An absolute pressure measurement is the pressure
value in comparison to sea level. I.e. a measurement of total pressure seen (e.g 70 kPa), or total height (e.g 2000m) above sea
level. A change in the offset will affect the pressure value or height seen above sea level as it shifts the sea level ‘base reference’.
An absolute pressure measurement is not the same as relative pressure measurement, where the pressure is compared when
raising or lowering pressure in shorter intervals. This would be a walk up a hill, measuring the pressure and altitude difference
from start to finish. In the relative case, the offset shifts are shared in the two absolute measurements and negate each other
during the pressure calculation. For the MPL3115A2, the long term offset shift can be removed by adjusting the pressure or altitude offset correction. This adjustment is provided to override the factory programmed values to compensate for offsets introduced by manufacturing and mounting stresses. It is highly recommended that this is utilized to realize the full accuracy potential
of the device.
4.2.2
Linearity
Linearity compares the slope of the measurement data to that of an ideal transfer function. It refers to how well a transducer’s
output follows the equation Pout = Poff + Sensitivity x P straight line equation over the operating pressure range. The method
used by Freescale to give the linearity spec is the end-point straight line method measured at midrange pressure.
4.2.3
Absolute Pressure
Absolute pressure sensors measure an external pressure relative to a zero-pressure reference (vacuum) sealed inside the
reference chamber of the die during manufacturing. This standard allows comparison to a standard value set such that
14.7 psi = 101325 Pa = 1 atm at sea level pressure as a measurement target. The absolute pressure is used to determine altitude
as it has a constant reference for comparison. Measurement at sea level can be compared to measurement at a mountain summit
as they use the same vacuum reference. The conversion of absolute pressure to altitude in meters is calculated based on US
Standard Atmosphere 1976 (NASA). Note that absolute pressure is not linear in nature to altitude. The compressibility of air
makes this an exponential function. The value of altitude in quarter meters can be read directly from the MPL3115A2, or the value
of pressure in 0.25 Pascal (Pa) units.
4.2.4
Span
Span is the value of full scale output with offset subtracted, representing the full range of the pressure sensor. Ideally the span
is a specification over a constant temperature. The MPL3115A2 uses internal temperature compensation to remove drift. Span
accuracy is the comparison of the measured difference and the actual difference between the highest and lowest pressures in
the specified range.
4.3
Pressure/Altitude
The MPL3115A2 device is a high accuracy pressure sensor with integrated data calculation and logging capabilities. The altitude calculations are based on the measured pressure, the user input of the equivalent sea level pressure (to compensate for
local weather conditions) and the US Standard Atmosphere 1976 (NASA) to give the altitude readings. Pressure is given in Pascals (Pa), and fractions of a Pa. Altitude is given in meters (m) and fractions of a meter. The altitude is calculated from the pressure using the equation below:
h = 44330.77 { 1 – ( p ⁄ p 0 )
0.1902632
} + OFF_P (Register Value)
Where p0 = sea level pressure (101325 Pa) and h is in meters.
MPL3115A2
Sensors
Freescale Semiconductor
9
4.4
Power Modes of Operation
4.4.1
Off
Unit is powered down and has no operating functionality. VDD and VDDIO are not powered.
4.4.2
STANDBY
The digital sections are operational and the unit is capable of receiving commands and delivering stored data. The analog
sections are off. The part is waiting for CTRL_REG1 to be configured and the part to enter active.
4.4.3
ACTIVE
Both analog and digital sections are running. The unit is capable of gathering new data, and accepting commands.
MPL3115A2 is fully functional.
Table 7. Mode of Operation Description
I2C Bus State
Mode
OFF
Powered Down
VDD
< 1.62V
< VDD + 0.3V
STANDBY Register Set
STANDBY
I2C Communication with device is possible
ON
ACTIVE
I2C Communication with device is possible
ON
5
Function Description
Device is powered off.
Only POR and digital blocks are enabled.
Analog subsystem is disabled.
STANDBY Register Cleared All blocks are enabled (POR, digital, analog).
Functionality
The device is a low-power, high accuracy digital output altimeter, barometer and thermometer, packaged in a 3 x 5 x 1.1 mm
form factor. The complete device includes a sensing element, analog and digital signal processing and an IC interface able to
take the information from the sensing element and to provide a signal to the host through an I2C serial interface.
The device has two operational modes, one being barometer/pressure sensor and the other, an altimeter. Both modes include
a thermometer temperature output function.
Balancing power consumption and sensitivity is programmable where the data oversampling ratio can be set to balance current consumption and noise/resolution. Serial Interface Communications is through an I2C interface thus making the device particularly suitable for direct interfacing with a microcontroller. The device features two independently programmable interrupt
signals which can be set to signal when a new set of measured Pressure and Temperature data is available, simplifying data
acquisition in the digital system that uses the device. The device may also be configured to generate an interrupt signal when to
a user programmed set of conditions are met. Examples are: Interrupt can be triggered when a single new data acquisition is
ready, when a desired number of samples are stored within the internal FIFO or when a change of Pressure or Temperature is
detected.
In RAW mode, the FIFO must be disabled and all other functionality: Alarms, Deltas and other interrupts are disabled.
5.1
Factory Calibration
The device is factory calibrated for sensitivity, offset for both Temperature and Pressure measurements. Trim values are
stored, on-chip, in Non-Volatile Memory (NVM). In normal use, further calibration is not necessary; however, in order to realize
the highest possible accuracy, the device allows the user to override the factory set offset values after power-up. The user adjustments are stored in volatile registers. The factory calibration values are not affected, and are always used by default on powerup.
5.2
Barometer/Altitude Function
The mode of operation of the device can be selected as Pressure or Altitude. The internal sensor gives an absolute pressure
signal. The absolute pressure signal is processed to provide a scaled pressure or an altitude, depending on the mode selected.
The combination of a high performance sensor and the signal processing enable resolution of pressures below 1 Pa and altitude
resolution of better than 1 Ft / 0.3m at sea level.
When in Pressure mode, all pressure related data is reported as 20-bit 2’s complement data in Pascals. When in Altitude
mode, all pressure data is converted to equivalent altitude, based on the US standard atmosphere and then stored as meters
and fractions of a meter values.
MPL3115A2
10
Sensors
Freescale Semiconductor
5.2.1
Barometric Input
In order to accurately determine the altitude by pressure, facility is provided to input in the local barometric pressure correction.
Default value is the standard atmospheric pressure value of 101,325 Pa.
5.3
Temperature Function
The unit contains a high resolution temperature sensor that provides data to the user via a 16-bit data register, as well as for
internal compensation of the pressure sensor.
5.4
Autonomous Data Acquisition
The unit can be programmed to periodically capture Altitude/Pressure and Temperature data. Up to 32 data acquisitions can
be stored in the internal FIFO. The interval between acquisitions is programmable from 1 second to 9 hours.
Data: (Up to 32 samples over 12 days). The unit can also be programmed to make a single reading and then go to standby
mode.
5.5
FIFO
A 32 sample FIFO is incorporated to minimize the overhead of collecting multiple data samples. The FIFO stores both Temperature and Pressure/Altitude data. The device can be programmed to autonomously collect data at programmed intervals and
store the data in the FIFO. FIFO interrupts can be triggered by watermark full or data contention (FIFO GATE) events.
5.6
External Interrupts
Two independent interrupt out pins are provided. The configuration of the pins are programmable (polarity, open drain or pushpull.) Any one of the internal interrupt sources can be routed to either pin.
5.6.1
Reach Target Threshold Pressure/Altitude
The interrupt flag is set on reaching the value stored in the Altitude target register. Additionally, a window value provides the
ability to signal when the target is nearing from either above or below the value in the Altitude target register. When in barometer
mode, these values represent pressures rather than altitudes.
Examples:
• Set Altitude alert to 3000m and window value to 100m, interrupt is asserted passing 2900m, 3000m, and 3100m.
• Set Pressure alert to 100.0 kPa and window value to 5 kPa, interrupt can be sent passing 95 kPa, 100 kPa and 105 kPa.
5.6.2
Reach Window Target Pressure Altitude
The interrupt flag is set when the temperature value is within the window defined by the following formula:
Window = P_TGT MSB ,LSB ± P_WND MSB ,LSB
5.6.3
Reach Target Threshold Temperature
Interrupt flag is set on reaching the value stored in the Temperature target register. Additionally a window value provides ability
to signal when the target is nearing from either above or below the value in the Temperature target register.
5.6.4
Reach Window Target Temperature
The interrupt flag is set when the temperature value is within the window defined by the following formula:
Window = T_TGT ± T_WND
5.6.5
Pressure/Altitude Change
Interrupt flag is set if sequential Pressure/Altitude acquisitions exceed value stored in window value register.
5.6.6
Temperature Change
Interrupt flag is set if sequential Temperature acquisitions exceed the value stored in window value register.
MPL3115A2
Sensors
Freescale Semiconductor
11
5.7
Pressure/Altitude Change
Register shows change from last Pressure/Altitude sample.
5.8
Min/Max Data Value Storage
Registers record the minimum Pressure/Altitude and Temperature.
5.9
Digital Interface
The registers embedded inside the device are accessed through an I2C serial interface.
Table 8. Serial Interface Pin Descriptions
Name
Description
SCL
I2
SDA
I2C Serial Data
C Serial Clock
There are two signals associated with the I2C bus: the Serial Clock Line (SCL) and the Serial Data line (SDA). The latter is a
bidirectional line used for sending and receiving the data to/from the interface. External pull-up resistors connected to VDD are
expected for SDA and SCL. When the bus is free both the lines are high. The I2C interface is compliant with fast mode (400 kHz),
and normal mode (100 kHz) I2C standards
5.9.1
I2C Operation
The transaction on the bus is started through a start condition (START) signal. START condition is defined as a HIGH to LOW
transition on the data line while the SCL line is held HIGH. After START has been transmitted by the master, the bus is considered
busy. The next byte of data transmitted after START contains the slave address in the first 7 bits, and the eighth bit tells whether
the master is receiving data from the slave or transmitting data to the slave. When an address is sent, each device in the system
compares the first seven bits after a start condition with its address. If they match, the device considers itself addressed by the
master. The ninth clock pulse, following the slave address byte (and each subsequent byte) is the acknowledge (ACK). The transmitter must release the SDA line during the ACK period. The receiver must then pull the data line low so that it remains stable
low during the high period of the acknowledge clock period.
The number of bytes per transfer is unlimited. If the master can't receive another complete byte of data until it has performed
some other function, it can hold the clock line, SCL low to force the transmitter into a wait state. Data transfer only continues when
the master is ready for another byte and releases the clock line.
A low to high transition on the SDA line while the SCL line is high is defined as a stop condition (STOP). A data transfer is
always terminated by a STOP. A master may also issue a repeated START during a data transfer. Device expects repeated
STARTs to be used to randomly read from specific registers.
The standard 7-bit I2C slave address is 0x60 or 1100000. 8-bit read is 0xC1, 8-bit write is 0xC0.
Consult factory for alternate addresses.
MPL3115A2
12
Sensors
Freescale Semiconductor
6
Register Descriptions
Table 9. Register Address Map
Reset
when
Reset STBY
to
Active
Register
Address
Name
0x00
Sensor Status Register
(STATUS)(1)(2)
0x01
Pressure Data Out MSB
(OUT P_MSB)(1)(2)
0x00
Yes
R
0x02
Pressure Data Out CSB
(OUT_P_CSB)(1)(2)
0x00
Yes
R
0x03
Bits 4-11 of 20-bit real-time Pressure sample
0x03
Pressure Data Out LSB
(OUT_P _LSB)(1)(2)
0x00
Yes
R
0x04
Bits 0-3 of 20-bit real-time Pressure sample
0x04
Temperature Data Out MSB
(OUT_T_MSB)(1)(2)
0x00
Yes
R
0x05
Bits 4-11 of 12-bit real-time Temperature
sample
0x05
Temperature Data Out LSB
(OUT_T _LSB)(1)(2)
0x00
Yes
R
0x00
Bits 1-3 of 12-bit real-time Temperature
sample
0x00/0x06
Sensor Status Register
(DR_STATUS)(1)(2)
0x00
Yes
R
0x07
Data Ready status information
0x07
Pressure Data Out Delta MSB
(OUT_P_DELTA MSB)(1)(2)
0x00
Yes
R
0x08
Bits 12-19 of 20-bit Pressure change data
0x08
Pressure Data Out Delta CSB
(OUT_P_DELTA_CSB)(1)(2)
0x00
Yes
R
0x09
Bits 4-11 of 20-bit Pressure change data
0x09
Pressure Data Out Delta LSB
(OUT_P_DELTA_LSB)(1)(2)
0x00
Yes
R
0x0A
Bits 0-3 of 20-bit Pressure change data
0x0A
Temperature Data Out Delta MSB
(OUT_T_DELTA_MSB)(1)(2)
0x00
Yes
R
0x0B
Bits 4-11 of 12-bit Temperature change data
0x0B
Temperature Data Out Delta LSB
(OUT_T_DELTA_LSB)(1)(2)
0x00
Yes
R
0x06
Bits 0-3 of 12-bit Temperature change data
0x0C
Device Identification Register
(WHO_AM_I)
0xC4
No
R
0x0D
Fixed Device ID Number
0x0D/00
FIFO Status Register
(F_STATUS)(1)(2)
0x00
Yes
R
0x0E
FIFO Status: No FIFO event detected
0X0E/01
FIFO 8-bit Data Access
(F_DATA)
0x00
Yes
R
0x0E
FIFO 8-bit data access
0x0F
FIFO Setup Register
(F_SETUP)(1)(3)
0x00
Yes
R/W
0x10
FIFO setup
0x10
Time Delay
Register(TIME_DLY)(1)(2)
0x00
Yes
R
0x11
Time since FIFO overflow
0x11
System Mode Register
(SYSMOD)
0x00
Yes
R
0x12
Current system mode
0x12
Interrupt Source Register
(INT_SOURCE)(1)
0x00
No
R
0x13
Interrupt status
0x13
PT Data Configuration Register
(PT_DATA_CFG)(1)(3)
0x00
No
R/W
0x14
Data event flag configuration
0x14
BAR Input in MSB
(BAR_IN_MSB)(1)(3)
0xC5
No
R/W
0x15
Barometer input for Altitude calculation
bits 8-15
0x15
BAR Input in LSB
(BAR_IN_LSB)(1)(3)
0xE7
No
R/W
0x16
Barometer input for Altitude calculation bits
0-7
0x00
Yes
Type
Auto-Increment
Address
Comment
R
0x01
Alias for DR_STATUS or F_STATUS
0x02
0x01
Bits 12-19 of 20-bit
real-time Pressure
sample.
Root pointer to
Pressure and
Temperature FIFO
data.
MPL3115A2
Sensors
Freescale Semiconductor
13
Table 9. Register Address Map
1.
2.
3.
4.
0x16
Pressure Target MSB
(P_TGT_MSB)(1)(3)
0x00
No
R/W
0x17
Pressure/Altitude target value bits 8-15
0x17
Pressure Target LSB
(P_TGT_LSB)(1)(3)
0x00
No
R/W
0x18
Pressure/Altitude target value bits 0-7
0x18
Temperature Target (T_TGT)(1)(3)
0x00
No
R/W
0x19
Temperature target value
0x19
Pressure/Altitude Window MSB
(P_WND_MSB)(1)(3)
0x00
No
R/W
0x1A
Pressure/Altitude window value
bits 8-15
0x1A
Pressure/Altitude Window LSB
(P_WND_LSB)(1)(3)
0x00
No
R/W
0X1B
Pressure/Altitude window value
bits 0-7
0X1B
Temperature Window
(T_WND)(1)(3)
0x00
No
R/W
0x1C
Temperature window value
0x1C
Minimum Pressure Data Out MSB
(P_MIN_MSB)(1)(3)
0x00
No
R/W
0x1D
Minimum Pressure/Altitude bits 12-19
0x1D
Minimum Pressure Data Out CSB
(P_MIN_CSB)(1)(3)
0x00
No
R/W
0x1E
Minimum Pressure/Altitude bits 4-11
0x1E
Minimum Pressure Data Out LSB
(P_MIN_LSB)(1)(3)
0x00
No
R/W
0x1F
Minimum Pressure/Altitude bits 0-3
0x1F
Minimum Temperature Data Out
MSB (T_MIN_MSB)(1)(3)
0x00
No
R/W
0x20
Minimum Temperature bits 8-15
0x20
Minimum Temperature Data Out
LSB (T_MIN_LSB)(1)(3)
0x00
No
R/W
0x21
Minimum Temperature bits 0-7
0x21
Maximum Pressure Data Out
MSB (P_MAX_MSB)(1)(3)
0x00
No
R/W
0x22
Maximum Pressure/Altitude bits 12-19
0x22
Maximum Pressure Data Out
CSB (P_MAX_CSB)(1)(3)
0x00
No
R/W
0x23
Maximum Pressure/Altitude bits 4-11
0x23
Maximum Pressure Data Out LSB
(P_MAX_LSB)(1)(3)
0x00
No
R/W
0X24
Maximum Pressure/Altitude bits 0-3
0X24
Maximum Temperature Data Out
MSB (T_MAX_MSB)(1)(3)
0x00
No
R/W
0x25
Maximum Temperature bits 8-15
0x25
Maximum Temperature Data Out
LSB (T_MAX_LSB)(1)(3)
0x00
No
R/W
0x26
Maximum Temperature bits 0-7
0x26
Control Register 1
(CTRL_REG1)(1)(4)
0x00
No
R/W
0x27
Modes, Oversampling
0x27
Control Register 2
(CTRL_REG2)(1)(4)
0x00
No
R/W
0x28
Acquisition time step
0x28
Control Register 3
(CTRL_REG3)(1)(4)
0x00
No
R/W
0x29
Interrupt pin configuration
0x29
Control Register 4
(CTRL_REG4)(1)(4)
0x00
No
R/W
0x2A
Interrupt enables
0x2A
Control Register 5
(CTRL_REG5)(1)(4)
0x00
No
R/W
0x2B
Interrupt output pin assignment
0x2B
Pressure Data User Offset
Register (OFF_P)
0x00
No
R/W
0x2C
Pressure data offset
0x2C
Temperature Data User Offset
Register (OFF_T)
0x00
No
R/W
0x2D
Temperature data offset
0x2D
Altitude Data User Offset Register
(OFF_H)
0x00
No
R/W
0x0C
Altitude data offset
Register contents are preserved when transitioning from “ACTIVE” to “STANDBY” mode.
Register contents are reset when transitioning from “STANDBY” to “ACTIVE” mode.
Register contents can be modified anytime in “STANDBY” or “ACTIVE” mode.
Modification of this register’s contents can only occur when device in “STANDBY” mode except the SBYB and RST bit fields in CTRL_REG1
register.
MPL3115A2
14
Sensors
Freescale Semiconductor
Table 10. Register Address Map with FIFO Modes(1)
Reset
Register
Address
Reset
when
Type
Value STANDBY
Name
Auto-Increment
Address
Comment
to ACTIVE
Registers: Area A (F_Mode = 0, FIFO disabled)
0x00/
0x06
Sensor Status Register (DR_STATUS)
0x00
Yes
R
0x01
0x02
0x01
DR_STATUS
Bits 12-19 of 20-bit
real-time Pressure
sample.
Root pointer to
Pressure and
Temperature
FIFO data.
0x01
Pressure Data Out MSB (OUT P_MSB)
0x00
Yes
R
0x02
Pressure Data Out CSB (OUT_P_CSB)
0x00
Yes
R
0x03
Bits 4-11 of 20-bit real-time Pressure
sample
0x03
Pressure Data Out LSB (OUT_P _LSB)
0x00
Yes
R
0x04
Bits 0-3 of 20-bit real-time Pressure
sample
0x04
Temperature Data Out MSB
(OUT_T_MSB)
0x00
Yes
R
0x05
Bits 4-11 of 12-bit real-time Temperature
sample
0x05
Temperature Data Out LSB
(OUT_T _LSB)
0x00
Yes
R
0x00
Bits 0-3 of 12-bit real-time Temperature
sample
Registers: Area A (F_Mode > 0, FIFO in circular buffer or full stop mode)
0x00/
0x0D
Sensor Status Register (F_STATUS)
0x00
Yes
R
0x01
F_STATUS
0x01
FIFO 8-bit Data Access (F_DATA)
0x00
Yes
R
0x01
0x01
0x02
Read to Reserved Area returns 00
0x00
N/A
—
0x03
—
0x03
Read to Reserved Area returns 00
0x00
N/A
—
0x04
—
0x04
Read to Reserved Area returns 00
0x00
N/A
—
0x05
—
0x05
Read to Reserved Area returns 00
0x00
N/A
—
0x00
—
1. The Registers in Area A from 0x00 to 0x05 depend on the F_MODE bit setting in FIFO Setup Register (F_SETUP).
F_MODE = 0, FIFO is disabled.
F_MODE = 2’b01 is circular buffer.
F_MODE = 2’b10 is full stop mode.
6.1
Sensor Status
6.1.1
Status (0x00)
Table 11. Alias for DR_Status (0x06) or F_Status (0x0B)
FIFO Data Enabled Mode Bit Setting
F_MODE = 00(1)
0x00 = DR_STATUS (0x06)
F_MODE > 00
0x00 = F_STATUS (0x0D)
1. The F_MODE is defined in Section 6.3.3
The aliases allow the STATUS register to be read easily before reading the current real-time data or the FIFO contents using
register address auto-incrementing mechanism.
6.1.2
DR_STATUS (0x06)
The STATUS register provides the acquisition status information on a per sample basis, and reflects real-time updates to the
OUT_P and OUT_T registers
The same STATUS register can be read through an alternate address. The alias allows the STATUS register to be read easily
before reading the current Pressure and Temperature data and delta Pressure and Temperature data or FIFO sample data using
register address auto-incrementing mechanism.
MPL3115A2
Sensors
Freescale Semiconductor
15
6.1.2.1
Data Registers w/F_MODE = 00 (FIFO Disabled)
When the FIFO subsystem data output register driver is disabled (F_MODE = 00), the register indicates the real-time status
information of the sample data.
Table 12. DR_STATUS Register
R
7
6
5
4
3
2
1
0
PTOW
POW
TOW
0
PTDR
PDR
TDR
0
0
0
0
0
0
0
0
0
W
Reset
Table 13. DR_STATUS Bit Descriptions
Name
Description
PTOW
Pressure/Altitude OR Temperature data overwrite. PTOW is set to 1 whenever new data is acquired before completing the
retrieval of the previous set. This event occurs when the content of at least one data register (i.e. OUT_P, OUT_T) has been
overwritten. PTOW is cleared when the high-bytes of the data (OUT_P_MSB or OUT_T_MSB) are read, when F_MODE is
zero. PTOW is cleared by reading F_DATA register when F_MODE > 0.
Default value: 0
0: No data overwrite has occurred
1: Previous Pressure/Temperature data was overwritten by new Pressure/Temperature data before it was read
POW
Pressure/Altitude data overwrite. POW is set to 1 whenever a new Pressure acquisition is completed before the retrieval of
the previous data. When this occurs the previous data is overwritten. POW is cleared anytime OUT_P_MSB register is
read., F_MODE is zero. POW is cleared by reading F_DATA register when F_MODE > 0.
Default value: 0
0: No data overwrite has occurred
1: Previous Pressure data was overwritten by new Pressure data before it was read
TOW
Temperature overwrite. TOW is set to 1 whenever a new Temperature acquisition is completed before the retrieval of the
previous data. When this occurs the previous data is overwritten. TOW is cleared anytime OUT_T_MSB register is read,
when F_MODE is zero. TOW is cleared by reading F_DATA register when F_MODE > 0.
Default value: 0
0: No data overwrite has occurred
1: Previous Temperature data was overwritten by new Temperature data before it was read
PTDR
Pressure/Altitude OR Temperature data ready. PTDR signals that a new acquisition for either Pressure or Temperature
channels is available. PTXDR is cleared anytime OUT_P_MSB or OUT_T_MSB register is read, when F_MODE is zero.
PTDR is cleared by reading F_DATA register when F_MODE > 0.
Default value: 0
0: No new set of data ready
1: A new set of data is ready
PDR
Pressure/Altitude new data available. PDR is set to 1 whenever a new Pressure data acquisition is completed, PDR
is cleared anytime OUT_P_MSB register is read. PDR is cleared anytime OUT_P_MSB register is read, when F_MODE is
zero. PDR is cleared by reading F_DATA register when F_MODE > 0.
0: No new Pressure data is available
1: A new set of Pressure data is ready
TDR
Temperature new Data Available. TDR is set to 1 whenever a Temperature data acquisition is completed.TDR is cleared
anytime OUT_T_MSB register is read, when F_MODE is zero. TDR is cleared by reading F_DATA register when F_MODE
> 0.
0: No new Temperature data ready
1: A new Temperature data is ready
PDR and POW flag generation is required for the Pressure event flag generator to be enabled (PDEFE = 1) in the PT Data
Configuration Register (PT_DATA_CFG).
TDR and TOW flag generation is required for the Temperature event flag generator to be enabled (TDEFE = 1) in the PT Data
Configuration Register (PT_DATA_CFG).
PTDR and PTOW flag generation requires the DREM event flag generator to be enabled in the PT Data Configuration Register
(PT_DATA_CFG).
MPL3115A2
16
Sensors
Freescale Semiconductor
6.1.3
OUT_P_MSB (0x01), OUT_P_CSB (0x02), OUT_P_LSB (0x03), OUT_T_MSB (0x04),
OUT_T_LSB (0x05)
Altitude 20-bit sample data and Temperature 12-bit sample data are expressed as 2's complement numbers. If RAW is selected, then the RAW value is stored in all 24 bits of OUT_P_MSB, OUT_P_CSB and OUT_P_LSB.
The Altitude data is arranged as 20-bit 2’s compliment value in meters. The data is stored as meters with the 16 bits of
OUT_P_MSB and OUT_P_CSB and with fractions of a meter stored in bits 7-4 of OUT_P_LSB. Be aware that the fractional bits
are not signed, therefore, they are not represented in 2’s complement.
The Pressure is arranged as 20-bit data in Pascals. The first 18 bits are located in OUT_P_MSB, OUT_P_CSB and bits 7-6
of OUT_P_LSB. The 2 bits in position 5-4 of OUT_P_LSB represent the fractional component. Be aware that the fractional bits
are not signed, therefore, they are not represented in 2’s complement.
The Temperature data is arranged as 12-bit 2’s compliment value in degrees C. The 8 bits of OUT_T_MSB representing degrees and with fractions of a degree are stored in 4 bits in position 7-4 of OUT_T_LSB. Be aware that the fractional bits are not
signed, therefore, they are not represented in 2’s complement. If RAW is selected then the RAW value is stored in all 16 bits of
OUT_T_MSB and OUT_T_LSB.
The sample data output registers store the current sample data if the FIFO data output register driver is disabled, but if the
FIFO data output register driver is enabled, the sample data output registers point to the head of the FIFO buffer which contains
the previous Pressure and Temperature data samples.
6.1.3.1
Data Registers with F_MODE = 00
The DR_STATUS register, OUT_P_MSB, OUT_P_CSB, OUT_P_LSB, OUT_T_MSB, and OUT_T_LSB are stored in the autoincrementing address range of 0x01 to 0x06 to reduce reading the status followed by 20-bit Pressure and 12-bit Temperature
data to 6 bytes.
Table 14. OUT_P_MSB Register
R
7
6
5
4
3
2
1
0
PD19
PD18
PD17
PD16
PD15
PD14
PD13
PD12
0
0
0
0
0
0
0
0
W
Reset
Table 15. OUT_P_CSB Register
R
7
6
5
4
3
2
1
0
PD11
PD10
PD9
PD8
PD7
PD6
PD5
PD4
0
0
0
0
0
0
0
0
W
Reset
Table 16. OUT_P_LSB Register
R
7
6
5
4
3
2
1
0
PD3
PD2
PD1
PD0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
Table 17. OUT_T_MSB Register
R
7
6
5
4
3
2
1
0
TD11
TD10
TD9
TD8
TD7
TD6
TD5
TD4
0
0
0
0
0
0
0
0
W
Reset
Table 18. OUT_T_LSB Register
R
7
6
5
4
3
2
1
0
TD3
TD2
TD1
TD0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
If the FIFO data output register driver is enabled (F_MODE > 00), register 0x01 points to the FIFO read pointer, while registers
0x02, 0x03, 0x04, 0x05, return a value of zero when read.
MPL3115A2
Sensors
Freescale Semiconductor
17
6.1.4
OUT_P_DELTA_MSB (0x07), OUT_P_DELTA_CSB (0x08), OUT_P_DELTA_LSB (0x09),
OUT_T_ DELTA_MSB (0x0A), OUT_T_DELTA_LSB (0x0B)
Differences from last Pressure/Altitude and Temperature samples output data expressed as 2's complement numbers.
The Altitude data is arranged as 20-bit 2’s compliment value in meters. Stored as meters with the 16 bits of
OUT_P_DELTA_MSB and OUT_P_DELTA_CSB and with fractions of a meter stored in 4 bits in position 7-4 of
OUT_P_DELTA_LSB.
The Pressure is arranged as 20-bit data in Pascals. The first 18 bits are located in OUT_P_DELTA_MSB,
OUT_P_DELTA_CSB and bits 7-6 of OUT_P_DELTA_LSB. The 2 bits in position 5-4 of OUT_P_DELTA_LSB represent the fractional component.
The Temperature data is arranged as 12-bit 2’s compliment value in degrees C. The 8 bits of OUT_DELTA_T_DELTA_MSB
representing degrees and with fractions of a degree stored in 4 bits in position 7-4 of OUT_DELTA_T_DELTA_LSB.
In RAW mode, these values are calculated based on un-scaled value
Note: The OUT_P_DELTA_LSB, OUT_P_DELTA_MSB, OUT_T_DELTA registers store the difference data information regardless of the state of the FIFO data output register driver bit, F_MODE > 00.
Table 19. OUT_P_DELTA _MSB Register
R
7
6
5
4
3
2
1
0
PDD19
PDD18
PDD17
PDD16
PDD15
PDD14
PDD13
PDD12
0
0
0
0
0
0
0
0
W
Reset
Table 20. OUT_P_DELTA_CSB Register
R
7
6
5
4
3
2
1
0
PDD11
PDD10
PDD9
PDD8
PDD7
PDD6
PDD5
PDD4
0
0
0
0
0
0
0
0
W
Reset
Table 21. OUT_P_DELTA_LSB Register
R
7
6
5
4
3
2
1
0
TDD3
TDD2
TDD1
TDD0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
Table 22. OUT_T_DELTA _MSB Register
R
7
6
5
4
3
2
1
0
TDD11
TDD10
TDD9
TDD8
TDD7
TDD6
TDD5
TDD4
0
0
0
0
0
0
0
0
W
Reset
Table 23. OUT_T_DELTA_LSB Register
R
7
6
5
4
3
2
1
0
TDD3
TDD2
TDD1
TDD0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
MPL3115A2
18
Sensors
Freescale Semiconductor
6.2
Device ID
6.2.1
WHO_AM_I (0x0C)
Device identification register. This register contains the device identifier which is set to 0xC4 by default. The value is factory
programmed. Consult factory for custom alternate values.
Table 24. WHO_AM_I Register
7
6
5
4
3
2
1
0
(NVM data)
(NVM data)
(NVM data)
(NVM data)
(NVM data)
(NVM data)
(NVM data)
(NVM data)
1
1
0
0
0
1
0
0
R
W
Reset
6.3
FIFO Setup
6.3.1
F_STATUS (0x0D)
If the FIFO subsystem data output register driver is enabled, the status register indicates the current status information of the
FIFO subsystem.
Table 25. F_STATUS
R
7
6
5
4
3
2
1
0
F_OVF
F_WMRK_FLAG
F_CNT5
F_CNT4
F_CNT3
F_CNT2
F_CNT1
F_CNT0
0
0
0
0
0
0
0
0
W
Reset
Table 26. FIFO Flag Event Descriptions
F_OVF
F_WMRK_FLAG
Event Description
0
—
No FIFO overflow events detected.
1
—
FIFO overflow event detected.
—
0
No FIFO watermark events detected.
—
1
FIFO watermark event detected. FIFO sample count greater than watermark value.
The F_OVF and F_WMRK_FLAG flags remain asserted while the event source is still active, but the user can clear the FIFO
interrupt bit flag in the interrupt source register (INT_SOURCE) by reading the F_STATUS register. Therefore the F_OVF bit flag
will remain asserted while the FIFO has overflowed and the F_WMRK_FLAG bit flag will remain asserted while the F_CNT value
is greater than then F_WMRK value.
Table 27. FIFO Sample Count Bit Descriptions
Name
F_CNT[5:0]
Description
FIFO sample counter. F_CNT[5:0] bits indicate the number of samples currently stored in the FIFO buffer. Count
000000 indicates that the FIFO is empty.
Default value: 00_0000.
(000001 to 100000 indicates 1 to 32 samples stored in FIFO
MPL3115A2
Sensors
Freescale Semiconductor
19
6.3.2
F_DATA (0x0E)
F_DATA is a read only address which provides access to 8-bit FIFO data. FIFO holds a maximum of 32 samples; a maximum
of 5 x 32 = 160 data bytes of samples can be read. When F_MODE bit in FIFO SETUP (F_SETUP) register is set to logic “1”,
the F_DATA pointer shares the same address location as OUT_P_MSB (0x01); therefore all accesses of the FIFO buffer data
use the I2C address 0x01. Reads from the other data registers (0x02, 0x03, 0x04, 0x05) will return a value of 0x00. Note: The
FIFO will NOT suspend to accumulate data during accessed to FIFO 8-bit data access (F_DATA).
Table 28. F_DATA 8-bit Data Access Register
7
6
5
4
R
3
2
1
0
0
0
0
0
F_DATA
W
Reset
0
0
0
0
Table 29. Read Accesses through F_DATA
1st read
nd
OUT_P_MSB (oldest)
read
OUT_P_CSB (oldest)
3 read
OUT_P_LSB (oldest)
4th read
OUT_T_MSB (oldest)
2
rd
th
5 read
OUT_T_LSB (oldest)
.
.
.
.
.
.
OUT_T_MSB (oldest)
0x00
0x00
6.3.3
F_SETUP (0x0F)
A FIFO sample count exceeding the watermark event does not stop the FIFO from accepting new data.
The FIFO update rate is dictated by the selected system acquisition rate.
When a byte is read from the FIFO buffer the oldest sample data in the FIFO buffer is returned and also deleted from the front
of the FIFO buffer, while the FIFO sample count is decremented by one. It is assumed that the host application shall use the I2C
BURST read transaction to dump the FIFO.
Table 30. F_SETUP Register
R
W
Reset
7
6
5
4
3
2
1
0
F_MODE1
F_MODE0
F_WMRK5
F_WMRK4
F_WMRK3
F_WMRK2
F_WMRK1
F_WMRK0
0
0
0
0
0
0
0
0
Table 31. F_SETUP Bit Descriptions
Name
Description
F_MODE[1:0](1)(2)(3)
FIFO buffer overflow mode.
Default value: 0
00: FIFO is disabled
01: FIFO contains the most recent samples when overflowed (circular buffer). Oldest sample is discarded to be
replaced by new sample
10: FIFO stops accepting new samples when overflowed
11: Not Used
The FIFO is flushed whenever the FIFO is disabled, or transitioning from “STANDBY” mode to “ACTIVE” mode.
Disabling the FIFO (F_MODE = 00) resets the F_OVF, F_WMRK_FLAG, F_CNT to zero.
A FIFO overflow event (i.e. F_CNT = 32) will assert the F_OVF flag and a FIFO sample count equal to the sample
count watermark (i.e. F_WMRK) asserts the F_WMRK_FLAG event flag.
MPL3115A2
20
Sensors
Freescale Semiconductor
Table 31. F_SETUP Bit Descriptions
FIFO Event Sample Count Watermark.
Default value: 00_0000.
These bits set the number of FIFO samples required to trigger a watermark interrupt. A FIFO watermark event flag
(F_WMK_FLAG) is raised when FIFO sample count F_CNT[5:0] value is equal to the F_ WMRK[5:0] watermark.
Setting the F_WMRK[5:0] to 00_0000 will disable the FIFO watermark event flag generation.
F_WMRK[5:0](2)
1. This bit field can be written in ACTIVE mode.
2. This bit field can be written in STANDBY mode.
3. The FIFO mode (F_MODE) cannot be switched between the two operational modes (01 & 10).
6.4
Time Delay Register
6.4.1
TIME_DLY(0x10)
The time delay register contains the number of ticks of data sample time since the last byte of the FIFO was written.
Starts increment on FIFO overflow or data wrap and clears when last byte of FIFO is read.
Table 32. Time Delay Register
R
7
6
5
4
3
2
1
0
TD7
TD6
TD5
TD4
TD3
TD2
TD1
TD0
0
0
0
0
0
0
0
0
W
Reset
6.5
System Mode Register
6.5.1
SYSMOD (0x11)
The system mode register indicates the current device operating mode. The System mode register also indicates the status
of the NVM parity error and FIFO gate error flags.
Table 33. SYSMOD Register
7
R
6
0
5
4
3
2
1
0
0
0
0
0
0
SYSMOD
0
0
0
0
0
0
W
Reset
0
0
Table 34. SYSMOD Bit Descriptions
Name
Description
RESERVED
SYSMOD
Resolved Bits 7-1, will always read 0.
System mode. Default value: 0.
0: STANDBY mode
1: ACTIVE mode
6.6
System Interrupt Status
6.6.1
INT_SOURCE (0x12)
Interrupt source register. The bits that are set (logic ‘1’) indicate which function has asserted its interrupt and conversely, bits
that are cleared (logic ‘0’) indicate which function has not asserted its interrupt.
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.
Table 35. INT_SOURCE Register
R
7
6
5
4
3
2
1
0
SRC_DRDY
SRC_FIFO
SRC_PW
SRC_TW
SRC_PTH
SRC_TTH
SRC_PCHG
SRC_TCHG
0
0
0
0
0
0
0
0
W
Reset
MPL3115A2
Sensors
Freescale Semiconductor
21
Table 36. INT_SOURCE Bit Descriptions
Name
Description
SRC_DRDY
Data ready interrupt status bit. Logic ‘1’ indicates that Pressure/Temperature data ready interrupt is active indicating the
presence of new data and/or a data overwrite, otherwise if it is a logic ‘0’.
This bit is asserted when the PTOW and/or PTDR is set and the functional block interrupt has been enabled.
This bit is cleared by reading the STATUS and Pressure/Temperature register.
SRC_FIFO
FIFO interrupt status bit. Logic ‘1’ indicates that a FIFO interrupt event such as an overflow event has occurred. Logic
‘0’ indicates that no FIFO interrupt event has occurred.
This bit is cleared by reading the F_STATUS register.
FIFO interrupt event generators: FIFO Overflow, or (Watermark: F_CNT = F_WMRK) and the functional block interrupt
has been enabled.
SRC_PW
Altitude/Pressure alerter status bit near or equal to target Pressure/Altitude (near is within target value ± window value).
Window value needs to be non zero for interrupt to trigger.
SRC_TW
Temperature alerter status bit near or equal to target temperature (near is within target value ± window value.) Window
value needs to be non zero for interrupt to trigger.
SRC_PTH
Altitude/Pressure threshold interrupt. With the window set to a non zero value, the trigger will occur on crossing any of
the thresholds: upper, center or lower. If the window is set to 0, it will only trigger on crossing the center threshold.
SRC_TTH
Temperature threshold interrupt. With the window set to a non zero value, the trigger will occur on crossing any of the
thresholds: upper, center or lower. If the window is set to 0, it will only trigger on crossing the center threshold.
SRC_PCHG
Delta P interrupt status bit.
SRC_TCHG
Delta T interrupt status bit
6.7
Sensor Data
6.7.1
PT_DATA_CFG (0x13)
The PT_DATA_CFG register configures the Pressure data, Temperature data and event flag generator.
Table 37. PT_DATA_CFG Register
R
7
6
5
4
3
0
0
0
0
0
0
0
0
0
0
W
Reset
2
1
0
DREM
PDEFE
TDEFE
0
0
0
Table 38. PT_DATA_CFG Bit Descriptions
Name
Description
DREM
Data ready event mode. If the DREM bit is set logic ‘1’ and one or more of the data ready event flags (PDEFE, TDEFE) are
enabled, then an event flag will be raise upon change in state of the data. If the DREM bit is cleared logic ‘0’ and one or
more of the data ready event flags are enabled, then an event flag will be raised whenever the system acquires a new set
of data.
Default value: 0.
0: Event detection disabled
1: Generate data ready event flag on new Pressure/Altitude and new Temperature data
PDEFE
Data event flag enable on new Pressure/Altitude data.
Default value: 0
0: Event detection disabled
1: Raise event flag on new Pressure/Altitude data
TDEFE
Data event flag enable on new Temperature data. Default value: 0
0: Event detection disabled
1: Raise event flag on new Temperature data
MPL3115A2
22
Sensors
Freescale Semiconductor
6.8
Barometric Pressure Input
6.8.1
BAR_IN_MSB, BAR_IN_LSB (0x14, 0x15)
Barometric input for altitude calculations. Input is equivalent sea level pressure for measurement location.
Value is input in 2 Pa units.
Units are input as unsigned 16-bit integers. The default value is 101,325 Pa. The default value can be changed by writing to
this register
Table 39. BAR_IN_MSB Register
R
W
Reset
7
6
5
4
3
2
1
0
BAR[15]
BAR[14]
BAR[13]
BAR[12]
BAR[11]
BAR[10]
BAR[9]
BAR[8]
1
1
0
0
0
1
0
1
7
6
5
4
3
2
1
0
BAR[7]
BAR[6]
BAR[5]
BAR[4]
BAR[3]
BAR[2]
BAR[1]
BAR[0]
1
1
1
0
0
1
1
1
Pressure/Altitude Target
Table 40. BAR_IN_LSB Register
R
W
Reset
6.9
Pressure/Altitude Target
6.9.1
P_TGT_MSB, P_TGT_LSB (0x16, 0x17)
Altitude/Pressure target value. This value works in conjunction with the window value (P_WND_MSB and P_WND_LSB).
In Altitude mode, the register value is 16-bit 2’s compliment value in meters.
In Pressure mode, the value is 16-bit unsigned value in 2 Pa units.
Notes: A flag is set when the sensor reading falls within the window defined by P_TGT_(MSB,LSB)±P_WND_(MSB,LSB). If
P_WND_(MSB,LSB) is set to 0 then no flag is generated.
Table 41. P_TGT_MSB Register
R
W
Reset
7
6
5
4
3
2
1
0
P_TGT15
P_TGT14
P_TGT13
P_TGT12
P_TGT11
P_TGT10
P_TGT9
P_TGT8
0
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
P_TGT7
P_TGT6
P_TGT5
P_TGT4
P_TGT3
P_TGT2
P_TGT1
P_TGT0
0
0
0
0
0
0
0
0
Table 42. P_TGT_LSB Register
R
W
Reset
6.10
Temperature Target
6.10.1 T_TGT (0x18)
Temperature target value input in 2’s compliment value in °C.
Note: A flag is set when the sensor reading falls within the window defined by T_TGT±T_WND. If T_WND is set to 0, then no
alarm is generated.
Table 43. T_TGT Register
R
W
Reset
7
6
5
4
3
2
1
0
T_TGT7
T_TGT6
T_TGT5
T_TGT4
T_TGT3
T_TGT2
T_TGT1
T_TGT0
0
0
0
0
0
0
0
0
MPL3115A2
Sensors
Freescale Semiconductor
23
6.11
Pressure/Altitude Window
6.11.1 P_WND_MSB, P_WND_LSB (0x19, 0x1A)
Pressure/Altitude window value. Unsigned 16-bit value of window value in meters or in 2 Pa units
Note: A flag is set when the sensor reading crosses the lower, center or upper level of the window from any direction.
Table 44. P_WND_LSB Register
R
W
Reset
7
6
5
4
3
2
1
0
P_W15
P_W 14
P_W 13
P_W 12
P_W 11
P_W 10
P_W 9
P_W 8
0
0
0
0
0
0
0
0
Table 45. P_WND_MSB Description
R
W
Reset
6.12
7
6
5
4
3
2
1
0
P_W7
P_W 6
P_W 5
P_W 4
P_W 3
P_W 2
P_W 1
P_W 0
0
0
0
0
0
0
0
0
Temperature Window
6.12.1 T_WND (0x1B)
Temperature alarm window value. Unsigned 8-bit value °C.
Note: A flag is set when the sensor reading crosses the lower, center or upper level of the window from any direction.
Table 46. T_WND Register
R
W
Reset
6.13
7
6
5
4
3
2
1
0
T_W7
T_W6
T_W5
T_W4
T_W3
T_W2
T_W1
T_W0
0
0
0
0
0
0
0
0
Minimum Pressure
6.13.1 P_MIN_MSB, P_MIN_CSB, P_MIN_LSB (0x1C, 0x1D, 0x1E)
Register with captured minimum Pressure/Altitude value.
The Altitude data is arranged as 20-bit 2’s compliment value in meters. Stored as meters with the 16 bits of P_MIN_MSB and
P_MIN_CSB and with fractions of a meter stored in 4 bits in position 7-4 of P_MIN_LSB.
The Pressure is arranged as 20-bit data in Pascals. The first 18 bits are located in P_MIN_MSB, P_MIN_CSB and bits 7-6 of
P_MIN_LSB. The 2 bits in position 5-4 of P_MIN_LSB represent the fractional component.
The register is cleared on power-up or manually by writing ‘0’ to the registers
Table 47. P_MIN_MSB Register
R
W
Reset
7
6
5
4
3
2
1
0
P_MIN 19
P_MIN 18
P_MIN 17
P_MIN 16
P_MIN 15
P_MIN 14
P_MIN 13
P_MIN 12
0
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
P_MIN 11
P_MIN 10
P_MIN 9
P_MIN 8
P_MIN 7
P_MIN 6
P_MIN 5
P_MIN 4
0
0
0
0
0
0
0
0
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
Table 48. P_MIN_CSB Register
R
W
Reset
Table 49. P_MIN_LSB Register
7
R
W
Reset
P_MIN 3
P_MIN 2
P_MIN 1
P_MIN0
0
0
0
0
MPL3115A2
24
Sensors
Freescale Semiconductor
6.14
Maximum Pressure
6.14.1 P_MAX_MSB, P_MAX_CSB, P_MAX_LSB (0x21, 0x22, 0x23)
Register with captured maximum Pressure/Altitude value.
The Altitude data is arranged as 20-bit 2’s compliment value in meters. Stored as meters with the 16 bits of P_MAX_MSB and
P_MAX_CSB and with fractions of a meter stored in 4 bits in position 7-4 of P_MAX_LSB.
The Pressure is arranged as 20-bit data in Pascals. The first 18 bits are located in P_MAX_MSB, P_MAX_CSB and bits 7-6
of P_MAX_LSB. The 2 bits in position 5-4 of P_MAX_LSB represent the fractional component.
The register is cleared on power-up or manually by writing ‘0’ to the registers.
Table 50. P_MAX_MSB Register
R
W
Reset
7
6
5
4
3
2
1
0
P_MAX 19
P_MAX 18
P_MAX 17
P_MAX 16
P_MAX 15
P_MAX 14
P_MAX 13
P_MAX 12
0
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
P_MAX 11
P_MAX 10
P_MAX 9
P_MAX 8
P_MAX 7
P_MAX 6
P_MAX 5
P_MAX 4
0
0
0
0
0
0
0
0
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
Table 51. P_MAX_CSB Register
R
W
Reset
Table 52. P_MAX_LSB Register
7
R
W
Reset
6.15
P_MAX 3
P_MAX 2
P_MAX 1
P_MAX0
0
0
0
0
Minimum Temperature
6.15.1 T_MIN_MSB, T_MIN_LSB (0x1F, 0x20)
Register with captured minimum temperature value.
The Temperature data is arranged as 12-bit 2’s compliment value in degrees C. The 8 bits of T_MIN_MSB representing degrees and with fractions of a degree stored in 4 bits in position 7-4 of T_MIN_LSB.
The register is cleared on power-up or manually by writing ‘0’ to the registers.
Table 53. T_MIN_MSB Register
R
W
Reset
7
6
5
4
3
2
1
0
T_MIN 11
T_MIN 10
T_MIN 9
T_MIN 8
T_MIN 7
T_MIN 6
T_MIN 5
T_MIN 4
0
0
0
0
0
0
0
0
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
Table 54. T_MIN_LSB Register
7
R
W
Reset
T_MIN 3
T_MIN 2
T_MIN 1
T_MIN 0
0
0
0
0
MPL3115A2
Sensors
Freescale Semiconductor
25
6.16
Maximum Temperature
6.16.1 T_MAX_MSB, T_MAX_LSB (0x24, 0x25)
Register with captured maximum temperature value.
The Temperature data is arranged as 12-bit 2’s compliment value in degrees C. The 8 bits of T_MAX_MSB representing degrees and with fractions of a degree stored in 4 bits in position 7-4 of T_MAX_LSB.
The register is cleared on power-up or manually by writing 0 to the registers
Table 55. T_MAX_MSB Register
R
W
Reset
7
6
5
4
3
2
1
0
T_MAX 11
T_MAX 10
T_MAX 9
T_MAX 8
T_MAX 7
T_MAX 6
T_MAX 5
T_MAX 4
0
0
0
0
0
0
0
0
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
Table 56. T_MAX_LSB Register
7
R
W
Reset
6.17
T_MAX 3
T_MAX 2
T_MAX 1
T_MAX 0
0
0
0
0
Control Registers
Note: Except for standby mode selection, the device must be in STANDBY mode to change any of the fields within
CTRL_REG1 (0x26).
6.17.1 CTRL_REG1 (0x26)
Table 57. CTRL_REG1 Register
7
R
W
Reset
6
5
4
3
ALT
RAW
OS2
OS1
OS0
0
0
0
0
0
2
0
RST
0
1
0
OST
SBYB
0
0
Table 58. CTRL_REG1 Bit Descriptions
Name
Description
SBYB
This bit is sets the mode to ACTIVE, where the system will make measurements at periodic times based on the value of ST bits.
Default value: 0 (STANDBY)
0: Part is in STANDBY mode
1: Part is ACTIVE
OST
RST
OST bit will initiate a measurement immediately. If the ACTV bit is set, setting the OST bit will initiate an immediate
measurement, but will not return to STANDBY mode until after the data is acquired.
One Shot: When set and SBYB bit is 0, unit will make acquisition then return to STANDBY after new data is acquired.
Software Reset. This bit is used to activate the software reset. The Boot mechanism can be enabled in STANDBY and ACTIVE
mode.
When the Boot bit is enabled the boot mechanism resets all functional block registers and loads the respective internal registers
with default values.
The system will automatically transition to STANDBY mode if not already in STANDBY mode before the software reset (re-BOOT
process) can occur.
Therefore, if the system was already in STANDBY mode, the reboot process will immediately begin; else if the system was in
ACTIVE mode, the boot mechanism will automatically transition the system from ACTIVE mode to STANDBY mode, only then
can the reboot process begin.
The I2C communication system is reset to avoid accidental corrupted data access.
At the end of the boot process the RST bit is de-asserted to 0. Reading this bit will return a value of zero.
Default value: 0
0: Device reset disabled
1: Device reset enabled
MPL3115A2
26
Sensors
Freescale Semiconductor
Table 58. CTRL_REG1 Bit Descriptions
Oversample Ratio. These bits select the oversampling ratio. Value is 2OS. The default value is 000 for a ratio of 1.
OS[2:0]
RAW
RAW output mode. RAW bit will output ADC data with no post processing, except for oversampling. No scaling or offsets will be
applied in the digital domain. The FIFO must be disabled and all other functionality: Alarms, Deltas, and other interrupts are
disabled.
ALT
Altimeter-Barometer mode.
Default value: 0
1: Part is in Altimeter Mode
0: Part is in Barometer mode
Table 59. System Output Sample Rate Selection
OS2
OS1
OS0
Oversample
Ratio
Minimum Time
Between
Data Samples
Fastest OST
Data Output
Rate I2C(1)
0
0
0
1
2.5 ms
22.75 ms
0
0
1
2
5 ms
25.25 ms
0
1
0
4
10 ms
30.25 ms
0
1
1
8
20 ms
40.25 ms
1
0
0
16
40 ms
60.25 ms
1
0
1
32
80 ms
100.25 ms
1
1
0
64
160 ms
180.25 ms
1
1
1
128
320 ms
340.25ms
1. The fastest OST output rate is calculated by using a 4 byte I2C transaction. A write to CNTL_REG_1 followed by
a 3 byte read of the OUT_P at the specified OSR rate.
RAW bit overrides the ALT mode and forces to give uncompensated Pressure and Temperature data
6.17.2 CTRL_REG2 (0x27)
Table 60. CTRL_REG2 Register
R
7
6
5
4
3
2
1
0
0
0
LOAD_OUTP
UT
ALARM_SEL
ST[3]
ST[2]
ST[1]
ST[0]
0
0
0
0
0
0
0
0
W
Reset
Table 61. CTRL_REG2 Bit Descriptions
Name
ST[3:0]
Description
Auto acquisition time step.
Default value: 0
Step value is 2ST: Giving a range of 1 second to 215 seconds (9 hours)
ALARM_SEL
LOAD_OUTPUT
The bit selects the Target value for SRP_PW/SRC_PT and SRC_PTH/SRC_TTH
Default value: 0
0: The values in P_TGT_MSB, P_TGT_LSB and T_TGT are used (Default)
1: The values in OUT_P/OUT_T are used for calculating the interrupts SRC_PW/SRC_TW and SRC_PTH/SRC_TTH.
This is to load the target values for SRC_PW/SRC_TW and SRC_PTH/SRC_TTH.
Default value: 0
0: Do not load OUT_P/OUT_T as target values
1: The next values of OUT_P/OUT_T are used to set the target values for the interrupts.
Note:
1. This bit must be set at least once if ALARM_SEL=1
2. To reload the next OUT_P/OUT_T as the target values clear and set again.
MPL3115A2
Sensors
Freescale Semiconductor
27
6.17.3 CTRL_REG3 (Interrupt CTRL Register) (0x28)
Table 62. CTRL_REG3 Register
7
R
6
5
0
W
Reset
0
0
4
IPOL1
PP_OD1
0
0
3
2
0
0
1
0
IPOL2
PP_OD2
0
0
0
Table 63. CTRL_REG3 Description
Name
Description
IPOL1
The IPOL bit selects the polarity of the interrupt signal. When IPOL is ‘0’ (default value) any interrupt event will signalled
with a logical ‘0'. Interrupt Polarity active high, or active low on interrupt pad INT1.
Default value: 0
0: Active low
1: Active high
PP_OD1
This bit configures the interrupt pin to Push-Pull or in Open Drain mode. The default value is 0 which corresponds to
Push-Pull mode. The open drain configuration can be used for connecting multiple interrupt signals on the same interrupt
line. Push-Pull/Open Drain selection on interrupt pad INT1.
Default value: 0
0: Internal Pullup
1: Open drain
Interrupt Polarity active high, or active low on interrupt pad INT2.
Default value: 0
0: Active low
1: Active high
IPOL2
Push-Pull/Open Drain selection on interrupt pad INT2.
Default value: 0
0: Internal Pull-up
1: Open drain
PP_OD2
6.17.4 CTRL_REG4 [Interrupt Enable Register] (0x29)
The corresponding functional block interrupt enable bit allows the functional block to route its event detection flags to the system’s interrupt controller. The interrupt controller routes the enabled functional block interrupt to the INT1 or INT2 pin.
Table 64. CTRL_REG4 Register
R
W
7
6
INT_EN_DRDY
INT_EN _FIFO
0
0
Reset
5
4
3
2
1
0
INT_EN_PW INT_EN_TW INT_EN_PTH INT_EN_TTH INT_EN_PCHG INT_EN_TCHG
0
0
0
0
0
0
Table 65. Interrupt Enable Register Description
Interrupt Enable
Description
INT_EN_DRDY
Interrupt Enable.
Default value: 0
0: Data Ready interrupt disabled
1: Data Ready interrupt enabled
INT_EN_FIFO
Interrupt Enable.
Default value: 0
0: FIFO interrupt disabled
1: FIFO interrupt enabled
INT_EN_PW
Interrupt Enable.
Default value: 0
0: Pressure window interrupt disabled
1: Pressure window interrupt enabled
MPL3115A2
28
Sensors
Freescale Semiconductor
Table 65. Interrupt Enable Register Description
INT_EN_TW
Interrupt Enable.
Default value: 0
0: Temperature window interrupt disabled
1: Temperature window interrupt enabled.
INT_EN_PTH
Interrupt Enable.
Default value: 0
0: Pressure Threshold interrupt disabled
1: Pressure Threshold interrupt enabled.
INT_EN_TTH
Interrupt Enable.
Default value: 0
0: Temperature Threshold interrupt disabled
1: Temperature Threshold interrupt enabled.
INT_EN_PCHG
Interrupt Enable.
Default value: 0
0: Pressure Change interrupt disabled
1: Pressure Change interrupt enabled.
INT_EN_TCHG
Interrupt Enable.
Default value: 0
0: Temperature Change interrupt disabled
1: Temperature Change interrupt enabled.
MPL3115A2
Sensors
Freescale Semiconductor
29
6.17.5 CTRL_REG5 [Interrupt Configuration Register] (0x2A)
Table 66. CTRL_REG5 Register
7
R
W
6
INT_CFG_DRDY
Reset
5
4
3
2
1
0
INT_CFG_FIFO INT_CFG_PW INT_CFG_TW INT_CFG_PTH INT_CFG_TTH INT_CFG_PCHG INT_CFG_TCHG
0
0
0
0
0
0
0
0
Table 67. Interrupt Configuration Register Descriptions
Interrupt Configuration
Description
INT_CFG_DRDY
INT1/INT2 Configuration. Default value: 0
0: Interrupt is routed to INT2 pin; 1: Interrupt is routed to INT1
INT_CFG_FIFO
INT1/INT2 Configuration. Default value: 0
0: Interrupt is routed to INT2 pin; 1: Interrupt is routed to INT1
INT_CFG_PW
INT1/INT2 Configuration. Default value: 0
0: Interrupt is routed to INT2 pin; 1: Interrupt is routed to INT1
INT_CFG_TW
INT1/INT2 Configuration. Default value: 0
0: Interrupt is routed to INT2 pin; 1: Interrupt is routed to INT1
INT_CFG_PTH
INT1/INT2 Configuration. Default value: 0
0: Interrupt is routed to INT2 pin; 1: Interrupt is routed to INT1
INT_CFG_TTH
INT1/INT2 Configuration. Default value: 0
0: Interrupt is routed to INT2 pin; 1: Interrupt is routed to INT1
INT_CFG_PCHG
INT1/INT2 Configuration. Default value: 0
0: Interrupt is routed to INT2 pin; 1: Interrupt is routed to INT1
INT_CFG_TCHG
INT1/INT2 Configuration. Default value: 0
0: Interrupt is routed to INT2 pin; 1: Interrupt is routed to INT1
Data Ready
FIFO
Pressure Threshold
Temperature Threshold
Pressure Window
Temperature Window
Pressure Change
Temperature Change
Event Flag 0
Event Flag 1
INT1
Event Flag 2
Event Flag 3
Event Flag 4
INTERRUPT
CONTROLLER
INT2
Event Flag 5
Event Flag 6
Event Flag 7
8
INT_ENABLE
8
INT_CFG
Figure 5. Interrupt Controller Block Diagram
MPL3115A2
30
Sensors
Freescale Semiconductor
The system’s interrupt controller uses the corresponding bit field in the CTRL_REG5 register to determine the routing table for
the INT1 and INT2 interrupt pins. If the bit value is logic ‘0’ the functional block’s interrupt is routed to INT2, and if the bit value is
logic ‘1’ then the interrupt is routed to INT1. All interrupts routed to INT1 or INT2 are logically OR’d as illustrated in Figure 6, thus
one or more functional blocks can assert an interrupt pin simultaneously; therefore a host application responding to an interrupt
should read the INT_SOURCE register to determine the appropriate sources of the interrupt.
SRC DR
INT
SRC Pressure Change
OR
.
.
.
SRC Temp Change
Figure 6. INT1/INT2 PIN Control Logic
6.18
Offset Correction
The 2’s complement offset correction registers values are used to trim the temperature and pressure offsets of the factory trim
settings that might occur over the life of the product.
The resolution of the pressure offset register is 4 Pa per bit.
6.18.1 OFF_P (0x2B)
Pressure user accessible offset trim value expressed as an 8-bit 2's complement number. The user offset registers may be
adjusted to enhance accuracy and optimize the system performance. Range is ±512 Pa, 4 Pa per LSB.
Table 68. OFF_P Register
R
W
7
6
5
4
3
2
1
0
OFF_P7
OFF_P6
OFF_P5
OFF_P4
OFF_P3
OFF_P2
OFF_P1
OFF_P0
0
0
0
0
0
0
0
0
Reset
Table 69. OFF_P Description
Name
Description
OFF_P7-OFF_P0
Pressure offset trim value.
Default value: 0000_0000.
6.18.2 OFF_T (0x2C)
Temperature user accessible offset trim value expressed as an 8-bit 2's complement number. The user offset registers may
be adjusted to enhance accuracy and optimize the system performance. Range is ±8°, 0.0625°C per LSB.
Table 70. OFF_T Register
R
W
7
6
5
4
3
2
1
0
OFF_T7
OFF_T6
OFF_T5
OFF_T4
OFF_T3
OFF_T2
OFF_T1
OFF_T0
0
0
0
0
0
0
0
0
Reset
Table 71. OFF_Y Description
Name
OFF_T7-OFF_T0
Description
Temperature offset trim value.
Default value: 0000_0000.
MPL3115A2
Sensors
Freescale Semiconductor
31
6.18.3 OFF_H (0x2D)
Altitude Data User Offset Register (OFF_H) is expressed as a 2’s complement number in meters. The user offset register provides user adjustment to the vertical height of the Altitude output. The range of values are ±128 meters.
Table 72. OFF_T Register
R
W
7
6
5
4
3
2
1
0
OFF_H7
OFF_H6
OFF_H5
OFF_H4
OFF_H3
OFF_H2
OFF_H1
OFF_H0
0
0
0
0
0
0
0
0
Reset
Table 73. OFF_Y Description
Name
OFF_H7-OFF_H0
Description
Height offset trim value.
Default value: 0000_0000.
MPL3115A2
32
Sensors
Freescale Semiconductor
7
Soldering/Landing Pad Information
The LGA package is compliant with the RoHS standard.
Figure 7. MPL3115A2 Recommended PCB Landing Pattern.
MPL3115A2
Sensors
Freescale Semiconductor
33
PACKAGE DIMENSIONS
CASE 2053-01
ISSUE O
LGA PACKAGE
MPL3115A2
34
Sensors
Freescale Semiconductor
PACKAGE DIMENSIONS
CASE 2053-01
ISSUE O
LGA PACKAGE
MPL3115A2
Sensors
Freescale Semiconductor
35
Table 74. Revision History
Revision
number
Revision
date
0
06/2011
• Initial Release
1
12/2011
•
•
•
•
•
•
•
•
•
Description of changes
Added bullet and new row under Ordering Information on pg 1.
Global change to register names 0x16, 0x17, 0x18, 0x19, 0x1A; changed ARM to TGT.
Global change to bit names in registers 0x12 and 0x2A.
Section 2.1, Table 1, changed Min and Max values for Pressure Absolute Accuracy.
Table 3 changed units to ns for SDA Data Hold Time
Added Figure 4. I2C Bus Transmission Signals
Section 4.3: added equation
Section 5: Added new paragraph. Added new equations in 5.6.1 and 5.6.2.
Section 6: Added footnote to Table 11, changed TOW description in Table 12, updated
paragraphs of Sections 6.1.3 and 6.1.4, Table 57 added sentence in RAW description column,
Table 58 added column for Fastest OST Data Output I2C, updated Figure 5 and Figure 6.
MPL3115A2
36
Sensors
Freescale Semiconductor
How to Reach Us:
Home Page:
www.freescale.com
Web Support:
http://www.freescale.com/support
USA/Europe or Locations Not Listed:
Freescale Semiconductor, Inc.
Technical Information Center, EL516
2100 East Elliot Road
Tempe, Arizona 85284
1-800-521-6274 or +1-480-768-2130
www.freescale.com/support
Europe, Middle East, and Africa:
Freescale Halbleiter Deutschland GmbH
Technical Information Center
Schatzbogen 7
81829 Muenchen, Germany
+44 1296 380 456 (English)
+46 8 52200080 (English)
+49 89 92103 559 (German)
+33 1 69 35 48 48 (French)
www.freescale.com/support
Japan:
Freescale Semiconductor Japan Ltd.
Headquarters
ARCO Tower 15F
1-8-1, Shimo-Meguro, Meguro-ku,
Tokyo 153-0064
Japan
0120 191014 or +81 3 5437 9125
[email protected]
Asia/Pacific:
Freescale Semiconductor China Ltd.
Exchange Building 23F
No. 118 Jianguo Road
Chaoyang District
Beijing 100022
China
+86 10 5879 8000
[email protected]
For Literature Requests Only:
Freescale Semiconductor Literature Distribution Center
1-800-441-2447 or +1-303-675-2140
Fax: +1-303-675-2150
[email protected]
Information in this document is provided solely to enable system and software
implementers to use Freescale Semiconductor products. There are no express or
implied copyright licenses granted hereunder to design or fabricate any integrated
circuits or integrated circuits based on the information in this document.
Freescale Semiconductor reserves the right to make changes without further notice to
any products herein. Freescale Semiconductor makes no warranty, representation or
guarantee regarding the suitability of its products for any particular purpose, nor does
Freescale Semiconductor assume any liability arising out of the application or use of any
product or circuit, and specifically disclaims any and all liability, including without
limitation consequential or incidental damages. “Typical” parameters that may be
provided in Freescale Semiconductor data sheets and/or specifications can and do vary
in different applications and actual performance may vary over time. All operating
parameters, including “Typicals”, must be validated for each customer application by
customer’s technical experts. Freescale Semiconductor does not convey any license
under its patent rights nor the rights of others. Freescale Semiconductor products are
not designed, intended, or authorized for use as components in systems intended for
surgical implant into the body, or other applications intended to support or sustain life,
or for any other application in which the failure of the Freescale Semiconductor product
could create a situation where personal injury or death may occur. Should Buyer
purchase or use Freescale Semiconductor products for any such unintended or
unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and
its officers, employees, subsidiaries, affiliates, and distributors harmless against all
claims, costs, damages, and expenses, and reasonable attorney fees arising out of,
directly or indirectly, any claim of personal injury or death associated with such
unintended or unauthorized use, even if such claim alleges that Freescale
Semiconductor was negligent regarding the design or manufacture of the part.
Freescale, and the Freescale logo are trademarks of Freescale Semiconductor, Inc.,
Reg. U.S. Pat. & Tm. Off. Xtrinsic is a trademark of Freescale Semiconductor, Inc. All
other product or service names are the property of their respective owners.
© Freescale Semiconductor, Inc., 2011. All rights reserved.
RoHS-compliant and/or Pb-free versions of Freescale products have the functionality and electrical
characteristics of their non-RoHS-compliant and/or non-Pb-free counterparts. For further
information, see http:/www.freescale.com or contact your Freescale sales representative.
For information on Freescale’s Environmental Products program, go to http://www.freescale.com/epp.
MPL3115A2
Rev. 1
12/2011
Similar pages