Communications Processor (CP)
MOTOROLA
MC68302 USER’S MANUAL
4-95
CR—BCS Error
BCS error (CR) is updated every time a byte is written into the buffer. The CR bit includes
the calculation for the current byte. By clearing the RBCS bit in the BISYNC mode register
within eight serial clocks, the user can exclude the current character from the message
BCS calculation. The data length field may be read to determine the current character's
position.
OV—Overrun
A receiver overrun occurred during message reception.
CD—Carrier Detect Lost
The carrier detect signal was negated during message reception.
Data Length
The data length is the number of octets that the CP has written into this BD's data buffer,
including the BCS (if selected). In BISYNC mode, the data length should initially be set to
zero by the user and is incremented each time a received character is written to the data
buffer.
NOTE
The actual buffer size should be greater than or equal to the MR-
BLR.
Rx Buffer Pointer
The receive buffer pointer, which always points to the first location of the associated data
buffer, may be even or odd. The buffer may reside in either internal or external memory.
NOTE
For correct operation of the function codes, the upper 8 bits of
the pointer must be initialized to zero.
4.5.13.11 BISYNC Transmit Buffer Descriptor (Tx BD).
Data is presented to the CP for transmission on an SCC channel by arranging it in buffers
referenced by the channel's Tx BD table. The CP confirms transmission (or indicates error
conditions) using the BDs to inform the processor that the buffers have been serviced. The
Tx BD is shown in Figure 4-33.
The first word of the Tx BD contains status and control bits. These bits are prepared by the
user before transmission and are set by the CP after the buffer has been transmitted.
15
R
14
X
13
W
12
I
11
L
10
TB
9
B
8
7
6
5
—
4
—
3
—
2
—
1
0
OFFSET + 0
OFFSET + 2
OFFSET + 4
BR
TD
TR
UN
CT
DATA LENGTH
OFFSET +6
TX BUFFER POINTER (24-bits used, upper 8 bits must be 0)
Figure 4-33. BISYNC Transmit Buffer Descriptor