
FCC HDLC Controller
MPC8260 PowerQUICC II Family Reference Manual, Rev. 2
36-6
Freescale Semiconductor
Table 36-3
describes the receive commands that apply to the HDLC controller.
36.5.2
HDLC Error Handling
The HDLC controller reports frame reception and transmission error conditions using the channel BDs,
error counters, and HDLC event register (FCCE).
Table 36-4
describes HDLC transmission errors, which
are reported through the TxBD.
Table 36-5
describes HDLC reception errors, which are reported through the RxBD.
RESTART
TRANSMIT
Enables character transmission on the transmit channel. This command is expected by the HDLC
controller after a
STOP
TRANSMIT
command, after a
STOP
TRANSMIT
command is issued and the
channel in its FCC mode register is disabled, after a
GRACEFUL
STOP
TRANSMIT
command, or after a
transmitter error (underrun or CTS lost with no automatic frame retransmission). The HDLC
controller resumes sending from the current TBPTR in the channel TxBD table.
INIT
TX
PARAMETERS
Initializes all transmit parameters in this serial channel parameter RAM to their reset state. This
command should only be issued when the transmitter is disabled. Notice that the
INIT
TX
AND
RX
PARAMETERS
command can also be used to reset the transmit and receive parameters.
Table 36-3. Receive Commands
Command
Description
ENTER
HUNT
MODE
After the hardware or software is reset and the channel is enabled in the FCC mode register, the
channel is in receive enable mode and uses the first BD in the table. The
ENTER
HUNT
MODE
command is generally used to force the HDLC receiver to abort reception of the current frame and
enter the hunt mode. In hunt mode, the HDLC controller continually scans the input data stream for
the flag sequence. After receiving the command, the current receive buffer is closed, the error status
flags and length field are cleared, RxBD[E] (the empty bit) is set, and the CRC calculation is reset.
Further frame reception uses the current RxBD.
INIT
RX
PARAMETERS
Initializes all the receive parameters in this serial channel parameter RAM to their reset state and
should be issued only when the receiver is disabled. Notice that the
INIT
TX
AND
RX
PARAMETERS
command resets both receive and transmit parameters.
Table 36-4. HDLC Transmission Errors
Error Description
Transmitter
Underrun
When this error occurs, the channel terminates buffer transmission, transmit an ABORT sequence
(a sequence which will generate CRC error on the frame), closes the buffer, sets the underrun (U)
bit in the BD, and generates the TXE interrupt if it is enabled. The channel resumes transmission
after receiving the
RESTART
TRANSMIT
command.
CTS Lost during
Frame
Transmission
When this error occurs, the channel terminates buffer transmission, closes the buffer, sets
TxBD[CT], and generates a TXE interrupt (if it is enabled). The channel resumes transmission after
receiving the
RESTART
TRANSMIT
command.
Table 36-2. Transmit Commands (continued)
Command Description
Содержание MPC8250
Страница 90: ...MPC8260 PowerQUICC II Family Reference Manual Rev 2 lxxxviii Freescale Semiconductor...
Страница 94: ...MPC8260 PowerQUICC II Family Reference Manual Rev 2 I 4 Freescale Semiconductor...
Страница 118: ...Overview MPC8260 PowerQUICC II Family Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 236: ...Reset MPC8260 PowerQUICC II Family Reference Manual Rev 2 5 14 Freescale Semiconductor...
Страница 274: ...60x Signals MPC8260 PowerQUICC II Family Reference Manual Rev 2 7 18 Freescale Semiconductor...
Страница 540: ...IEEE 1149 1 Test Access Port MPC8260 PowerQUICC II Family Reference Manual Rev 2 13 8 Freescale Semiconductor...
Страница 548: ...MPC8260 PowerQUICC II Family Reference Manual Rev 2 IV 8 Freescale Semiconductor...
Страница 704: ...Serial Communications Controllers SCCs MPC8260 PowerQUICC II Family Reference Manual Rev 2 20 26 Freescale Semiconductor...
Страница 770: ...SCC BISYNC Mode MPC8260 PowerQUICC II Family Reference Manual Rev 2 23 20 Freescale Semiconductor...
Страница 808: ...SCC Ethernet Mode MPC8260 PowerQUICC II Family Reference Manual Rev 2 25 24 Freescale Semiconductor...
Страница 848: ...Serial Management Controllers SMCs MPC8260 PowerQUICC II Family Reference Manual Rev 2 27 36 Freescale Semiconductor...
Страница 972: ...ATM Controller and AAL0 AAL1 and AAL5 MPC8260 PowerQUICC II Family Reference Manual Rev 2 30 52 Freescale Semiconductor...
Страница 1062: ...ATM AAL1 Circuit Emulation Service MPC8260 PowerQUICC II Family Reference Manual Rev 2 31 46 Freescale Semiconductor...
Страница 1072: ...ATM AAL2 MPC8260 PowerQUICC II Family Reference Manual Rev 2 32 10 Freescale Semiconductor...
Страница 1122: ...Inverse Multiplexing for ATM IMA MPC8260 PowerQUICC II Family Reference Manual Rev 2 33 20 Freescale Semiconductor...
Страница 1178: ...Inverse Multiplexing for ATM IMA MPC8260 PowerQUICC II Family Reference Manual Rev 2 33 76 Freescale Semiconductor...
Страница 1224: ...Fast Ethernet Controller MPC8260 PowerQUICC II Family Reference Manual Rev 2 35 28 Freescale Semiconductor...
Страница 1242: ...FCC HDLC Controller MPC8260 PowerQUICC II Family Reference Manual Rev 2 36 18 Freescale Semiconductor...
Страница 1302: ...Register Quick Reference Guide MPC8260 PowerQUICC II Family Reference Manual Rev 2 A 4 Freescale Semiconductor...
Страница 1318: ...Reference Manual Rev 1 Errata MPC8260 PowerQUICC II Family Reference Manual Rev 2 B 16 Freescale Semiconductor...
Страница 1356: ...MPC8260 PowerQUICC II Family Reference Manual Rev 2 Index 28 Freescale Semiconductor U U Index...