I C Precision Altimeter - Farnell
I C Precision Altimeter - Farnell
I C Precision Altimeter - Farnell
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Table 58. CTRL_REG1 Bit Descriptions<br />
OS[2:0] Oversample Ratio. These bits select the oversampling ratio. Value is 2 OS . The default value is 000 for a ratio of 1.<br />
RAW<br />
ALT<br />
RAW output mode. RAW bit will output ADC data with no post processing, except for oversampling. No scaling or offsets will be<br />
applied in the digital domain. The FIFO must be disabled and all other functionality: Alarms, Deltas, and other interrupts are<br />
disabled.<br />
<strong>Altimeter</strong>-Barometer mode.<br />
Default value: 0<br />
1: Part is in <strong>Altimeter</strong> Mode<br />
0: Part is in Barometer mode<br />
Note: RAW bit overrides the ALT mode and writes uncompensated Pressure and Temperature data<br />
7.17.2 CTRL_REG2 (0x27)<br />
Table 59. System Output Sample Rate Selection<br />
OS2 OS1 OS0<br />
Oversample<br />
Ratio<br />
Minimum Time<br />
Between<br />
Data Samples<br />
0 0 0 1 6 ms<br />
0 0 1 2 10 ms<br />
0 1 0 4 8 ms<br />
0 1 1 8 34 ms<br />
1 0 0 16 66 ms<br />
1 0 1 32 130 ms<br />
1 1 0 64 258 ms<br />
1 1 1 128 512 ms<br />
Table 60. CTRL_REG2 Register<br />
7 6 5 4 3 2 1 0<br />
R 0 0 LOAD_OUTP<br />
W<br />
UT<br />
ALARM_SEL ST[3] ST[2] ST[1] ST[0]<br />
Reset 0 0 0 0 0 0 0 0<br />
Table 61. CTRL_REG2 Bit Descriptions<br />
Name<br />
ST[3:0]<br />
ALARM_SEL<br />
LOAD_OUTPUT<br />
Description<br />
Auto acquisition time step.<br />
Default value: 0<br />
Step value is 2 ST : Giving a range of 1 second to 2 15 seconds (9 hours)<br />
The bit selects the Target value for SRC_PW/SRC_TW and SRC_PTH/SRC_TTH<br />
Default value: 0<br />
0: The values in P_TGT_MSB, P_TGT_LSB and T_TGT are used (Default)<br />
1: The values in OUT_P/OUT_T are used for calculating the interrupts SRC_PW/SRC_TW and SRC_PTH/SRC_TTH.<br />
This is to load the target values for SRC_PW/SRC_TW and SRC_PTH/SRC_TTH.<br />
Default value: 0<br />
0: Do not load OUT_P/OUT_T as target values<br />
1: The next values of OUT_P/OUT_T are used to set the target values for the interrupts.<br />
Note:<br />
1. This bit must be set at least once if ALARM_SEL=1<br />
2. To reload the next OUT_P/OUT_T as the target values clear and set again.<br />
MPL3115A2<br />
Sensors<br />
Freescale Semiconductor, Inc. 33