
SP37
Tire Pressure Monitoring Sensor
ROM Library Functions
ROM Library Function Guide
47
Revision 1.0, 2011-12-15
Table 24
Meas_Acceleration: Input Parameter: SensorConfig[15:8]
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
Bit 9
Bit 8
RES
RES
RES
RES
RES
RES
RES
RAWTemp
RES
Must be set to 0.
RAWTemp
Selects source of raw temperature data for compensation
0
B
: Perform new raw temperature measurement
1
B
: Use raw temperature data supplied in *(Acce2)
Table 25
Meas_Acceleration: Input Parameter: SensorConfig[7:0]
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Sens_Type
RAW
RES
RES
MODE
2POWN.2
2POWN.1
2POWN.0
Sens_Type
Select Pressure or Acceleration Measurement
0
B
: Acceleration Measurement
RAW
Defines if the raw ADC result is compensated
0
B
: Temperature compensation is performed. Returns compensated & raw value
1
B
: No compensation is performed. Returns only raw value. If
SensorConfig bit RAWTemp is set to 1
B
, no RAW temperature measurement is
performed.
Note: See
for impact on ROM Library function output
RES
Must be set to 0
B
Mode
Acceleration Measure Mode:
0
B
: Average value
1
B
: Maximum value
2POWN[2:0]
Number of ADC measurements that are taken and averaged
111
B
: 64 Samples
110
B
: 64 Samples
101
B
: 32 Samples
100
B
: 16 Samples
011
B
: 8 Samples
010
B
: 4 Samples
001
B
: 2 Samples
000
B
: 1 Sample
Table 26
Meas_Acceleration: Input Parameter: SampleRate
Bit7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
SR.7
SR.6
SR.5
SR.4
SR.3
SR.2
SR.1
SR0
SR[7:0]
Number of systemclock cycles divided by 8 between two consecutive samples (only
applicable if more than one sample is taken and averaged):
00
H
: No delay (fastest possible sample rate)
01
H
..5E
H
: Not allowed
5F
H
..FF
H
: 1/sample rate (sample rate in systemclocks divided by 8)