Outputs; Resource Usage; Table 27 Meas_Acceleration: Output Values; Table 28 Meas_Acceleration: Resources - Infineon SP37 Function Manual

High integrated single-chip tpms sensor with a low power embedded microcontroller and wireless fsk/ask uhf transmitter
Table of Contents

Advertisement

2.4.5

Outputs

Table 27
Meas_Acceleration: Output values
Register/ Address
R7
*AccelResult+0
*AccelResult+1
*AccelResult+2
1) If the acceleration measurement result is within the input range for which its accuracy is specified (e.g. -115 g - 115 g), then
the ADC underflow/overflow condition is due to a measurement failure and the measurement results are not valid.
Otherwise, if the acceleration measurement result is outside of this input range, then the ADC underflow/overflow bits and
the acceleration measurement results may be ignored.
2.4.6

Resource Usage

Table 28
Meas_Acceleration: Resources
Type
Registers
SFR
Stack
1) Only affected if more than 1 sample is taken
2) Two additional bytes, not included here, are needed to call the library function
ROM Library Function Guide
Type
Name
unsigned char StatusByte
signed int
Compensated
Acceleration
signed int
Raw Acceleration
Data
Singed int
Raw Temperature
Used or Modified
R0, R1, R2, R3, R4, R5, R6, R7
1)
ACC, B, CFG0
1)
TMOD
2)
13 Bytes
Tire Pressure Monitoring Sensor
Description
0000.0000
xxxx.xxx1
xxxx.xx1x
xxxx.x1xx
xxxx.1xxx
xxx1.xxxx
If Input Bit SensorConfig.6[RAW] == 0:
8000
= -2048.0 g
H
0000
= 0.0 g
H
7FFF
= 2047.9375 g
H
( = 2048 g - 1 LSB where 1 LSB = 1/16 g)
If Input Bit SensorConfig.6[RAW] == 1:
8000
since no compensation is performed
H
10 Bit ADC Result Value:
0000.00xx.xxxx.xxxx
If Input Bit SensorConfig.6[RAW] == 0:
16 Bit scaled signed ADC Result Value
If Input Bit SensorConfig.6[RAW] == 1:
8000
since no temperature measurement is
H
performed
, CFG1, CFG2, DIVIC, DPH, DPL, PSW, TCON
48
ROM Library Functions
: Success
B
: Underflow of ADC Result
B
: Overflow of ADC Result
B
: Sensor Fault Wire Bond Check
B
: Sensor Fault Diagnosis Resistor
B
: VMIN warning
B
B
Revision 1.0, 2011-12-15
SP37
1)
1)
1)
1)
1)
, TH0
, TL0
,

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents