
Temperature Sensor
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
1231
Figure 27-2. Temperature formula
The following sections detail the values required and where to obtain them.
27.3.1
T
LOW
and T
HIGH
T
LOW
is the factory low calibration temperature; T
HIGH
is the hot factory calibration temperature. These
values are stored in shadow flash memory during factory calibration. See
Calculation Constants Register 0 (TSENS_TCCR0)
for details.
27.3.2
T
TSENS_CODE
(T
LOW
) and T
TSENS_CODE
(T
HIGH
)
T
TSENS_CODE
(T
LOW
) is the sampled output voltage of the temperature sensor during low temperature
factory calibration. T
TSENS_CODE
(T
HIGH
) is the sampled output voltage of the temperature sensor during
hot temperature factory calibration. These values are stored in shadow flash memory during factory
calibration. See
Section 27.3.6.1, Temperature Calculation Constants Register 0 (TSENS_TCCR0)
, for
details.
=
V
BG_CODE
(T
LOW
)
T
TSENS_CODE
(T) x
– T
TSENS_CODE
(T
LOW
)
T
TSENS_CODE
(T
HIGH
) – T
TSENS_CODE
(T
LOW
)
T = T
LOW
+
x (T
HIGH
– T
LOW
)
T
TSENS_CODE
(T) =
V
TSENS
(T)
V
ref
x 2
14
T
TSENS_CODE
(T
LOW
) =
V
TSENS
(T
LOW
)
V
ref0
x 2
14
T
TSENS_CODE
(T
HIGH
) =
V
TSENS
(T
HIGH
)
V
ref0
x 2
14
V
BG_CODE
(T) =
V
BG
(T)
V
ref
x 2
14
V
BG_CODE
(T
LOW
) =
V
BG
(T
LOW
)
V
ref0
x 2
14
V
BG_CODE
(T)
where:
Notes:
1
V
TSENS
(T) is the temperature sensor output sampled by the ADC.
2
V
BG
(T) is the bandgap voltage sampled by the ADC.
3
V
ref
is the ADC reference voltage.
4
V
ref0
is the ADC reference voltage during factory calibration.
5
T
LOW
is the low temperature factory calibration temperature (stored in device flash).
6
T
HIGH
is the hot factory calibration temperature (stored in device flash).
(Stored in device flash during factory calibration)
(Stored in device flash during factory calibration)
(Stored in device flash during factory calibration)
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...