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 #142 background imageLoading...
Page #142 background image
15. USART 0/1 A96G166/A96A166/A96S166 User’s manual
142
15.5 Data format
A serial frame is defined to consist of one character of data bits with synchronization bits (start and
stop bits), and optionally a parity bit for error checking.
USART2 supports all 30 combinations of the followings as a valid frame format.
 1 start bit
 5, 6, 7, 8 or 9 data bits
 no, even or odd parity bit
 1 or 2 stop bits
A frame starts with the start bit followed by the least significant data bit (LSB). The next data bits, up
to a total of nine, are succeeding, ending with the most significant bit (MSB). If enabled, the parity bit
is inserted after the data bits, before the stop bits. A high to low transition on data pin is considered as
start bit.
When a complete frame is transmitted, it can be directly followed by a new frame, or the
communication line can be set to an idle state. The idle means high state of data pin. The next figure
shows the possible combinations of the frame formats. Bits inside brackets are optional.
Figure 73. A Frame Format
Single data frame consists of the following bits
 Idle: No communication on communication line (TxD2/RxD2)
 St: Start bit (Low)
 Dn: Data bits (0~8)
 Parity bit: even parity, odd parity, no parity
 Stop bit(s): 1 bit or 2 bits
A frame format of the USARTn is set by USIZE[2:0], UPM[1:0] and USBS bits in UnCTRL1, UnCTRL3
register. The Transmitter and the Receiver use the same settings.
[D7]
[D6]
[D5]
D4
D3
D2
D1
D0
[D8]
[P]
Idle
St
Sp1
[Sp2]
Idle / St
1 data frame
Character bits

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