v5.1 3
CoreUART
I/O Signal Descriptions
Signal descriptions for the CoreUART are defined in
Table 1. The signals are broken down into the following
classes: system signals, parallel data transfer signals, serial
control and status signals, and serial data signals. System
signals consist of the CLK and reset_n signals. Parallel data
transfer signals include data_in[7:0], data_out[7:0], WEn,
OEn, and CSn. Control signals are bit8, parity_en,
odd_n_even, and baud_val. Status signals are TXrdy,
receive_full, parity_err, and overflow. The serial data
signals consist of Rx and Tx.
Table 1 • CoreUART Signals
Name*Type Mode Description
CLK Input Sync/Async Main system clock
reset_n Input Sync/Async Active low asynchronous reset
data_in[7:0] Input Sync/Async Transmit write data bus
data_out[7:0] Output Sync/Async Receive read data bus
WEn Input Sync/Async
Active low write enable. This signal indicates that the data presented
on data_in[7:0] bus should be registered by the transmit buffer logic.
This signal should only be active for a single clock cycle per
transaction and should only be active when the TXrdy signal is active
OEn Input Sync/Async
Active low read enable. This signal is used to indicate that the data
on data_out[7:0] has been read and will reset the receive_full bit and
any error conditions (overflow or parity_err)
CSn Input Sync/Async
Active low chip select. The CSn signal qualifies both the WEn and
OEn signals. For embedded applications, this signal should be tied
to a logical ‘0’
bit8 Input Sync/Async
Control bit for data bit width for both receive and transmit functions.
When bit8 is a logical ‘1,’ then the data width is eight bits; otherwise,
the data width is seven bits and data defined by data_in[7] is ignored
and data_out[7] is a don’t care
parity_en Input Sync/Async Control bit to enable parity for both receive and transmit functions.
Parity is enabled when the bit is set to a logical ‘1’
odd_n_even Input Sync/Async
Control bit to define odd or even parity for both receive and transmit
functions. When the parity_en control bit is set, a ‘1’ on this bit
indicates odd parity and ‘0’ indicates even parity
baud_val Input Async 8-bit control bus used to define the baud rate
TXrdy Output Sync/Async Status bit, when set to a logical ‘0,’ indicating that the transmit data
buffer is not available for additional transmit data
receive_full Output Sync/Async
Status bit, when set to a logical ‘1,’ indicating that data is available in
the receive data buffer to be read by the system logic. The data
buffer controller must be notified of the reception by simultaneous
activation of the OEn and CSn signals to prevent erroneous overflow
conditions
parity_err Output Sync/Async
Status bit, when set to a logical ‘1,’ indicating a parity error during a
receive transaction. This bit is synchronously cleared by
simultaneous activation of the OEn and CSn signals
overflow Output Sync/Async
Status bit, when set to a logical ‘1,’ indicating a receive overflow has
occurred. This bit is synchronously cleared by simultaneous
activation of the OEn and csn signals
rx Input Sync/Async Serial receive data
tx Output Sync/Async Serial transmit data
Note: *Active low signals are designated with a trailing lower-case n.