MC97F2664
April 11, 2014 Ver. 1.4
183
11.11.5 USI0/1 External Clock (SCKn)
External clocking is used in the synchronous mode of operation.
External clock input from the SCKn pin is sampled by a synchronization logic to remove meta-stability. The
output from the synchronization logic must be passed through an edge detector before it is used by the
transmitter and receiver. This process introduces two CPU clock period delay. The maximum frequency of the
external SCKn pin is limited up-to 1MHz.
11.11.6 USI0 Synchronous mode operation
When synchronous or SPI mode is used, the SCKn pin will be used as either clock input (slave) or clock output
(master).
Data sampling and transmitter is issued on the different edge of SCKn clock each other. For example, if
data input on RXDn (MISOn in SPI mode) pin is sampled on the rising edge of SCKn clock, data output on TXDn
(MOSIn in SPI mode) pin is altered on the falling edge.
The CPOLn bit in USInCR1 register selects which SCKn clock edge is used for data sampling and which is used
for data change. As shown in the figure below, when CPOLn is zero, the data will be changed at rising SCKn
edge and sampled at falling SCKn edge.
Figure 11.42 Synchronous Mode SCKn Timing (USIn , where n = 0 and 1)
SCKn
TXDn/RXDn
CPOLn = 1
TXDn/RXDn
SCKn
CPOLn = 0
Sample
Sample
Содержание MC97F2664
Страница 20: ...MC97F2664 20 April 11 2014 Ver 1 4 4 Package Diagram Figure 4 1 64 Pin LQFP 1010 Package...
Страница 21: ...MC97F2664 April 11 2014 Ver 1 4 21 Figure 4 2 64 Pin LQFP 1414 Package...
Страница 22: ...MC97F2664 22 April 11 2014 Ver 1 4 Figure 4 3 64 Pin QFN Package...
Страница 23: ...MC97F2664 April 11 2014 Ver 1 4 23 Figure 4 4 44 Pin MQFP 1010 Package...