High-Accuracy Reference Voltage; Temperature Sensor; High Temperature Warning - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

Functional description

14.8.5 High-accuracy reference voltage

PMC includes a high-accuracy reference voltage. This voltage is available for other on-
chip modules.
After POR, the flag PMC_STAT[HBGRDY] is set to 1 when the high-accuracy output is
ready.
The high-accurary reference voltage is always enabled except in RPM mode.

14.8.6 Temperature sensor

PMC includes an internal temperature sensing voltage generator and a high temperature
warning comparator. The generator is always enabled in FPM mode and can provide the
sensing voltage to ADC to measure the temperature.
To enable the PMC temperature sensor, PMC_TPCTRLSTAT[TEMPEN] should be set
to 1.
After enabled, the temperature sensor voltage output can be provided to external modules
such as ADC. Depending on the PMC_TPCTRLSTAT[SWON] bit value, the voltage
output is selected as follows:
• If SWON = 0, the temperature sensor voltage is as the output.
• If SWON = 1, the bandgap is as the output. Refer to the chip datasheet for the
detailed voltage value.
The temperature sensor is disabled in RPM mode.

14.8.6.1 High temperature warning

The temperature sensor integrates a high temperature warning circuit with configurable
temperature threshold.
The flag PMC_TPCTRLSTAT[HTDS] shows the temperature status:
• HTDS bit is set when the temperature rises above the HTDS assert threshold.
• HTDS bit is cleared when the temperature falls below the HTDS de-assert threshold.
If PMC_TPCTRLSTAT[HTIE] is set to 1, PMC sets the HTIF flag in the same register
and generates an interrupt when the HTDS status changes. Writing 1 to HTIF can clear
this HTIF flag.
232
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
NXP Semiconductors

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents