Globals and formats
FXTH87xx11 and FXTH87xx12 Embedded Firmware User Guide, Rev. 2.1
Freescale Semiconductor, Inc.
5
2.2.2
Error Status Format
FXTH87xx11 and FXTH87xx12 Embedded Firmware functions that return a status byte commonly do so
using the error fields described in
.
Table 3. Error Status Fields
Field
Description
BIT7 - ADCERR
ADC Error -
This status bit indicates an error was detected when performing an ADC test within the
TPMS_WIRE_AND_ADC_CHECK routine.
0 ADC operating as expected.
1 ADC returned unexpected reading.
BIT6 - TERR
Temperature Measurement Error-
This status bit indicates an error was detected by a ADC
reading of the temperature sensor that is outside of the normally accepted range.
0 Temperature error not detected in last firmware subroutine call.
1 Temperature error detected in last firmware subroutine call.
BIT5 - VERR
Voltage Measurement Error-
This status bit indicates an error was detected by a ADC reading of
the voltage reference that is outside of the normally accepted range.
0 Voltage error not detected in last firmware subroutine call.
1 Voltage error detected in last firmware subroutine call.
BIT4 - AZERR
Z-Axis Accelerometer Measurement Error (if applicable)-
This status bit indicates an error was
detected by a bonding wire failure to the g-cell or a ADC reading of the Z-axis accelerometer that is
outside of the normally accepted range.
0 Acceleration error not detected in last firmware subroutine call.
1 Acceleration error detected in last firmware subroutine call.
BIT3 - AXERR
X- Axis Accelerometer Measurement Error (if applicable)-
This status bit indicates an error was
detected by a bonding wire failure to the g-cell or a ADC reading of the X-axis accelerometer that is
outside of the normally accepted range.
0 Acceleration error not detected in last firmware subroutine call.
1 Acceleration error detected in last firmware subroutine call.
BIT2 - PERR
Pressure Measurement Error-
This status bit indicates an error was detected by a parity fault in
the P-Chip trim, bonding wire failure to the P-Chip or a ADC reading of the pressure that is outside
of the normally accepted range.
0 Pressure error not detected in last firmware subroutine call.
1 Pressure error detected in last firmware subroutine call.
BIT1 - BONDERR
Bond Wire Error-
This status bit indicates an error was detected in any of the bond wire checks of
the g-cell or P-cell.
0 Bond wire error not detected in last firmware subroutine call.
1 Bond wire error detected in last firmware subroutine call
BIT0 - OVFLOW
Calculation Overflow/Underflow-
This status bit indicates that a compensated measurement of
pressure, temperature, voltage or acceleration resulted in a digital output code outside of the
expected range. The output value will be clipped to the nearest highest or lowest allowed value and
the status bit will be set.
0 Overflow/underflow not detected in last firmware subroutine call.
1 Overflow/underflow detected in last firmware subroutine call.