User Manual

EP7309/11/12 Users Manual - DS508UM4 17-5
Copyright Cirrus Logic, Inc. 2003
UART and SIR Encoder
1717
17
UART and SIR Encoder Register Descriptions
UART Data Registers (UARTDR1 and UARTDR2)
Address: 0x8000.0480 and 0x8000.1480, Read / Write
Bit Descriptions:
RX data: 8-bit data read and w rite for all data transfers to and from the
FIFOs. Data written to these reg isters is p u shed onto a 16-b yte
holdingFIFOifenabled.IfFIFOisnotenabled,onebyteisstored
in a 1-byte holding register. Write to this location will initiate
transmission by the UART.
Read data is 8-bits al ong with three error status bits. If FIFO is
enabled, data read from this register an d the error status is
popped from the 16 byte RX FIFO. If FIFO is not enabled, it is read
from data read will b e the last byte received by the U ART.
FRMERR: UART framing error. This bit is set if the UART detected a framing
error while receiving the associated data byte. Framing errors are
caused by non-matching word lengths or bit rates.
PARERR: UART p a rity error. This bit is set if the UART d etected a parity
error while receiving the data byte.
OVERR: UART over-run error. This bit is set if more data is received by the
UART and the FIFO is full. THe overrun is not associated with
any single character an d so is n ot stored in the FIFO. If set, the
entire contents of the FIFO is inv alid and should be cleared. This
error bit is cleared by reading the fir st byte i n this register.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RSVD
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NA OVERR PARER
R
FRMER
R
RX data