at91rm3400 ATMEL Corporation, at91rm3400 Datasheet - Page 134

no-image

at91rm3400

Manufacturer Part Number
at91rm3400
Description
Atmel Advanced At91 Arm Microcontroller
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at91rm3400-AU-002
Manufacturer:
Atmel
Quantity:
10 000
Processor Clock Controller
Processor Clock Source
Idle Mode
134
AT91RM3400
prevents using the USB ports. Selecting the PLLB Clock saves the power consumption
of the PLLA by running the processor and the peripheral at 48 MHz required by the USB
ports. Selecting the PLLA Clock runs the processor and the peripherals at their maxi-
mum speed while running the USB ports at 48 MHz.
The Master Clock Controller is made up of a clock selector and a prescaler, as shown in
Figure 42. It also contains an optional Master Clock divider in products integrating an
ARM9 processor. This allows the processor clock to be faster than the Master Clock.
The Master Clock selection is made by writing the CSS field (Clock Source Selection) in
PMC_MCKR (Master Clock Register). The prescaler supports the division by a power of
2 of the selected clock between 1 and 64. The PRES field in PMC_MCKR programs the
prescaler.
When the Master Clock divider is implemented, it can be programmed between 1 and 4
through the MDIV field in PMC_MCKR.
Each time PMC_MCKR is written to define a new Master Clock, the MCKRDY bit is
cleared in PMC_SR. It reads 0 until the Master Clock is established. Then, the MCK-
RDY bit is set and can trigger an interrupt to the processor. This feature is useful when
switching from a high-speed clock to a lower one to inform the software when the
change is actually done.
Note:
Figure 42. Master Clock Controller
The PMC features a Processor Clock Controller that implements the Idle Mode. The
Processor Clock can be enabled and disabled by writing the System Clock Enable
(PMC_SCER) and System Clock Disable Registers (PMC_SCDR). The status of this
clock (at least for debug purpose) can be read in the System Clock Status Register
(PMC_SCSR).
The clock provided to the processor is determined by the Master Clock controller. On
ARM7-based systems, the Processor Clock source is directly the Master Clock.
On ARM9-based systems, the Processor Clock source might be 2, 3 or 4 times the Mas-
ter Clock. This ratio value is determined by programming the field MDIV of the Master
Clock Register (PMC_MCKR).
The Processor Clock is enabled after a reset and is automatically re-enabled by any
enabled interrupt. The Idle Mode is achieved by disabling the Processor Clock, which is
automatically re-enabled by any enabled fast or normal interrupt, or by the reset of the
product.
PLLA Clock
PLLB Clock
A new value to be written in PMC_MCKR must not be the same as the current value in
PMC_MCKR.
Main Clock
SLCK
CD
Master Clock
Prescaler
PRES
Master
Divider
Clock
MDIV
MCK
To the Processor
Clock Controller
To the Processor
Clock Controller
MCK
ARM9 Products
ARM7 Products
1790A–ATARM–11/03

Related parts for at91rm3400