185
MC96F6432S
ABOV Semiconductor Co., Ltd.
11.12.4 USIn Clock Generation
Figure 11.58
Clock Generation Block Diagram (USIn)
The clock generation logic generates the base clock for the transmitter and receiver. The USIn supports fourmodes of
clock operationand 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 USInMS[1:0] bits in USInCR1 register selects
asynchronous or synchronous operation. Asynchronous double speed mode is controlled by the DBLSn bit in the
USInCR2 register. The MASTERn bit in USInCR3 register controls whether the clock source is internal (master mode,
output pin) or external (slave mode, input pin). The SCKn pin is active only when the USIn operates in synchronous or
SPI mode.
Following table shows the equations for calculating the baud rate (in bps).
Operating Mode
Equation for Calculating Baud Rate
Asynchronous Normal Mode (DBLSn=0)
Baud Rate =
fx
16( 1)
Asynchronous Double Speed Mode (DBLSn=1)
Baud Rate =
fx
8( 1)
Synchronous or SPI Master Mode
Baud Rate =
fx
2( 1)
Table 11.19
Equations for Calculating USIn Baud Rate Register Setting
SCKn
Prescaling
Up-Counter
USInBD
/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
USInMS[1:0]
DBLSn
MASTERn
CPOLn
Содержание MC96F6332SD
Страница 15: ...15 MC96F6432S ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 44 Pin MQFP Package...
Страница 16: ...16 MC96F6432S ABOV Semiconductor Co Ltd Figure 4 2 32 Pin LQFP Package...
Страница 17: ...17 MC96F6432S ABOV Semiconductor Co Ltd Figure 4 3 32 Pin SOP Package...
Страница 18: ...18 MC96F6432S ABOV Semiconductor Co Ltd Figure 4 4 28 Pin SOP Package...
Страница 19: ...19 MC96F6432S ABOV Semiconductor Co Ltd Figure 4 5 28 Pin TSSOP Package...