Atmel ARM-Based Evaluation Kit AT91SAM9N12-EK AT91SAM9N12-EK Scheda Tecnica

Codici prodotto
AT91SAM9N12-EK
Pagina di 1104
916
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
43.7.1 Clock 
Management
The transmitter clock can be generated by:
an external clock received on the TK I/O pad
the receiver clock
the internal clock divider
The receiver clock can be generated by:
an external clock received on the RK I/O pad
the transmitter clock
the internal clock divider
Furthermore, the transmitter block can generate an external clock on the TK I/O pad, and the receiver block can generate
an external clock on the RK I/O pad.
This allows the SSC to support many Master and Slave Mode data transfers. 
43.7.1.1 Clock Divider
Figure 43-4.  Divided Clock Block Diagram 
The Master Clock divider is determined by the 12-bit field DIV counter and comparator (so its maximal value is 4095) in
the Clock Mode Register SSC_CMR, allowing a Master Clock division by up to 8190. The Divided Clock is provided to
both the Receiver and Transmitter. When this field is programmed to 0, the Clock Divider is not used and remains
inactive.
When DIV is set to a value equal to or greater than 1, the Divided Clock has a frequency of Master Clock divided by 2
times DIV. Each level of the Divided Clock has a duration of the Master Clock multiplied by DIV. This ensures a 50% duty
cycle for the Divided Clock regardless of whether the DIV value is even or odd.
Figure 43-5.   Divided Clock Generation 
MCK
Divided Clock
Clock Divider
/ 2
12-bit Counter
SSC_CMR
Master Clock
Divided Clock
DIV = 1
Master Clock
Divided Clock
DIV = 3
Divided Clock Frequency = MCK/2
Divided Clock Frequency = MCK/6