ST72F321 STMICROELECTRONICS [STMicroelectronics], ST72F321 Datasheet - Page 57

no-image

ST72F321

Manufacturer Part Number
ST72F321
Description
64/44-PIN 8-BIT MCU WITH 32 TO 60K FLASH/ROM, ADC, FIVE TIMERS, SPI, SCI, I2C INTERFACE
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72F321
Manufacturer:
ST
0
Part Number:
ST72F3218K6T6
Manufacturer:
ST
Quantity:
84
Part Number:
ST72F321AR6T
Manufacturer:
ST
0
Part Number:
ST72F321AR6T3
Manufacturer:
ST
0
Part Number:
ST72F321AR6T6
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
ST72F321AR6T6
Manufacturer:
ST
0
Part Number:
ST72F321AR6T6
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST72F321AR6TA
Manufacturer:
ST
Quantity:
102
Part Number:
ST72F321AR9T6
Manufacturer:
ST
Quantity:
185
Part Number:
ST72F321AR9T6
Manufacturer:
ST
Quantity:
20 000
10.2 MAIN CLOCK CONTROLLER WITH REAL TIME CLOCK AND BEEPER (MCC/RTC)
The Main Clock Controller consists of three differ-
ent functions:
Each function can be used independently and si-
multaneously.
10.2.1 Programmable CPU Clock Prescaler
The programmable CPU clock prescaler supplies
the clock for the ST7 CPU and its internal periph-
erals. It manages SLOW power saving mode (See
Section 8.2 SLOW MODE
The prescaler selects the f
cy and is controlled by three bits in the MCCSR
register: CP[1:0] and SMS.
10.2.2 Clock-out Capability
The clock-out capability is an alternate function of
an I/O port pin that outputs a f
Figure 36. Main Clock Controller (MCC/RTC) Block Diagram
f
OSC2
a programmable CPU clock prescaler
a clock-out signal to supply external devices
a real time clock timer with interrupt capability
MCCBCR
MCCSR
DIV 2, 4, 8, 16
MCO
CP1 CP0
CPU
DIV 64
for more details).
main clock frequen-
OSC2
SMS
1
0
clock to drive
12-BIT MCC RTC
BEEP SIGNAL
SELECTION
TB1 TB0 OIE
COUNTER
BC1 BC0
external devices. It is controlled by the MCO bit in
the MCCSR register.
CAUTION: When selected, the clock out pin sus-
pends the clock during ACTIVE-HALT mode.
10.2.3 Real Time Clock Timer (RTC)
The counter of the real time clock timer allows an
interrupt to be generated based on an accurate
real time clock. Four different time bases depend-
ing directly on f
functionality is controlled by four bits of the MCC-
SR register: TB[1:0], OIE and OIF.
When the RTC interrupt is enabled (OIE bit set),
the ST7 enters ACTIVE-HALT mode when the
HALT instruction is executed. See
TIVE-HALT AND HALT MODES
10.2.4 Beeper
The beep function is controlled by the MCCBCR
register. It can output three selectable frequencies
on the BEEP pin (I/O port alternate function).
OIF
MCC/RTC INTERRUPT
f
CPU
WATCHDOG
TIMER
TO
OSC2
are available. The whole
PERIPHERALS
for more details.
TO CPU AND
CPU CLOCK
BEEP
MCO
Section 8.4 AC-
ST72321
57/189

Related parts for ST72F321