SP37
Tire Pressure Monitoring Sensor
ROM Library Functions
ROM Library Function Guide 34 Revision 1.0, 2011-12-15
Table 14 Meas_Pressure: 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 Measurement
1
B
: Pressure 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. If no compensation is performed, the autorange selection is disabled and
the range has be set manually.
Note: See Table 16 for impact on ROM Library function output
RES RES bits have to be set to 0
B
Mode Pressure 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 15 Meas_Pressure: 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):
00
H
: No delay (fastest possible sample rate)
01
H
..4F
H
: Not allowed
50
H
..FF
H
: 1/sample rate (sample rate in systemclocks divided by 8)