Motorola MPC860 PowerQUICC User Manual page 720

Table of Contents

Advertisement

Part V. The Communications Processor Module
Command
Sends the asynchronous HDLC abort sequence (0x7D;0x7E for PPP, 0x7D; 0xC1 for IrLAP) and
STOP TRANSMIT
disables data transmission. If the asynchronous HDLC controller receives this command during
frame transmission, the abort sequence is put in the FIFO and the transmitter does not try to send
more data from the current BD or advance to the next TxBD. The BD to be terminated is indicated by
the TBPTR entry in the parameter RAM table.
Note that unlike with other SCC protocols, the
to 16 characters (32 on SCC1) can be sent ahead of the abort sequence unless GSMR_H[TFL] = 1.
Not supported by the asynchronous HDLC controller.
GRACEFUL
STOP TRANSMIT
Reenables transmission of characters; the asynchronous HDLC controller expects it after a
RESTART
TRANSMIT
TRANSMIT
the buffer using the current TxBD (pointed to by TBPTR).
Initializes all Tx parameters in this channelÕs parameter RAM to reset state. It must be issued only
INIT TX
when the transmitter is disabled. The
PARAMETERS
parameters.
Table 26-4 describes receive commands. After hardware or software is reset and a channel
is enabled in the GSMR, reception begins with the Þrst BD in the RxBD table.
Command
Forces the asynchronous HDLC controller to close the current RxBD, if it is in use, and enter hunt
ENTER HUNT
mode. Reception resumes after the controller Þnds a frame preceded by one or more opening ßags.
MODE
Not supported by the asynchronous HDLC controller.
CLOSE RXBD
Initializes all Rx parameters in the channelÕs parameter RAM to reset state. Issue only when the
INIT RX
receiver is disabled. The
PARAMETERS
26.12 Handling Errors in the Asynchronous HDLC
Controller
The asynchronous HDLC controller reports frame reception and transmission error
conditions using the channel BDs and the asynchronous HDLC event register (SCCE).
Table 26-5 describes transmit errors.
Error
CTS Lost during
The channel stops sending the buffer, closes it, sets SCCE[TXE] and TxBD[CT]. The channel
Frame Transmission
resumes sending from the next TxBD after a
26-8
Table 26-3. Transmit Commands
command or transmitter error. The controller continues sending from the Þrst character in
Table 26-4. Receive Commands
INIT TX AND RX PARAMETERS
Table 26-5. Transmit Errors
MPC860 PowerQUICC UserÕs Manual
Description
command does not ßush the FIFO. Up
STOP TRANSMIT
INIT TX AND RX PARAMETERS
Description
command resets both Tx and Rx parameters.
Description
RESTART TRANSMIT
STOP
command resets both Tx and Rx
command is issued.
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents