187
MC96F6432A
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 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 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
/2
SCLK
f
SCLK
(1)
txclk
rxclk
USInMS[1:0]
DBLSn
MASTERn
CPOLn
Summary of Contents for MC96F6432A
Page 16: ...16 MC96F6432A ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 48 Pin QFN Package ...
Page 17: ...17 MC96F6432A ABOV Semiconductor Co Ltd Figure 4 2 44 Pin MQFP Package ...
Page 18: ...18 MC96F6432A ABOV Semiconductor Co Ltd Figure 4 3 32 Pin LQFP Package ...
Page 19: ...19 MC96F6432A ABOV Semiconductor Co Ltd Figure 4 4 32 Pin SOP Package ...
Page 20: ...20 MC96F6432A ABOV Semiconductor Co Ltd Figure 4 5 28 Pin SOP Package ...