
PEB 20542
PEF 20542
Detailed Protocol Description
Data Sheet
108
2000-09-14
length equals the character length + optional parity bit. This is the user
’
s responsibility
by appropriate software settings.
Filling of the receive FIFO is controlled by a programmable threshold level.
Reception is stopped if
1. the receiver is deactivated by resetting the bit
CCR3L
:
RAC bit, or
2. the CD signal goes inactive (if Carrier Detect Auto Start is enabled in register
CCR1H
),
or
3. the
CMDRH
:
HUNT command is issued again, or
4. the Receiver Reset command (
CMDRH
:
RRES) is issued, or
5. a programmed Termination Character has been found (optional).
On actions 1. and 2., reception remains disabled until the receiver is activated again.
After this is done, and generally in cases 3. and 4., the receiver returns to the (non-
synchronized) Hunt state. In case 5. a HUNT command has to be issued. Reception of
data is internally disabled until synchronization is regained.
Note: Further checking of frame length, extraction of text or data information and
verifying the Frame Checking Sequence (e.g. CRC) has to be done by the
microprocessor.
4.5.3
Data Transmission
Transmission of data provided in the memory is started after the Transmit Frame (
’
XF
’
)
command is issued (the LSB is sent out first). Additionally, the CTS signal may be used
to control data transmission. The message frame is assembled by appending all data
characters to the specified SYN character(s) until Transmit Message End condition is
detected (
’
XME
’
command in interrupt mode or, in DMA mode, when the number of
characters specified in
XBC1L
/
XBC1H
have been transferred). Internally generated
parity information may be added to each character (SYN, CRC and Preamble characters
are excluded).
If enabled via CRC Append bit (bit
’
CAPP
’
in register
CCR2H
), the internally calculated
CRC checksum (16 bit) is added to the message frame. Selection between CRC-16 and
CRC-CCITT algorithms is provided.
Note: - Internally generated SYN characters are always excluded from CRC calculation,
- CRC checksum (2 bytes) is sent without parity.
The internal CRC generator is automatically initialized before transmission of a new
frame starts. The initialization value is selectable.
After finishing data transmission, interframe-time-fill (SYN characters or IDLE) is
automatically sent.
A transmit data underrun condition in the XFIFO is indicated with an
’
XDU
’
interrupt.
Nevertheless, transmission continues inserting SYN characters into the data stream until