Professional Documents
Culture Documents
Features
LGA PACKAGE
• 1.95V to 3.6V Supply Voltage, internally regulated by LDO 5.0 mm by 3.0 mm by 1.1 mm
• 1.6V to 3.6V Digital Interface Supply Voltage
• Fully Compensated internally
• Direct Reading, Compensated
Top View
– Pressure: 20-bit measurement (Pascals)
– Altitude: 20-bit measurement (meters)
VDD 1 8 SCL
– Temperature: 12-bit measurement (degrees Celsius)
• Programmable Events CAP 2 7 SDA
• Autonomous Data Acquisition
• Resolution down to 1 ft. / 30 cm GND 3 6 INT1
• 32 Sample FIFO
VDDIO 4 5 INT2
• 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) 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
# of Ports Pressure Type Digital
Device Name Package Options Case No.
None Single Dual Gauge Differential Absolute Interface
MPL3115A2 Tray 2153 • • •
MPL3115A2R1 Tape & Reel (1000) 2153 • • •
This document contains information on a new product. Specifications and information herein
are subject to change without notice.
© 2011-2012 Freescale Semiconductor, Inc. All rights reserved.
Contents
1 Block Diagram and Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Mechanical and Electrical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1 Mechanical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.1 I2C Interface Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4 Quick Start Quick Setup Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5 Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.1 Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.2 Accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.3 Pressure/Altitude. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.4 Power Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6 Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.1 Factory Calibration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.2 Barometer/Altimeter Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.3 Temperature Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.4 Autonomous Data Acquisition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.5 FIFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.6 External Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.7 Pressure/Altitude and Temperature Delta. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.8 Min/Max Data Value Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.9 Digital Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
7 Register Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.1 Sensor Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.2 Device ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.3 FIFO Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.4 Time Delay Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.5 System Mode Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.6 System Interrupt Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.7 Sensor Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7.8 Barometric Pressure Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.9 Pressure/Altitude Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.10 Temperature Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.11 Pressure/Altitude Window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.12 Temperature Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.13 Minimum Pressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.14 Maximum Pressure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.15 Minimum Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.16 Maximum Temperature. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.17 Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.18 Offset Correction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8 Soldering/Landing Pad Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
9 Tape and Reel Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Related Documentation
The MPL3115A2 device features and operations are described in a variety of reference manuals, user guides, and application
notes. To find the most-current versions of these documents:
1. Go to the Freescale homepage at:
http://www.freescale.com/
2. In the Keyword search box at the top of the page, enter the device number MPL3115A2.
3. In the Refine Your Result pane on the left, click on the Documentation link.
MPL3115A2
Sensors
2 Freescale Semiconductor, Inc.
1 Block Diagram and Pin Descriptions
VVdd
DD
Reference
Reference VDDIO
+ VddIO
+
Regulator
Regulator CAP
CAP
SDA
SDA
SCL
SCL
Sense
Pressure Amp
Sensor Digital Signal
MUX ADC Processing and
Control INT1
INT1
Temp
INT2
INT2
3 GND Ground
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 3
VDD
Vdd
SDA
2 7
100nF
INT1
3 6
VDDIO
VddIO INT2
4 5
The device power is supplied through the VDD line. Power supply decoupling capacitors (100 nF ceramic plus 10 F bulk or
10 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
4 Freescale Semiconductor, Inc.
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 Typ Max Unit
Pressure Sensor
Calibrated Range 50 110 kPa
1 PFS Measurement Range
Operational Range 20 110 kPa
1x Oversample(2) 19 Pa RMS
2 Pressure Reading Noise
(2)
128x Oversample 1.5 Pa RMS
50 to 110 kPa
-0.4 0.4
over 0°C to 50°C
3 Pressure Absolute Accuracy kPa
50 to 110 kPa
±0.4
over -10°C to 70°C
Temperature Sensor
7 TFS Measurement Range -40 +85 °C
@ 25°C ±1
8 Temperature Accuracy °C
Over Temperature Range ±3
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 5
3 Electrical Characteristics
Table 3. Electrical Characteristics @ VDD = 2.5V, T = 25°C unless otherwise noted.
Ref Symbol Parameter Test Conditions Min Typ Max Unit
1 VDDIO I/O Supply Voltage 1.62 1.8 3.6 V
Standard Mode
4 IDD Integrated Current 1 update per second 40 µA
Oversample = 16
MPL3115A2
Sensors
6 Freescale Semiconductor, Inc.
3.1 I2C Interface Characteristics
Table 4. I2C Slave Timing Values(1)
I 2C
Ref Symbol Parameter Unit
Condition Min Max
1 fSCL SCL Clock Frequency Pull-up = 1 k Cb = 400 pF 0 400 KHz
3 tBUF Bus free time between STOP and START condition 1.3 µs
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 7
MSB LSB MSB LSB
SCL 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9
SDA AD7 AD6 AD5 AD4 AD3 AD2 AD1 R/W XXX D7 D6 D5 D4 D3 D2 D1 D0
SDA AD7 AD6 AD5 AD4 AD3 AD2 AD1 R/W XX AD7 AD6 AD5 AD4 AD3 AD2 AD1 R/W
Start Calling Address Read/ Ack Repeated New Calling Address Read/ No Stop
Signal Write Bit Start Write Ack Signal
Signal Bit
MPL3115A2
Sensors
8 Freescale Semiconductor, Inc.
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 ex-
tended periods may affect device reliability.
Input Voltage on any Control Pin (SCL, SDA) VIN -0.3 to VDDIO + 0.3 V
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
Sensors
Freescale Semiconductor, Inc. 9
4 Quick Start Quick Setup Guide
The quick setup guide shows how to put the part in Altimeter mode with an OSR of 128. You may then select your data retrieval
method between polling, interrupt or FIFO. The following routines are used:
/*********************************************************\
* IIC Write Register
\*********************************************************/
void IIC_RegWrite(byte address, byte reg,byte val)
{
IICC_TX = 1; // Transmit Mode
IIC_Start(); // Send Start
IIC_CycleWrite(address); // Send IIC "Write" Address
IIC_CycleWrite(reg); // Send Register
IIC_CycleWrite(val); // Send Value
IIC_Stop(); // Send Stop
}
/*********************************************************\
* IIC Read Register
\*********************************************************/
byte IIC_RegRead(byte address, byte reg)
{
byte b;
IICC_TX = 1; // Transmit Mode
IIC_Start(); // Send Start
IIC_CycleWrite(address); // Send IIC "Write" Address
IIC_CycleWrite(reg); // Send Register
IIC_RepeatStart(); // Send Repeat Start
IIC_CycleWrite(address+1); // Send IIC "Read" Address
b = IIC_CycleRead(1); // *** Dummy read: reads
// "IIC_ReadAddress" value ***
b = IIC_StopRead(); // Send Stop Read Command IICD
return b;
}
/*********************************************************\
* IIC Read Multiple Registers
\*********************************************************/
void IIC_RegReadN(byte address, byte reg1,byte N,byte *array)
{
byte b;
IICC_TX = 1; // Transmit Mode
IIC_Start(); // Send Start
IIC_CycleWrite(address); // Send IIC "Write" Address
IIC_CycleWrite(reg1); // Send Register
IIC_RepeatStart(); // Send Repeat Start
IIC_CycleWrite(address+1); // Send IIC "Read" Address
b = IIC_CycleRead(N); // *** Dummy read: reads
// "IIC_ReadAddress" value ***
MPL3115A2
Sensors
10 Freescale Semiconductor, Inc.
while (N>1) // Read N-1 Register Values
{
N--;
b = IIC_CycleRead(N);
*array = b;
array++;
}
b = IIC_StopRead(); // Send Stop Read which returns the
// IICD
*array = b;
}
/*********************************************************\
* Initiate IIC Start Condition
\*********************************************************/
void IIC_Start(void)
{
IICC_MST = 1;
timeout = 0;
while ( (!IICS_BUSY) && (timeout<1000))
timeout++;
if (timeout >= 1000)
error |= 0x01;
} //*** Wait until BUSY=0
/*********************************************************\
* Initiate IIC Stop Condition
\*********************************************************/
byte IIC_StopRead(void)
{
IICC_MST = 0;
timeout = 0;
while ( (IICS_BUSY) && (timeout<1000))
timeout++;
if (timeout >= 1000)
error |= 0x02;
return IICD;
} //*** Wait until BUSY=0
For further information and examples please read application note AN4519 Data Manipulation and Basic Settings of the
MPL3115A2 Command Line Interface.
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 11
Flow chart for Polling or Interrupt - No FIFO
/* Set to Altimeter with an OSR = 128 */ /* Set INT to Active Low Open Drain */
IIC_RegWrite(SlaveAddressIIC, 0x26, 0xB8); IIC_RegWrite(SlaveAddressIIC, 0x28, 0x11);
/* Set Active */
IIC_RegWrite(SlaveAddressIIC, 0x26, 0xB9);
Interrupt
Poll data or use
interrupt INT2 No
Check for interrupt
on pin INT2
Service interrupt
Polling and clear
Yes
/* Set Active */
/* Read INT_SOURCE */
IIC _RegWrite(SlaveAddressIIC, 0x26, 0xB9);
INT_S = IIC _RegRead(SlaveAddressIIC, 0x12);
No
/* Is SRC_DRDY Set */
/* Is Data Ready */ No (INT_S & 0x80) == TRUE
(STA & 0x08) == TRUE
Yes
Yes
/* Read OUT_P and OUT_T */ /* Read OUT_P and OUT_T */
/* This clears the DRDY Interrupt */ /* This clears the DRDY Interrupt */
OUT_P_MSB = IIC_RegRead(SlaveAddressIIC, 0x01); OUT_P_MSB = IIC_RegRead(SlaveAddressIIC, 0x01);
OUT_P_CSB = IIC_RegRead(SlaveAddressIIC, 0x02); OUT_P_CSB = IIC_RegRead(SlaveAddressIIC, 0x02);
OUT_P_LSB = IIC_RegRead(SlaveAddressIIC, 0x03); OUT_P_LSB = IIC_RegRead(SlaveAddressIIC, 0x03);
OUT_T_MSB = IIC_RegRead(SlaveAddressIIC, 0x04); OUT_T_MSB = IIC_RegRead(SlaveAddressIIC, 0x04);
OUT_T_LSB = IIC_RegRead(SlaveAddressIIC, 0x05); OUT_T_LSB = IIC_RegRead(SlaveAddressIIC, 0x05);
Clear Interrupt
MPL3115A2
Sensors
12 Freescale Semiconductor, Inc.
Flow chart for FIFO setup
/* Set Active */
IIC_RegWrite(SlaveAddressIIC, 0x26, 0xB9);
/* Set INT to Active Low Open Drain */
IIC_RegWrite(SlaveAddressIIC, 0x28, 0x11);
Yes
/* Read INT_SOURCE */
INT_S = IIC_RegRead(SlaveAddressIIC, 0x12);
Service interrupt
and clear
No /* Is SRC_FIFO Set */
(INT_S & 0x40) == TRUE
No /* Is F_WMRK_FLAG Set */
(F_S & 0x40) == TRUE
Yes
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 13
5 Terminology
5.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.
5.2 Accuracy
5.2.1 Offset
The offset is defined as the output signal obtained when the Reference Pressure (a vacuum for an absolute pressure sensor)
is applied to the sensor. Offset error affects absolute pressure measurements but not relative pressure measurements. An alti-
tude measurement is the pressure value in comparison to sea level, a Barometric measurement is the pressure value read by
the sensor, i.e. a measurement of total pressure seen (e.g. 70 kPa), or total height (e.g. 3000m) 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 pres-
sure 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 calcula-
tion. 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.
5.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.
5.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.
5.3 Pressure/Altitude
The MPL3115A2 device is a high accuracy pressure sensor with integrated data calculation and logging capabilities. The al-
titude 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 Pas-
cals (Pa), and fractions of a Pa. Altitude is given in meters (m) and fractions of a meter. The altitude is calculated from the pres-
sure using the equation below:
0.1902632
h = 44330.77 1 – p p 0 + OFF_H (Register Value)
Where p0 = sea level pressure (101326 Pa) and h is in meters. The MPL3115A2 uses this value since the offset register is
defined as 2 Pascals per LSB.
MPL3115A2
Sensors
14 Freescale Semiconductor, Inc.
5.4 Power Modes of Operation
SLEEP
ACTIVE
5.4.1 Off
Unit is powered down and has no operating functionality. VDD and VDDIO are not powered.
5.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 mode.
5.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.
OFF Powered Down < 1.62V < VDD + 0.3V Device is powered off.
SBYB bit of CTRL_REG1 is Only POR and digital blocks are enabled.
STANDBY I2C Communication with device is possible ON
cleared Analog subsystem is disabled.
6 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 I2C interface.
The device has two operational modes, barometer and altimeter. Both modes include a thermometer temperature output func-
tion.
Power consumption and sensitivity are programmable where the data oversampling ratio can be set to balance current con-
sumption 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 INT1
and INT2. These can be set to generate an interrupt signal when a new set of Pressure/Altitude and Temperature data is avail-
able, thereby simplifying data acquisition for the host controller. These interrupt pins can also be configured to generate interrupts
when a user programmed set of conditions are met (See section 6.6). 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 Pres-
sure/Altitude or Temperature is detected.
In RAW mode, the FIFO must be disabled and all other functionality: Alarms, Deltas and other interrupts are disabled.
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 15
6.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 ad-
justments are stored in volatile registers. The factory calibration values are not affected, and are always used by default on power-
up.
6.5 FIFO
A 32 sample FIFO is incorporated to minimize the overhead of collecting multiple data samples. The FIFO stores both Tem-
perature 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.
MPL3115A2
Sensors
16 Freescale Semiconductor, Inc.
6.6.3 Reach Target Threshold Temperature (SRC_TTH)
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.
Note: When the window value is set to 0 then the interrupt will only be generated when reaching or crossing the target value.
SCL 2
I 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
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 17
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. For further information and examples, please read application note AN4519 Sensor
I2C Setup and FAQ.
MPL3115A2
Sensors
18 Freescale Semiconductor, Inc.
7 Register Descriptions
Table 9. Register Address Map
Reset
when
Register Auto-Increment
Name Reset STBY Type Comment
Address Address
to
Active
Sensor Status Register
0x00 0x00 Yes R 0x01 Alias for DR_STATUS or F_STATUS
(STATUS)(1)(2)
Root pointer to
Bits 12-19 of 20-bit
Pressure Data Out MSB Pressure and
0x01 0x00 Yes R 0x02 0x01 real-time Pressure
(OUT P_MSB)(1)(2) Temperature FIFO
sample.
data.
Pressure Data Out CSB
0x02 0x00 Yes R 0x03 Bits 4-11 of 20-bit real-time Pressure sample
(OUT_P_CSB)(1)(2)
Pressure Data Out LSB
0x03 0x00 Yes R 0x04 Bits 0-3 of 20-bit real-time Pressure sample
(OUT_P _LSB)(1)(2)
Temperature Data Out MSB Bits 4-11 of 12-bit real-time Temperature
0x04 0x00 Yes R 0x05
(OUT_T_MSB)(1)(2) sample
Temperature Data Out LSB Bits 1-3 of 12-bit real-time Temperature
0x05 0x00 Yes R 0x00
(OUT_T _LSB)(1)(2) sample
Sensor Status Register
0x06/0x00 0x00 Yes R 0x07 Data Ready status information
(DR_STATUS)(1)(2)
Pressure Data Out Delta MSB
0x07 0x00 Yes R 0x08 Bits 12-19 of 20-bit Pressure change data
(OUT_P_DELTA MSB)(1)(2)
Pressure Data Out Delta CSB
0x08 0x00 Yes R 0x09 Bits 4-11 of 20-bit Pressure change data
(OUT_P_DELTA_CSB)(1)(2)
Pressure Data Out Delta LSB
0x09 0x00 Yes R 0x0A Bits 0-3 of 20-bit Pressure change data
(OUT_P_DELTA_LSB)(1)(2)
Temperature Data Out Delta MSB
0x0A 0x00 Yes R 0x0B Bits 4-11 of 12-bit Temperature change data
(OUT_T_DELTA_MSB)(1)(2)
Temperature Data Out Delta LSB
0x0B 0x00 Yes R 0x06 Bits 0-3 of 12-bit Temperature change data
(OUT_T_DELTA_LSB)(1)(2)
Device Identification Register
0x0C 0xC4 No R 0x0D Fixed Device ID Number
(WHO_AM_I)
FIFO Status Register
0x0D 0x00 Yes R 0x0E FIFO Status: No FIFO event detected
(F_STATUS)(1)(2)
FIFO 8-bit Data Access
0X0E/0x01 0x00 Yes R 0x0E FIFO 8-bit data access
(F_DATA)(1)(2)
FIFO Setup Register
0x0F 0x00 No R/W 0x10 FIFO setup
(F_SETUP)(1)(3)
Time Delay
0x10 0x00 Yes R 0x11 Time since FIFO overflow
Register(TIME_DLY)(1)(2)
System Mode Register
0x11 0x00 Yes R 0x12 Current system mode
(SYSMOD)(2)
Interrupt Source Register
0x12 0x00 No R 0x13 Interrupt status
(INT_SOURCE)(1)
PT Data Configuration Register
0x13 0x00 No R/W 0x14 Data event flag configuration
(PT_DATA_CFG)(1)(3)
BAR Input in MSB Barometric input for Altitude calculation
0x14 0xC5 No R/W 0x15
(BAR_IN_MSB)(1)(3) bits 8-15
BAR Input in LSB Barometric input for Altitude calculation bits
0x15 0xE7 No R/W 0x16
(BAR_IN_LSB)(1)(3) 0-7
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 19
Table 9. Register Address Map
Pressure Target MSB
0x16 0x00 No R/W 0x17 Pressure/Altitude target value bits 8-15
(P_TGT_MSB)(1)(3)
Pressure Target LSB
0x17 0x00 No R/W 0x18 Pressure/Altitude target value bits 0-7
(P_TGT_LSB)(1)(3)
0x18 Temperature Target (T_TGT)(1)(3) 0x00 No R/W 0x19 Temperature target value
Pressure/Altitude Window MSB Pressure/Altitude window value
0x19 0x00 No R/W 0x1A
(P_WND_MSB)(1)(3) bits 8-15
Pressure/Altitude Window LSB Pressure/Altitude window value
0x1A 0x00 No R/W 0X1B
(P_WND_LSB)(1)(3) bits 0-7
Temperature Window
0X1B 0x00 No R/W 0x1C Temperature window value
(T_WND)(1)(3)
Minimum Pressure Data Out MSB
0x1C 0x00 No R/W 0x1D Minimum Pressure/Altitude bits 12-19
(P_MIN_MSB)(1)(3)
Minimum Pressure Data Out CSB
0x1D 0x00 No R/W 0x1E Minimum Pressure/Altitude bits 4-11
(P_MIN_CSB)(1)(3)
Minimum Pressure Data Out LSB
0x1E 0x00 No R/W 0x1F Minimum Pressure/Altitude bits 0-3
(P_MIN_LSB)(1)(3)
Minimum Temperature Data Out
0x1F 0x00 No R/W 0x20 Minimum Temperature bits 8-15
MSB (T_MIN_MSB)(1)(3)
Minimum Temperature Data Out
0x20 0x00 No R/W 0x21 Minimum Temperature bits 0-7
LSB (T_MIN_LSB)(1)(3)
Maximum Pressure Data Out
0x21 0x00 No R/W 0x22 Maximum Pressure/Altitude bits 12-19
MSB (P_MAX_MSB)(1)(3)
Maximum Pressure Data Out
0x22 0x00 No R/W 0x23 Maximum Pressure/Altitude bits 4-11
CSB (P_MAX_CSB)(1)(3)
Maximum Pressure Data Out LSB
0x23 0x00 No R/W 0X24 Maximum Pressure/Altitude bits 0-3
(P_MAX_LSB)(1)(3)
Maximum Temperature Data Out
0X24 0x00 No R/W 0x25 Maximum Temperature bits 8-15
MSB (T_MAX_MSB)(1)(3)
Maximum Temperature Data Out
0x25 0x00 No R/W 0x26 Maximum Temperature bits 0-7
LSB (T_MAX_LSB)(1)(3)
Control Register 1
0x26 0x00 No R/W 0x27 Modes, Oversampling
(CTRL_REG1)(1)(4)
Control Register 2
0x27 0x00 No R/W 0x28 Acquisition time step
(CTRL_REG2)(1)(4)
Control Register 3
0x28 0x00 No R/W 0x29 Interrupt pin configuration
(CTRL_REG3)(1)(4)
Control Register 4
0x29 0x00 No R/W 0x2A Interrupt enables
(CTRL_REG4)(1)(4)
Control Register 5
0x2A 0x00 No R/W 0x2B Interrupt output pin assignment
(CTRL_REG5)(1)(4)
Pressure Data User Offset
0x2B 0x00 No R/W 0x2C Pressure data offset
Register (OFF_P)
Temperature Data User Offset
0x2C 0x00 No R/W 0x2D Temperature data offset
Register (OFF_T)
Altitude Data User Offset Register
0x2D 0x00 No R/W 0x0C Altitude data offset
(OFF_H)
1. Register contents are preserved when transitioning from “ACTIVE” to “STANDBY” mode.
2. Register contents are reset when transitioning from “STANDBY” to “ACTIVE” mode.
3. Register contents can be modified anytime in “STANDBY” or “ACTIVE” mode.
4. Modification of this register’s contents can only occur when device in “STANDBY” mode except the SBYB, OST and RST bit fields in
CTRL_REG1 register.
MPL3115A2
Sensors
20 Freescale Semiconductor, Inc.
Table 10. Register Address Map with FIFO Modes(1)
Reset
Register Reset when Auto-Increment
Name Type Comment
Address Value STANDBY Address
to ACTIVE
Registers: Area A (F_Mode > 0, FIFO in circular buffer or full stop mode)
0x00/
Sensor Status Register (F_STATUS) 0x00 Yes R 0x01 F_STATUS
0x0D
0x01 FIFO 8-bit Data Access (F_DATA) 0x00 Yes R 0x01 0x01
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 = 00, FIFO is disabled.
F_MODE = 01 is circular buffer.
F_MODE = 10 is full stop mode.
The aliases allow the STATUS register to be read easily before reading the current Pressure/Altitude or Temperature data,
delta Pressure/Altitude or Temperature data or FIFO data using register address auto-incrementing mechanism.
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 21
7.1.2.1 Data Registers with 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.
Pressure/Altitude data overwrite. POW is set to 1 whenever a new Pressure/Altitude 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, when F_MODE is zero. POW is cleared by reading F_DATA register when F_MODE > 0.
POW
Default value: 0
0: No data overwrite has occurred
1: Previous Pressure/Altitude data was overwritten by new Pressure/Altitude data before it was read
Temperature data 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.
TOW
Default value: 0
0: No data overwrite has occurred
1: Previous Temperature data was overwritten by new Temperature data before it was read
Pressure/Altitude OR Temperature data ready. PTDR signals that a new acquisition for either Pressure/Altitude or
Temperature is available. PTDR 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.
PTDR
Default value: 0
0: No new set of data ready
1: A new set of data is ready
Pressure/Altitude new data available. PDR is set to 1 whenever a new Pressure/Altitude data acquisition is completed. PDR
is cleared anytime OUT_P_MSB register is read, when F_MODE is zero. PDR is cleared by reading F_DATA register when
PDR F_MODE > 0.
0: No new Pressure/Altitude data is available
1: A new set of Pressure/Altitude data is ready
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
TDR > 0.
0: No new Temperature data ready
1: A new Temperature data is ready
PDR and POW flag generation is required for the Pressure/Altitude 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
Sensors
22 Freescale Semiconductor, Inc.
7.1.3 OUT_P_MSB (0x01), OUT_P_CSB (0x02), OUT_P_LSB (0x03), OUT_T_MSB (0x04),
OUT_T_LSB (0x05)
The Altitude data is arranged as 20-bit 2’s complement 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 data is arranged as 20-bit unsigned 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.
When RAW bit is set (CTRL_REG1), then the RAW value is stored in all 24 bits of OUT_P_MSB, OUT_P_CSB and
OUT_P_LSB.
The Temperature data is arranged as 12-bit 2’s complement value in degrees C. The 8 bits of OUT_T_MSB representing de-
grees 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. When 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/Altitude and Temperature data samples.
7.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 auto-
incrementing address range of 0x00 to 0x05. This allows the host controller to read the status register followed by the 20-bit Pres-
sure/Altitude and 12-bit Temperature in a 6 byte I2C transaction.
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, Inc. 23
7.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.
The Altitude data is arranged as 20-bit 2’s complement 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 2’s complement value 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 frac-
tional component.
The Temperature data is arranged as 12-bit values in degrees C. The 8 bits of OUT_T_DELTA_MSB representing degrees
and with fractions of a degree stored in 4 bits in position 7-4 of OUT_T_DELTA_LSB.
In RAW mode, these registers are not used and their values are not updated.
Note: The OUT_P_DELTA, OUT_T_DELTA registers store the difference data information regardless of the state of the FIFO
data output register driver bit, F_MODE > 00.
MPL3115A2
Sensors
24 Freescale Semiconductor, Inc.
7.2 Device ID
7.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.
— 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.
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.
F_CNT[5:0]
Default value: 00_0000.
(000001 to 100000 indicates 1 to 32 samples stored in FIFO
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 25
7.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 data accumulation during read transactions to F_DATA.
. .
. .
. .
OUT_T_LSB (oldest)
0x00
0x00
MPL3115A2
Sensors
26 Freescale Semiconductor, Inc.
Table 31. F_SETUP Bit Descriptions
FIFO Event Sample Count Watermark.
Default value: 00_0000.
F_WMRK[5:0](2) These bits set the number of FIFO samples required to trigger a watermark interrupt. A FIFO watermark event flag
(F_WMRK_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.
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 27
Table 36. INT_SOURCE Bit Descriptions
Name Description
Data ready interrupt status bit. Logic ‘1’ indicates that Pressure/Altitude or Temperature data ready interrupt is active
indicating the presence of new data and/or a data overwrite, otherwise it is a logic ‘0’.
SRC_DRDY
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.
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.
SRC_FIFO
This bit is cleared by reading the F_STATUS register.
FIFO interrupt event generators: FIFO Overflow, or (Watermark: F_CNT = F_WMRK).
Altitude/Pressure alerter status bit near or equal to target Pressure/Altitude (near is within target value ± window value).
SRC_PW
Window value needs to be non zero for interrupt to trigger.
Temperature alerter status bit near or equal to target temperature (near is within target value ± window value.) Window
SRC_TW
value needs to be non zero for interrupt to trigger.
Altitude/Pressure threshold interrupt. With the window set to a non zero value, the trigger will occur on crossing any of
SRC_PTH
the thresholds: upper, center or lower. If the window is set to 0, it will only trigger on crossing the center threshold.
Temperature threshold interrupt. With the window set to a non zero value, the trigger will occur on crossing any of the
SRC_TTH
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
MPL3115A2
Sensors
28 Freescale Semiconductor, Inc.
7.8 Barometric Pressure Input
7.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,326 Pa. The default value can be changed by writing to
this register
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 29
7.11 Pressure/Altitude Window
7.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
Table 44. P_WND_LSB Register
7 6 5 4 3 2 1 0
R
P_W15 P_W 14 P_W 13 P_W 12 P_W 11 P_W 10 P_W 9 P_W 8
W
Reset 0 0 0 0 0 0 0 0
MPL3115A2
Sensors
30 Freescale Semiconductor, Inc.
7.14 Maximum Pressure
7.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 complement 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 unsigned 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
7 6 5 4 3 2 1 0
R
P_MAX 19 P_MAX 18 P_MAX 17 P_MAX 16 P_MAX 15 P_MAX 14 P_MAX 13 P_MAX 12
W
Reset 0 0 0 0 0 0 0 0
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 31
7.16 Maximum Temperature
7.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 complement 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
OST bit will initiate a measurement immediately. If the SBYB bit is set to active, setting the OST bit will initiate an immediate
measurement, the part will then return to acquiring data as per the setting of the ST bits in CTRL_REG2. In this mode, the OST
bit does not clear itself and must be cleared and set again to initiate another immediate measurement.
OST
One Shot: When SBYB is 0, the OST bit is an auto-clear bit. When OST is set, the device initiates a measurement by going into
active mode. Once a Pressure/Altitude and Temperature measurement is completed, it clears the OST bit and comes back to
STANDBY mode. User shall read the value of the OST bit before writing to this bit again.
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.
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
RST 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
Sensors
32 Freescale Semiconductor, Inc.
Table 58. CTRL_REG1 Bit Descriptions
OS[2:0] Oversample Ratio. These bits select the oversampling ratio. Value is 2OS. The default value is 000 for a ratio of 1.
RAW output mode. RAW bit will output ADC data with no post processing, except for oversampling. No scaling or offsets will be
RAW applied in the digital domain. The FIFO must be disabled and all other functionality: Alarms, Deltas, and other interrupts are
disabled.
Altimeter-Barometer mode.
Default value: 0
ALT
1: Part is in Altimeter Mode
0: Part is in Barometer mode
Note: RAW bit overrides the ALT mode and writes uncompensated Pressure and Temperature data
The bit selects the Target value for SRC_PW/SRC_TW and SRC_PTH/SRC_TTH
Default value: 0
ALARM_SEL
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.
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 33
7.17.3 CTRL_REG3 (Interrupt CTRL Register) (0x28)
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.
PP_OD1
Default value: 0
0: Internal Pullup
1: Open drain
Interrupt Enable.
Default value: 0
INT_EN_FIFO
0: FIFO interrupt disabled
1: FIFO interrupt enabled
Interrupt Enable.
Default value: 0
INT_EN_PW
0: Pressure window interrupt disabled
1: Pressure window interrupt enabled
MPL3115A2
Sensors
34 Freescale Semiconductor, Inc.
Table 65. Interrupt Enable Register Description
Interrupt Enable.
Default value: 0
INT_EN_TW
0: Temperature window interrupt disabled
1: Temperature window interrupt enabled.
Interrupt Enable.
Default value: 0
INT_EN_PTH
0: Pressure Threshold interrupt disabled
1: Pressure Threshold interrupt enabled.
Interrupt Enable.
Default value: 0
INT_EN_TTH
0: Temperature Threshold interrupt disabled
1: Temperature Threshold interrupt enabled.
Interrupt Enable.
Default value: 0
INT_EN_PCHG
0: Pressure Change interrupt disabled
1: Pressure Change interrupt enabled.
Interrupt Enable.
Default value: 0
INT_EN_TCHG
0: Temperature Change interrupt disabled
1: Temperature Change interrupt enabled.
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 35
7.17.5 CTRL_REG5 [Interrupt Configuration Register] (0x2A)
Event Flag 0
Data Ready
Event Flag 1
FIFO
Pressure Threshold
Event Flag 2 INT1
Temperature Window
Event Flag 5 INT2
Event Flag 6
Pressure Change
Event Flag 7
Temperature Change
8 8
INT_ENABLE INT_CFG
MPL3115A2
Sensors
36 Freescale Semiconductor, Inc.
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 9, 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
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 37
Table 71. OFF_Y Description
Name Description
Temperature offset trim value.
OFF_T7-OFF_T0
Default value: 0000_0000.
MPL3115A2
Sensors
38 Freescale Semiconductor, Inc.
8 Soldering/Landing Pad Information
The LGA package is compliant with the RoHS standard. Note that Pin 1 index area marker does not have any internal electrical
connections. Handling and soldering recommendations for pressure sensors are available in application note AN3150.
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 39
PACKAGE DIMENSIONS
CASE 2053-01
ISSUE O
LGA PACKAGE
MPL3115A2
Sensors
40 Freescale Semiconductor, Inc.
PACKAGE DIMENSIONS
CASE 2053-01
ISSUE O
LGA PACKAGE
MPL3115A2
Sensors
Freescale Semiconductor, Inc. 41
9 Tape and Reel Specifications
W 12.00 ± 0.10
MPL3115A2
Sensors
42 Freescale Semiconductor, Inc.
Table 74. Revision History
Revision Revision
Description of changes
number date
• Section 2.1, Table 2, changed from: -10°C, to: over -10°C for Pressure Absolute Accuracy
parameter, changed parameter name from: Pressure Resolution, to: Pressure/Altitude
Resolution, changed Test Conditions name from: Barometric Measurement Mode, to: Barometer
Mode and from: Altimeter Measurement Mode, to: Altimeter Mode, added to Table 2, Footnote 1:
over 50kPa to 110 kPa, added new Footnote 2: Oversample (OSR) modes internally combine and
average samples to reduce noise.
• Table 3: removed footnote reference on Table 3 table heading to Footnote 1, added Footnote 2
reference to Highest Speed Mode test condition, added Footnote 3 reference to Highest
Resolution Mode test condition,
• Table 4: deleted row 8: SDA Valid Time, row 9: SDA Valid Acknowledge Time and Footnote 5.
tVD,DAT, changed SDA and SCL Rise Time Max value from: 1000, to: 300.
• Sections 6.6.2, 6.6.3, 6.6.4: Added Note.
• Added Sections 6.6.7 Data Ready and Section 6.6.8 FIFO Event.
• Section 7, Table 9: Changed Register Address column from: 0x00//0x06, to: 0x06/0x00, from:
0x0D//00, to: 0x0D, from: 0x0E/01, to: 0x0E/0x01, added OST to Footnote 4.
2 04/2012
• Section 7.1: Table 11: from (0x0B), to: (0x0D), from: Pressure/Temperature data delta, to:
Pressure/Temperature data or FIFO data.
• Section 7.3.3: Added (ST bits of CTRL_REG2) to sentence 2., Table 31 added 1 new sentence in
F_MODE[1.0] description
• Deleted notes from Sections 7.9.1, 7.10.1, 7.11.1 and 7.12.1.
• Section 7.17.1, Table 58: OST Description, changed from: ACTV, to: SBYB, Table 59: Delete
Column: Fastest OST Data Output Rate I2C, deleted Footnotes 1 and 2, changed values in
Minimum Time Between Data Samples column.
• Section 7.18.1: Changed from: 512, to: -512 to +508
• Section 7.18.2: Changed from: -8, to: +7.9375°C.
• Section 7.18.3: Changed from: -128, to: +128 meters.
• Section 8: Added: Note that Pin 1 index area marker does not have any internal electrical
connections. Handling and soldering recommendations for pressure sensors are available in
application note AN3150.
• Section 9: Added Section called Tape and Reel specifications.
2.1 05/2012 • Changed Ordering Information device name from MPL3115A2T1 to MPL3115A2R1
• Page 33, Table 59 Change from: 8 ms, To: 18 ms, Page 38, Table 72, Change title from: OFF_T
2.2 07/2012
Register, To: OFF_H Register
MPL3115A2
Sensors
43 Freescale Semiconductor, Inc.
How to Reach Us: Information in this document is provided solely to enable system and software
Home Page: implementers to use Freescale products. There are no express or implied copyright
www.freescale.com licenses granted hereunder to design or fabricate any integrated circuits based on the
Web Support: information in this document.
http://www.freescale.com/support
Freescale reserves the right to make changes without further notice to any products
herein. Freescale makes no warranty, representation, or guarantee regarding the
suitability of its products for any particular purpose, nor does Freescale 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 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 does not convey any
license under its patent rights nor the rights of others. Freescale sells products pursuant
to standard terms and conditions of sale, which can be found at the following address:
http://www.reg.net/v2/webservices/Freescale/Docs/TermsandConditions.htm.
Freescale, the Freescale logo, and the Energy Efficient Solutions 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.
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.
MPL3115A2
Rev 2.2
07/2012