EasyManuals Logo

Abov A96G166 User Manual

Default Icon
247 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #140 background imageLoading...
Page #140 background image
15. USART 0/1 A96G166/A96A166/A96S166 User’s manual
140
15.2 Clock generation
The Clock generation logic generates a base clock signal for the transmitter and the receiver. The
USART supports four modes of clock operation such as Normal Asynchronous mode, Double Speed
Asynchronous mode, Master Synchronous mode, and Slave Synchronous mode.
Clock generation scheme for Master SPI and Slave SPI mode is the same as Master Synchronous
and Slave Synchronous operation mode. The UMSEL[1:0] bit in UnCTRL1 register selects between
asynchronous and synchronous operation. Asynchronous Double Speed mode is controlled by the
U2X bit in the UnCTRL2 register. The MASTER bit in UnCTRL2 register controls whether the clock
source is internal (Master mode, output port) or external (Slave mode, input port). The XCKn pin is
only active when the USART operates in Synchronous or SPI mode.
Figure 71. Clock Generation Block Diagram
Table 25 contains equations for calculating the baud rate (in bps).
Table 25. Equations for Calculating Baud Rate Register Setting
Operating mode
Equation for calculating baud rate
Asynchronous normal mode (U2X=0)


󰇛 󰇜
Asynchronous double speed mode (U2X=1)


󰇛 󰇜
Synchronous or SPI master mode


󰇛 󰇜
XCKn
Prescaling
Up-Counter
UBAUD
/2
/8
Sync Register
/2
SCLK
f
SCLK
(UBAUD+1)
txclk
rxclk
UMSEL0
U2X
MASTER
UCPOL

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Abov A96G166 and is the answer not in the manual?

Abov A96G166 Specifications

General IconGeneral
BrandAbov
ModelA96G166
CategoryComputer Hardware
LanguageEnglish

Related product manuals