Analog Modules; Temperature Sensor Configuration; Analog-To-Digital Converters (Adc) Configuration - STMicroelectronics SPC572L series Reference Manual

Table of Contents

Advertisement

Device configuration
6.4.5

Analog modules

This section highlights the following analog modules that are implemented on SPC572Lx:
Module or Subsystem
Temperature sensor
ADC subsystem
Sigma-Delta Analog-to-
Digital Converters
(SDADCs)
Successive Approximation
Register Analog-to-Digital
Converters (SARADCs)
6.4.6

Temperature sensor configuration

The temperature sensor is used to measure the temperature of the SPC572Lx device. In
general, the temperature sensor generates an analog voltage that is linearly proportional to
temperature.
During production testing of the device, the output of the temperature sensor is sampled by
SARB input channel 120 of the onboard ADC module at a predefined high temperature and
also at a predefined low temperature. These two temperature sensor readings are used to
calculate two constants, TSCA and TSCB, according to the formulas in the
Temperature
Once calculated, the values for TSCA and TSCB are programmed during production test
into the UTEST Flash Memory.
The temperature sensor bandgap voltage used in the temperature calculation is sampled by
SARB input channel 121 of the onboard ADC module.
Software must perform the following steps in order to calculate device temperature:
1.
Measure the bandgap voltage, V
ADC module.
2.
Calculate V
3.
Measure the temperature sensor output voltage, V
120 of the onboard ADC module.
4.
Calculate T
Sensor.
5.
Retrieve parameters TSCA and TSCB from flash memory.
6.
Calculate temperature (T) according to the formula in
Sensor.
6.4.7

Analog-to-Digital Converters (ADC) configuration

See
Chapter 34: Analog-to-digital converter (ADC) configuration
subsystem, including a block diagram and a summary of analog input pin multiplexing. The
chapter also provides configuration details for the SARADCs and SDADCs.
154/2058
Table 34. Analog modules
Device-specific information
Section 6.4.6: Temperature sensor
configuration
Section 34.1: ADC overview
Section 34.2.1: Sigma-Delta Analog-to-
Digital Converter (SDADC)
Section 34.2.2: Successive Approximation
Register Analog-to-Digital Converter
(SARADC)
Sensor.
(T) according to the formula in
BG_CODE
(T) according to the formula in
TSENS_CODE
DocID027809 Rev 4
Chapter 38: Temperature Sensor
Chapter 35: Sigma-Delta Analog-to-
Digital Converter (SDADC) Digital
Chapter 36: Successive Approximation
Register Analog-to-Digital Converter
(T), using SARB input channel 121 of the onboard
BG
Chapter 38: Temperature
TSENS
Chapter 38: Temperature
Block details
See individual modules
Interface
(SARADC) Digital Interface
Chapter 38:
(T), using SARB input channel
Chapter 38: Temperature
for an overview of the ADC
RM0400
Sensor.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SPC572L series and is the answer not in the manual?

Questions and answers

Table of Contents