![Abov MC96F8204 Series User Manual Download Page 123](http://html1.mh-extra.com/html/abov/mc96f8204-series/mc96f8204-series_user-manual_3544081123.webp)
123
MC96F8204
ABOV Semiconductor Co., Ltd.
11.8.3 USART Clock Generation
Figure 11.26
Clock Generation Block Diagram (USART)
The clock generation logic generates the base clock for the transmitter and receiver. The USART 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 USTMS[1:0] bits in USTCR1 register selects asynchronous
or synchronous operation. Asynchronous double speed mode is controlled by the DBLS bit in the USTCR2 register.
The MASTER bit in USTCR3 register controls whether the clock source is internal (master mode, output pin) or
external (slave mode, input pin). The SCK pin is active only when the USART 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 (DBLS=0)
Baud Rate =
fx
16(USTBD + 1)
Asynchronous Double Speed Mode (DBLS=1)
Baud Rate =
fx
8(USTBD + 1)
Synchronous or SPI Master Mode
Baud Rate =
fx
2(USTBD + 1)
Table 11.10
Equations for Calculating USART Baud Rate Register Setting
SCK
Prescaling
Up-Counter
USTBD
/2
/8
Sync Register
M
U
X
M
U
X
M
U
X
M
U
X
/2
Edge
Detector
SCLK
f
SCLK
(USTBD+1)
txclk
rxclk
USTMS[1:0]
DBLSn
MASTERn
CPOL
Summary of Contents for MC96F8204 Series
Page 13: ...13 MC96F8204 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 20 Pin SOP Package...
Page 14: ...14 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 2 20 Pin TSSOP Package...
Page 15: ...15 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 3 16 Pin SOPN Package...
Page 16: ...16 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 4 10 Pin SSOP Package...
Page 17: ...17 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 5 8 Pin SOP Package...