4 achieving synchronization in transparent mode, 1 synchronization in nmsi mode, 1 in-line synchronization pattern – Motorola MPC8260 User Manual

Page 655: Achieving synchronization in transparent mode -3, Synchronization in nmsi mode -3, In-line synchronization pattern -3, Receiver sync pattern lengths of the dsr -3

Advertising
background image

MOTOROLA

Chapter 23. SCC Transparent Mode

23-3

Part IV. Communications Processor Module

After a buffer is full, the SCC clears RxBD[E] and generates a maskable interrupt if
RxBD[I] is set. It moves to the next RxBD in the table and begins moving data to its buffer.
If the next buffer is not available, SCCE[BSY] signiÞes a busy signal that can generate a
maskable interrupt. The receiver reverts to hunt mode when an

ENTER

HUNT

MODE

command or an error is received. If GSMR_H[REVD] is set, the bit order of each byte is
reversed before it is written to memory.

Setting GSMR_H[RFW] reduces receiver latency by making the receive FIFO smaller,
which may cause receiver overruns at higher transmission speeds. The receiver always
checks the CRC of the received frame, according to GSMR_H[TCRC]. If a CRC is not
required, resulting errors can be ignored.

23.4 Achieving Synchronization in Transparent Mode

Once the SCC transmitter is enabled for transparent operation, the TxBD is prepared and
the transmit FIFO is preloaded by the SDMA channel, another process must occur before
data can be sent. It is called transmit synchronization. Similarly, once the SCC receiver is
enabled for transparent operation in the GSMR and the RxBD is made empty for the SCC,
receive synchronization must occur before data can be received. An in-line synchronization
pattern or an external synchronization signal can provide bit-level control of the
synchronization process when sending or receiving.

23.4.1 Synchronization in NMSI Mode

This section describes synchronization in NMSI mode.

23.4.1.1 In-Line Synchronization Pattern

The transparent channel can be programmed to receive a synchronization pattern. This
pattern is deÞned in the data synchronization register, DSR; see Section 19.1.3, ÒData
Synchronization Register (DSR).
Ó Pattern length is speciÞed in GSMR_H[SYNL], as
shown in Table 23-1. See also Section 19.1.1, ÒThe General SCC Mode Registers
(GSMR1ÐGSMR4)

If a 4-bit SYNC is selected, reception begins as soon as these four bits are received,
beginning with the Þrst bit following the 4-bit SYNC. The transmitter synchronizes on the
receiver pattern if GSMR_H[RSYN] = 1.

Table 23-1. Receiver SYNC Pattern Lengths of the DSR

GSMR_H[SYNL]

Setting

Bit Assignments

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

00

An external SYNC signal is used instead of the SYNC pattern in the DSR.

01

4-bit

10

8-bit

11

16-bit

Advertising