MC96F6432
June 22, 2018 Ver. 2.9
199
11.12.5 USI0 External Clock (SCK0)
External clocking is used in the synchronous mode of operation.
External clock input from the SCK0 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 SCK0 pin is limited up-to 1MHz.
11.12.6 USI0 Synchronous mode operation
When synchronous or SPI mode is used, the SCK0 pin will be used as either clock input (slave) or clock output
(master).
Data sampling and transmitter is issued on the different edge of SCK0 clock each other. For example, if
data input on RXD0 (MISO0 in SPI mode) pin is sampled on the rising edge of SCK0 clock, data output on TXD0
(MOSI0 in SPI mode) pin is altered on the falling edge.
The CPOL0 bit in USI0CR1 register selects which SCK0 clock edge is used for data sampling and which is used
for data change. As shown in the figure below, when CPOL0 is zero, the data will be changed at rising SCK0
edge and sampled at falling SCK0 edge.
Figure 11.59 Synchronous Mode SCK0 Timing (USI0)
SCK0
TXD0/RXD0
CPOL0 = 1
TXD0/RXD0
SCK0
CPOL0 = 0
Sample
Sample
Содержание MC96F6332D
Страница 24: ...MC96F6432 24 June 22 2018 Ver 2 9 4 Package Diagram Figure 4 1 48 Pin LQFP 0707 Package...
Страница 25: ...MC96F6432 June 22 2018 Ver 2 9 25 Figure 4 2 44 Pin MQFP Package...
Страница 26: ...MC96F6432 26 June 22 2018 Ver 2 9 Figure 4 3 32 Pin LQFP Package...
Страница 27: ...MC96F6432 June 22 2018 Ver 2 9 27 Figure 4 4 32 Pin SOP Package...
Страница 28: ...MC96F6432 28 June 22 2018 Ver 2 9 Figure 4 5 28 Pin SOP Package...