Motorola MPC860 PowerQUICC User Manual page 697

Table of Contents

Advertisement

Table 24-9. SCCE/SCCM Field Descriptions (Continued)
Bits
Name
12
RXF
Rx frame. Set when the number of receive frames speciÞed in RFTHR are received on the HDLC
channel. It is set no sooner than two clocks after the last bit of the closing ßag is received. This event is
not maskable via the RxBD[I] bit.
13
BSY
Busy condition. Indicates a frame arrived but was discarded due to a lack of buffers.
14
TXB
Transmit buffer. Enabled by setting TxBD[I]. TXB is set when a buffer is sent on the HDLC channel. For
the last buffer in the frame, TXB is not set before the last bit of the closing ßag begins its transmission;
otherwise, it is set after the last byte of the buffer is written to the Tx FIFO.
15
RXB
Receive buffer. Enabled by setting RxBD[I]. RXB is set when the HDLC channel receives a buffer that
is not the last in a frame.
Figure 24-9 shows interrupts that can be generated using the HDLC protocol.
Frame
Received by HDLC
Time
RXD
Line Idle
CD
HDLC SCCE
CD
Events
NOTES
:
1. RXB event assumes receive buffers are 6 bytes each.
2. The second IDL event occurs after 15 ones are received in a row.
3. The FLG interrupts show the beginning and end of ßag reception.
4. The FLG interrupt at the end of the frame may precede the RXF interrupt due to receive FIFO latency.
5. The CD event must be programmed in the port C parallel I/O, not in the SCC itself.
6. F = ßag, A = address byte, C = control byte, I = information byte, and CR = CRC byte
Frame
Transmitted by HDLC
TXD
RTS
CTS
HDLC SCCE
Events
NOTES:
1. TXB event shown assumes all three bytes were put into a single buffer.
2. Example shows one additional opening ßag. This is programmable.
3. The CTS event must be programmed in the port C parallel I/O, not in the SCC itself.
Figure 24-9. SCC HDLC Interrupt Event Example
MOTOROLA
Stored in Rx Buffer
F
F
A
A
C
I
IDL
FLG
FLG
Stored in Tx Buffer
Line Idle
F
F
A
CTS
Chapter 24. SCC HDLC Mode
Part V. The Communications Processor Module
Description
I
I CR CR F
RXB
RXF
FLG
IDL
FLG
A
C CR CR F
TXB
Line Idle
CD
Line Idle
CTS
24-13

Advertisement

Table of Contents
loading

Table of Contents