![Wiznet W7500 Reference Manual Download Page 355](http://html.mh-extra.com/html/wiznet/w7500/w7500_reference-manual_990600355.webp)
W7500x Reference Manual Version1.1.0
355 / 399
26
Universal Asynchronous Receive Transmit(UART2)
26.1
Introduction
The UART2 supports Asynchronous one-way communication, half-duplex single wire
communication, and without CTS/RTS. UART2 is called the simple UART.
26.2
Feature
-
Serial-to-parallel conversion on data received from a peripheral device
-
Parallel-to-serial conversion on data transmitted to the peripheral device
26.3
Functional description
UART bidirectional communication requires a minimum of two pins: RX, TX
The frame are comprised of:
An Idle Line prior to transmission or reception
The UART interface uses a baud rate generator
A status register (UART2_SR)
data registers (UART2DR)
A baud rate register (UART2_B,UART1_FBRD)
Baud rate calculation
UART2 can operate with or without using the Fractional Divider. The baud rate divisor is a 20-
bit number consisting the UART2BDR.
This is used by the baud rate generator to determine the bit period.
-
Baud Rate Divisor =
UARTCLK
(𝑏𝑎𝑢𝑑 𝑟𝑎𝑡𝑒)
BDV = PCLK/(BR)
UART2BDR = BDV
END
Calculating UART
baudrate (BR)
PCLK,
BR
Figure 53. UART2 divider flow chart