AT91SAM9G45-EKES Atmel, AT91SAM9G45-EKES Datasheet - Page 307

KIT EVAL FOR AT91SAM9G45

AT91SAM9G45-EKES

Manufacturer Part Number
AT91SAM9G45-EKES
Description
KIT EVAL FOR AT91SAM9G45
Manufacturer
Atmel
Series
AT91SAM Smart ARMr
Type
MCUr

Specifications of AT91SAM9G45-EKES

Contents
Board
Processor To Be Evaluated
SAM9G45
Data Bus Width
32 bit
Interface Type
I2C, SPI, UART
Maximum Operating Temperature
+ 50 C
Minimum Operating Temperature
- 10 C
Operating Supply Voltage
1.8 V to 3.3 V
For Use With/related Products
AT91SAM9G45
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
Q4626953
6438F–ATARM–21-Jun-10
Note:
5. Selection of Programmable clocks
6. Enabling Peripheral Clocks
Programmable clocks are controlled via registers; PMC_SCER, PMC_SCDR and
PMC_SCSR.
Programmable clocks can be enabled and/or disabled via the PMC_SCER and PMC_SCDR
registers. Depending on the system used, PMC_PROG_CLK_NB programmable clocks can
be enabled or disabled. The PMC_SCSR provides a clear indication as to which Programma-
ble clock is enabled. By default all Programmable clocks are disabled.
PMC_PCKx registers are used to configure programmable clocks.
The CSS and CSSMCK fields are used to select the programmable clock divider source. Five
clock options are available: main clock, slow clock, master clock, PLLACK, UPLLCK. By
default, the clock source selected is slow clock.
The PRES field is used to control the programmable clock prescaler. It is possible to choose
between different values (1, 2, 4, 8, 16, 32, 64). Programmable clock output is prescaler input
divided by PRES parameter. By default, the PRES parameter is set to 1 which means that
master clock is equal to slow clock.
Once the PMC_PCKx register has been programmed, The corresponding programmable
clock must be enabled and the user is constrained to wait for the PCKRDYx bit to be set in
the PMC_SR register. This can be done either by polling the status register or by waiting the
interrupt line to be raised if the associated interrupt to PCKRDYx has been enabled in the
PMC_IER register. All parameters in PMC_PCKx can be programmed in a single write
operation.
If the CSS and PRES parameters are to be modified, the corresponding programmable clock
must be disabled first. The parameters can then be modified. Once this has been done, the
user must re-enable the programmable clock and wait for the PCKRDYx bit to be set.
Code Example:
Programmable clock 0 is main clock divided by 32.
Once all of the previous steps have been completed, the peripheral clocks can be enabled
and/or disabled via registers PMC_PCER and PMC_PCDR.
Depending on the system used, 19 peripheral clocks can be enabled or disabled. The
PMC_PCSR provides a clear view as to which peripheral clock is enabled.
Code Examples:
Peripheral clocks 4 and 8 are enabled.
write_register(PMC_PCK0,0x00000015)
write_register(PMC_PCER,0x00000110)
Each enabled peripheral clock corresponds to Master Clock.
AT91SAM9G45
307

Related parts for AT91SAM9G45-EKES