ST72T331N2T6 STMicroelectronics, ST72T331N2T6 Datasheet - Page 85

no-image

ST72T331N2T6

Manufacturer Part Number
ST72T331N2T6
Description
8-bit Microcontrollers - MCU OTP EPROM 8K SPI/SCI
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72T331N2T6

Product Category
8-bit Microcontrollers - MCU
Rohs
yes
Core
ST7
Data Bus Width
8 bit
Maximum Clock Frequency
16 MHz
Program Memory Size
8 KB
Data Ram Size
384 B
On-chip Adc
Yes
Package / Case
TQFP-64
Mounting Style
SMD/SMT
A/d Bit Size
8 bit
A/d Channels Available
8
Interface Type
SCI, SPI
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
44
Number Of Timers
2
On-chip Dac
No
Program Memory Type
EPROM
Factory Pack Quantity
90
Supply Voltage - Max
5.5 V
Supply Voltage - Min
3.5 V
8-BIT A/D CONVERTER (ADC) (Cont’d)
5.7.6 Register Description
CONTROL/STATUS REGISTER (CSR)
Read/Write
Reset Value: 0000 0000 (00h)
Bit 7 = COCO Conversion Complete
This bit is set by hardware. It is cleared by soft-
ware reading the result in the DR register or writing
to the CSR register.
0: Conversion is not complete.
1: Conversion can be read from the DR register.
Bit 6 = Reserved. Must always be cleared.
Bit 5 = ADON A/D converter On
This bit is set and cleared by software.
0: A/D converter is switched off.
1: A/D converter is switched on.
Note: A typical 30 µs delay time is necessary for
the ADC to stabilize when the ADON bit is set.
Bit 4 = Reserved. Forced by hardware to 0.
Bit 3 = Reserved. Must always be cleared.
Bits 2:0: CH[2:0] Channel Selection
Table 21. ADC Register Map
COCO
Reset Value
Reset Value
Address
7
(Hex.)
70
71
-
ADON
Register
Name
CSR
DR
0
-
COCO
AD7
7
0
0
CH2
AD6
CH1
6
0
0
-
CH0
0
ADON
AD5
5
0
0
These bits are set and cleared by software. They
select the analog input to convert.
Table 20. Channel Selection
*IMPORTANT NOTE: The number of pins AND
the channel selection vary according to the device.
REFER TO THE DEVICE PINOUT).
DATA REGISTER (DR)
Read Only
Reset Value: 0000 0000 (00h)
Bit 7:0 = AD[7:0] Analog Converted Value
This register contains the converted analog value
in the range 00h to FFh.
Reading this register resets the COCO flag.
AD7
7
AD4
4
0
0
0
AIN0
AIN1
AIN2
AIN3
AIN4
AIN5
AIN6
AIN7
Pin*
AD6
AD5
AD3
3
0
0
-
CH2
AD4
0
0
0
0
1
1
1
1
CH2
AD2
2
0
0
ST72E331 ST72T331
AD3
CH1
0
0
1
1
0
0
1
1
AD2
CH1
AD1
1
0
0
AD1
CH0
0
1
0
1
0
1
0
1
AD0
CH0
85/107
0
0
0
AD0
0
85

Related parts for ST72T331N2T6