Atmel ARM-Based Evaluation Kit AT91SAM9N12-EK AT91SAM9N12-EK Data Sheet

Product codes
AT91SAM9N12-EK
Page of 1104
163
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
20.
Slow Clock Controller (SCKC)
20.1
Description
The System Controller embeds a Slow Clock Controller.
The slow clock can be generated either by an external 32768 Hz crystal oscillator or by the on-chip 32 kHz RC oscillator.
The 32768 Hz crystal oscillator can be bypassed by setting the OSC32BYP bit to accept an external slow clock on
XIN32. 
The internal 32 kHz RC oscillator and the 32768 Hz oscillator can be enabled by setting to 1, respectively,the RCEN and
OSC32EN bits in the System Controller user interface. The OSCSEL command selects the slow clock source.
20.2
Embedded Characteristics
32 kHz RC Oscillator or 32768 Hz Crystal Oscillator Selector
VDDBU Powered
20.3
Block Diagram
Figure 20-1.  Block Diagram
RCEN, OSC32EN, OSCSEL and OSC32BYP bits are located in the Slow Clock Configuration Register (SCKC_CR)
located at the address 0xFFFFFE50 in the backed up part of the System Controller and, thus, they are preserved while
VDDBU is present.
After the VDDBU power-on reset, the default configuration is RCEN = 1, OSC32EN = 0 and OSCSEL = 0, allowing the
system to start on the internal 32 kHz RC oscillator.
The programmer controls the slow clock switching by software and so must take precautions during the switching phase.
On Chip 
RC OSC
Slow Clock 
SLCK
XIN32
XOUT32
Slow Clock
Oscillator
OSC32EN
RCEN
OSCSEL
OSC32BYP