English
Language : 

Z51F3220FNX Datasheet, PDF (228/312 Pages) Zilog, Inc. – Z8051 Series 8-Bit Microcontrollers
Z51F3220
Product Specification
11.13.5 USI1 External Clock (SCK1)
External clocking is used in the synchronous mode of operation.
External clock input from the SCK1 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 SCK1 pin is limited up-to 1MHz.
11.13.6 USI1 Synchronous mode operation
When synchronous or SPI mode is used, the SCK1 pin will be used as either clock input (slave) or clock output
(master). Data sampling and transmitter is issued on the different edge of SCK1 clock each other. For example, if
data input on RXD1 (MISO1 in SPI mode) pin is sampled on the rising edge of SCK1 clock, data output on TXD1
(MOSI1 in SPI mode) pin is altered on the falling edge.
The CPOL1 bit in USI1CR1 register selects which SCK1 clock edge is used for data sampling and which is used
for data change. As shown in the figure below, when CPOL1 is zero, the data will be changed at rising SCK1
edge and sampled at falling SCK1 edge.
CPOL1 = 1
SCK1
TXD1/RXD1
CPOL1 = 0
SCK1
Sample
TXD1/RXD1
Sample
Figure 11.80 Synchronous Mode SCK1 Timing (USI1)
PS029902-0212
PRELIMINARY
226