MC96F6432
198
June 22, 2018 Ver. 2.9
11.12.4 USI0 Clock Generation
Figure 11.58 Clock Generation Block Diagram (USI0)
The clock generation logic generates the base clock for the transmitter and receiver. The USI0 supports four
modes of clock operation and those are normal asynchronous, double speed asynchronous, master synchronous
and slave synchronous mode. The clock generation scheme for master SPI and slave SPI mode is the same as
master synchronous and slave synchronous operation mode. The USI0MS[1:0] bits in USI0CR1 register selects
asynchronous or synchronous operation. Asynchronous double speed mode is controlled by the DBLS0 bit in the
USI0CR2 register. The MASTER0 bit in USI0CR3 register controls whether the clock source is internal (master
mode, output pin) or external (slave mode, input pin). The SCK0 pin is active only when the USI0 operates in
synchronous or SPI mode.
Following table shows the equations for calculating the baud rate (in bps).
Table 11-19 Equations for Calculating USI0 Baud Rate Register Setting
Operating Mode
Equation for Calculating Baud Rate
Asynchronous Normal Mode (DBLS0=0)
Baud Rate =
fx
16( 1)
Asynchronous Double Speed Mode (DBLS0=1)
Baud Rate =
fx
8( 1)
Synchronous or SPI Master Mode
Baud Rate =
fx
2( 1)
SCK0
Prescaling
Up-Counter
USI0BD
/2
/8
Sync Register
M
U
X
M
U
X
M
U
X
M
U
X
/2
Edge
Detector
SCLK
f
SCLK
(1)
txclk
rxclk
USI0MS[1:0]
DBLS0
MASTER0
CPOL0
Содержание 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...