Freescale Semiconductor MPC5200B User Manual page 521

Freescale semiconductor board users guide
Table of Contents

Advertisement

PSC Registers—MBAR + 0x2000, 0x2200, 0x2400, 0x2600, 0x2800, 0x2C00
Bit
Name
3
ORERR
Overrun Error
Indicates whether an overrun occurs. For purposes of overrun, FIFO full means all FIFO space
is occupied; the Rx FIFO threshold is irrelevant to overrun.
Also see the note on the end of this table.
4
TxEMP/
UART / SIR—Transmitter Empty
URERR
other Modes—Underrun error
Also see the note on the end of this table.
5
TxRDY
Transmitter Ready
Also see the note on the end of this table.
6
FFULL
Rx FIFO full
Also see the note on the end of this table.
7
RxRDY
Receiver Ready
Also see the note on the end of this table.
15-10
0 = No overrun occurred.
1 = One or more characters in Rx data stream were lost. ORERR sets on receipt of a new
character when FIFO is full and a character is already in the shift register waiting for an empty
FIFO position. When this occurs, the character in the Rx shift register and its break detect,
framing error status, and parity error, if any, are lost. ORERR is cleared by the
command in CR.
STATUS
0 = Tx buffer not completely empty. Either a character is being shifted out, or Tx is disabled.
Tx is enabled/disabled by programming
1 = Tx has underrun (both the Tx holding register and Tx shift registers are empty). This bit
sets after transmission of the last stop bit of a character, if there are no characters in the Tx
holding register awaiting transmission.
0 = No error.
1 = Underrun error occurred, which means the number of Tx FIFO bytes is 0, the Tx shift
register is empty, and a FrameSync occurs. In other words, the time has come to transmit a
new sample, but no sample is available in the Tx shift register. Unlike UART mode, TxEMP
high indicates an error condition similar to the overrun condition (ORERR = 1), and as such
it is now cleared the same way as ORERR, by a RESET ERROR STATUS command in the
CR
and not by a reset Tx command in the CR.
0 - Tx FIFO contains a number of data bytes greater than the
Tx is disabled.
1 - Tx FIFO is "almost empty" as defined by the TFALARM. TxRDY sets when the number of
Tx FIFO bytes falls to, or below, the
to the Tx shift register. Once set, TxRDY remains set until the number of empty bytes in the
Tx FIFO falls to 4 times the granularity level specified in the
this bit only asserts if the Tx is enabled.
0 = The Rx FIFO is not "almost full"
1 = Rx FIFO is "almost full" as defined by the RFALARM. FFULL sets as soon as the number
of bytes in the Rx FIFO exceeds the
shift register to the Rx FIFO. Once set, FFULL remains set until the number of bytes in the
Rx FIFO falls to the granularity level specified in the
0 = There is no data in the Rx FIFO.
1 = One or more characters were received and are waiting in the Rx buffer FIFO.
MPC5200B Users Guide, Rev. 1
Description
CR
[TC].
TFALARM
TFALARM
value, due to data transfer from the Tx FIFO
TFCNTL
RFALARM
value, due to the transfer of data from the Rx
RFCNTL
register.
RESET ERROR
register value, or the
register. In UART mode
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents