AT89C5122 ATMEL [ATMEL Corporation], AT89C5122 Datasheet - Page 45

no-image

AT89C5122

Manufacturer Part Number
AT89C5122
Description
MICROCONTROLLER WITH USB AND SMART CARD READER INTERFACES
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C5122D-ALRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-RDRIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-RDRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-RDVIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-SISUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-UM
Manufacturer:
MAXIM
Quantity:
1 001
Part Number:
AT89C5122DS-RDTUM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89C5122DS-UM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
X1 and X2 Modes
4202D–SCR–06/05
The CPU and peripherals clocks frequencies are defined in the table below.
Use of on-chip oscillator
When the CPU and Peripherals clocks are fed by the on-chip oscillator, the CPU and
Peripherals can be configured independently in X1 or X2 mode depending on the fre-
quencies wanted by the user. There is however one exception : the periperals can be
configured in X2 mode while the CPU remains in X1 mode. This exception is handled by
the hardware and the user does not need to take care of.
The X1 or X2 modes can be individually selected for the CPU and each peripheral by
means of CKCON0 and CKCON1 registers. At reset, the CPU and Peripherals are set
all by default to X1 mode. In this mode, changing any peripheral to X2 mode has no
effect. When X2 bit is set in CKCON0 register, CPU and All peripherals are automati-
cally switched to X2 mode. It is then possible for the user to individually switch any
peripheral back to X1 mode.
In X1 mode (X2 bit cleared in CKCON0 regsiter), the PR1 prescaler is active while it is
bypassed in X2 mode (X2 bit set in CKCON0 register).
The X1 mode is true only when the prescaler PR1 is set to 1/2 (default condition at
reset).
Table 1. X1 and X2 Mode Selection
CKS
0
0
1
1
X1 mode
X1 mode
X2 mode
X2 mode
CPU
Peripherals
X2
0
1
0
1
X1 mode
X2 mode
X1 mode
X2 mode
Once the CPU is switched to X2
Default configuration when CPU
mode, the user is free to switch
(default configuration at reset)
Not Allowed by the hardware
any of the peripherals to X1
is switched to X2 mode
F
F
F
F
Not allowed
CK_IDLE
CK_XTAL1
CK_XTAL1
CK_PLL
Allowed
Allowed
Allowed
Status
mode
/(2*(16-CKRL))
/(2*(16-CKRL))
F
F
F
CK_IDLE
CK_IDLE
CK_IDLE
Frequenci
= 2*F
= F
= F
CK_PERIPH
CK_PERIPH
CK_PERIPH
45

Related parts for AT89C5122