ST6246 STMICROELECTRONICS [STMicroelectronics], ST6246 Datasheet - Page 18

no-image

ST6246

Manufacturer Part Number
ST6246
Description
8-BIT OTP/EPROM MCU WITH LCD DRIVER, EEPROM AND A/D CONVERTER
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
ST62T46B/E46B
3 CLOCKS, RESET, INTERRUPTS AND POWER SAVING MODES
3.1 CLOCK SYSTEM
3.1.1 Main Oscillator
The MCU features a Main Oscillator which can be
driven by an external clock, or used in conjunction
with an AT-cut parallel resonant crystal or a suita-
ble ceramic resonator.
Figure 8 illustrates various possible oscillator con-
figurations using an external crystal or ceramic res-
onator, an external clock input. C
have a capacitance in the range 12 to 22 pF for an
oscillator frequency in the 4-8 MHz range.
The internal MCU clock Frequency (F
ed by 13 to drive the CPU core and by 12 to drive
the A/D converter and the watchdog timer, while
clock used to drive on-chip peripherals depends
on the peripheral as shown in the clock circuit
block diagram.
With an 8MHz oscillator frequency, the fastest ma-
chine cycle is therefore 1.625 s.
A machine cycle is the smallest unit of time needed
to execute any operation (for instance, to increment
the Program Counter). An instruction may require
two, four, or five machine cycles for execution.
Figure 9. Clock Circuit Block Diagram
18/72
354
OSC32in
OSC32out
OSCout
OSCin
f
OSC
OSCILLATOR
OSCILLATOR
32kHz
MAIN
f
INT
L1
an C
INT
L2
) is divid-
should
(START/STOP)
EOCR bit 5
MUX
Figure 8. Oscillator Configurations
C
L1n
CRYSTA L/RESONATOR CLOCK
OSC
EXTERNAL CLOCK
OSC
f
INT
in
ST6xxx
in
ST6xxx
OSC
OSC
: 12
: 13
NC
out
out
C
L2
POR
LCD
CONTROLLER
DRIVE R
Core
Timer 1 & 2
Watchdog
ADC
VA0015A
VA0016

Related parts for ST6246