mpc823rg Freescale Semiconductor, Inc, mpc823rg Datasheet - Page 689

no-image

mpc823rg

Manufacturer Part Number
mpc823rg
Description
Mpc823 Powerquicc Integrated Communications Processor For Portable Systems
Manufacturer
Freescale Semiconductor, Inc
Datasheet
You can program the CPM command register with the following commands to receive data.
16.9.16.7 SCCx HDLC CONTROLLER ERRORS.The SCCx HDLC controller reports
frame reception and transmission error conditions using the channel buffer descriptors, error
counters, and SCCE–HDLC register. The following transmission errors can be detected by
the SCCx HDLC controller.
• ENTER HUNT MODE—After the hardware or software is reset and the channel is
• CLOSE RX BD—This command must not be used in the HDLC protocol.
• INIT RX PARAMETERS—This command initializes all the receive parameters in this
• Transmitter Underrun Error — When this error occurs, the channel terminates buffer
• CTS Lost During Frame Transmission Error — When this error occurs, the channel
enabled in the PSMR–SCC HDLC register, the channel is in receive enable mode and
uses the first buffer descriptor in the table. The ENTER HUNT MODE command is
generally used to force the HDLC receiver to stop receiving the current frame and enter
hunt mode. In hunt mode, the SCCx HDLC controller continually scans the input
datastream for the flag sequence. After receiving the command, the current receive
buffer is closed and the CRC is reset. Additional frame reception uses the next buffer
descriptor.
serial channel parameter RAM to their reset state and must only be issued when the
receiver is disabled. The INIT TX AND RX PARAMS command can be used to reset
the receive and transmit parameters.
transmission, closes the buffer, sets the UN bit in the TX buffer descriptor, and
generates the TXE interrupt if it is enabled. The channel continues transmitting after it
receives the RESTART TRANSMIT command. The transmit FIFO size is 32 bytes for
each serial communication controller.
terminates buffer transmission, closes the buffer, sets the CT bit in the TX buffer
descriptor, and generates the TXE interrupt if it is enabled. The channel continues
transmitting after it receives the RESTART TRANSMIT command. If this error occurs
on the first or second buffer of the frame and the RTE bit in the PSMR–SCC HDLC is
set, the channel retransmits the frame when the CTSx signal becomes active again.
When you are working in SCCx HDLC mode with the possibility of a collision, in order
to ensure the retransmission method functions properly, the first and second data
buffers must contain more than 36 bytes of data and 20 bytes of data if multiple buffers
per frame are used. The channel also increments the retransmission counter. This
requirement does not apply to small frames that consist of a single buffer.
Freescale Semiconductor, Inc.
For More Information On This Product,
MPC823 REFERENCE MANUAL
Go to: www.freescale.com
Communication Processor Module
16-237

Related parts for mpc823rg