ST72561J6-Auto STMicroelectronics, ST72561J6-Auto Datasheet - Page 260

no-image

ST72561J6-Auto

Manufacturer Part Number
ST72561J6-Auto
Description
8-bit MCU for automotive
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72561J6-Auto

Hdflash Endurance
100 cycles, data retention 20 years at 55 °C
5 Power Saving Modes
halt, auto wake up from halt, active halt, wait and slow
10-bit A/D converter (ADC)
18.3.2
260/324
Figure 117. ADC block diagram
A/D conversion
The analog input ports must be configured as input, no pull-up, no interrupt. Refer to the
Chapter 8: I/O
to be read as a logic input.
In the ADCCSR register:
ADC conversion mode:
In the ADCCSR register:
When a conversion is complete:
A read to the ADCDRH resets the EOC bit.
To read the 10 bits, perform the following steps:
1.
2.
3.
To read only 8 bits, perform the following steps:
1.
2.
Select the CS[3:0] bits to assign the analog channel to convert.
Set the ADON bit to enable the A/D converter and to start the conversion. From this
time on, the ADC performs a continuous conversion of the selected channel.
The EOC bit is set by hardware.
The result is in the ADCDR registers.
Poll EOC bit
Read the ADCDRL register
Read the ADCDRH register. This clears EOC automatically.
Poll EOC bit
Read the ADCDRH register. This clears EOC automatically.
AIN0
AIN1
AINx
f
CPU
ports. Using these pins as analog inputs does not affect the ability of the port
ANALOG
MUX
EOC SPEED ADON SLOW
f
CPU,
4
ADCDRH
f
Doc ID 12370 Rev 8
CPU
/2
,
f
CPU
ADCDRL
/4
CH3
D9
f
ADC
CH2
D8
CH1
D7
0
CH0
D6
0
D5
ADCCSR
0
D4
0
ANALOG TO DIGITAL
D3
CONVERTER
0
D2
0
D1
ST72561-Auto
D0

Related parts for ST72561J6-Auto