1 inline synchronization pattern, 2 inherent synchronization, 3 end of frame detection – Motorola MPC8260 User Manual

Page 658: 5 crc calculation in transparent mode, 6 scc transparent parameter ram, Inline synchronization pattern -6, Inherent synchronization -6, End of frame detection -6, Crc calculation in transparent mode -6, Scc transparent parameter ram -6

Advertising
background image

23-6

MPC8260 PowerQUICC II UserÕs Manual

MOTOROLA

Part IV. Communications Processor Module

Note that when using the TSA, a newly-enabled transmitter sends from 10 to 15 frames of
idles before sending the actual transparent data due to startup requirements of the TDM.
Therefore, when loopback testing through the TDM, expect to receive several bytes of 0xFF
before the actual data.

23.4.2.1 Inline Synchronization Pattern

The receiver can be programmed to begin receiving data into the receive buffers only after
a speciÞed data pattern arrives. To synchronize on an inline pattern:

¥

Set GSMR_H[SYNL].

¥

Program the DSR with the desired pattern.

¥

Clear GSMR_H[CDP].

¥

Set GSMR_H[CTSP, CTSS, CDS].

If GSMR_H[TXSY] is also used, the transmitter begins transmission eight clocks after the
receiver achieves synchronization.

23.4.2.2 Inherent Synchronization

Inherent synchronization assumes synchronization by default when the channel is enabled;
all data sent from the TDM to the SCC is received. To implement inherent synchronization:

¥

Set GSMR_H[CDP, CDS, CTSP, CTSS].

If these bits are not set, the received bit stream will be bit-shifted. The SCC loses the Þrst
received bit because CD and CTS are treated as asynchronous signals.

23.4.3 End of Frame Detection

An end of frame cannot be detected in the transparent data stream since there is no deÞned
closing ßag in transparent mode. Therefore, if framing is needed, the user must use the CD
line to alert the transparent controller of an end of frame.

23.5 CRC Calculation in Transparent Mode

The CRC calculations follow the ITU/IEEE standard. The CRC is calculated on the
transmitted data stream; that is, from lsb to msb for non-bit-reversed (GSMR_H[REVD] =
0) and from msb to lsb for bit-reversed (GSMR_H[REVD] = 1) transmission. The
appended CRC is sent msb to lsb. When receiving, the CRC is calculated as the incoming
bits arrive. The optional reversal of data (GSMR_H[REVD] = 1) is done just before data is
stored in memory (after the CRC calculation).

23.6 SCC Transparent Parameter RAM

For transparent mode, the protocol-speciÞc area of the SCC parameter RAM is mapped as
in Table 23-2.

Advertising