10 hunt mode (receiver), Hunt mode (receiver) -10, Transmit out-of-sequence register (toseq) -10 – Motorola MPC8260 User Manual

Page 594: Toseq field descriptions -10

Advertising
background image

20-10

MPC8260 PowerQUICC II UserÕs Manual

MOTOROLA

Part IV. Communications Processor Module

20.10 Hunt Mode (Receiver)

A UART receiver in hunt mode remains deactivated until an idle or address character is
recognized, depending on PSMR[UM]. A receiver is forced into hunt mode by issuing an

ENTER

HUNT

MODE

command.

The receiver aborts any message in progress when

ENTER

HUNT

MODE

is issued. When the

message is Þnished, the receiver is reenabled by detecting the idle line (one idle character)
or by the address bit of the next message, depending on PSMR[UM]. When a receiver in
hunt mode receives a break sequence, it increments BRKEC and generates a BRK interrupt
condition.

20.11 Inserting Control Characters into the Transmit

Data Stream

The SCC UART transmitter can send out-of-sequence, ßow-control characters like XON
and XOFF. The controller polls the transmit out-of-sequence register (TOSEQ), shown in
Figure 20-4, whenever the transmitter is enabled for UART operation, including during a
UART freeze operation, UART buffer transmission, and when no buffer is ready for
transmission. The TOSEQ character (in CHARSEND) is sent at a higher priority than the
other characters in the transmit buffer, but does not preempt characters already in the
transmit FIFO. This means that the XON or XOFF character may not be sent for eight or
four (SCC) character times. To reduce this latency, set GSMR_H[TFL] to decrease the
FIFO size to one character before enabling the transmitter.

Table 20-5 describes TOSEQ Þelds.

Bit

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Field

Ñ

REA

I

CT

Ñ

A

CHARSEND

Reset

0000_0000_0000_0000

R/W

R/W

Addr

SCC base + 0x4E

Figure 20-4. Transmit Out-of-Sequence Register (TOSEQ)

Table 20-5. TOSEQ Field Descriptions

Bit

Name

Description

0Р1

С

Reserved, should be cleared.

2

REA

Ready. Set when the character is ready for transmission. Remains 1 while the character is
being sent. The CP clears this bit after transmission.

3

I

Interrupt. If this bit is set, transmission completion is ßagged in the event register (SCCE[TX] is
set), triggering a maskable interrupt to the core.

4

CT

Clear-to-send lost. Operates only if the SCC monitors CTS (GSMR_L[DIAG]). The CP sets this
bit if CTS negates when the TOSEQ character is sent. If CTS negates and the TOSEQ
character is sent during a buffer transmission, the TxBD[CT] status bit is also set.

Advertising