Freescale Semiconductor MPC5200B User Manual page 525

Freescale semiconductor board users guide
Table of Contents

Advertisement

PSC Registers—MBAR + 0x2000, 0x2200, 0x2400, 0x2600, 0x2800, 0x2C00
Bit
Value
Command
4:5
00
01
transmitter
10
transmitter
11
6:7
00
01
10
11
Note: This field selects a single command.
15-14
no action
Causes Tx to stay in current mode.
taken
• If Tx is enabled, it remains enabled.
• If Tx is disabled, it remains disabled.
Enables operation of Tx channels. SR[TxEMP,TxRDY] sets. If Tx is already
enable
enabled, this command has no effect.
In UART mode, TxRDY and TxEMP bits in
In Codec mode:
Tx FIFO can be loaded while Tx is disabled, unlike in UART mode. Therefore
this command does not affect TxRDY or URERR behavior. It does not
automatically set TxRDY and URERR. If no data is written to Tx FIFO,
URERR sets at the first FrameSync after Tx is enabled.
In AC97 mode:
URERR sets if Tx FIFO is empty, Tx is enabled, Rx detects a "Codec Ready"
condition, and a FrameSync occurs before samples are written to the Tx
FIFO.
Note: In Codec / AC97 mode it's not possible to use the transmitter without the
receiver. To transmit data only, also the receiver must be enabled!
Terminates Tx operation and clears SR[TxEMP,TxRDY].
disable
• If a character is being sent when Tx is disabled, transmission completes
before Tx becomes inactive.
• If Tx is already disabled, the command has no effect.
In UART mode, SR[TxEMP,TxRDY] are negated.
In Codec mode SR[TxEMP] is negated.
Tx does not clear SR[TxRDY] unless PSC is in remote loop-back or
auto-echo mode. In Codec mode, unlike UART mode, the Tx FIFO may be
loaded while Tx is disabled.
Note: If the transmitter was disabled and transmit data are available in the TX
FIFO, then TX line is not driven low, the frame signal is also visible on the TX line.
Reserved, do not use.
no action
Causes receiver to stay in current mode.
taken
• If receiver is enabled, it remains enabled.
• If receiver is disabled, it remains disabled.
receiver
Enables receiver
enable
• If PSC module is not in multidrop mode (MR1[PM] ≠ 11), RECEIVER
ENABLE command enables channel's receiver and forces it into a
search-for-start-bit state. In multidrop mode the Rx continuously monitors the
received data regardless of whether it is enabled or not.
• If receiver is already enabled, this command has no effect.
receiver
Immediately disables receiver. In UART mode any character being received is
disable
lost. The command does not affect receiver status bits or other control registers.
• If the PSC module is programmed for local loop-back or multidrop mode, the
receiver operates even though this command is selected.
• If the receiver is already disabled, the command has no effect.
In Codec mode, if the receiver is disabled while a character is being received,
reception completes before the receiver becomes inactive.
Reserved, do not use.
MPC5200B Users Guide, Rev. 1
Description
SR
become asserted.
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents