beautypg.com

12 sending a break (transmitter), 13 sending a preamble (transmitter), 14 fractional stop bits (transmitter) – Motorola MPC8260 User Manual

Page 595: Sending a break (transmitter) -11, Sending a preamble (transmitter) -11, Fractional stop bits (transmitter) -11, Asynchronous uart transmitter -11

background image

MOTOROLA

Chapter 20. SCC UART Mode

20-11

Part IV. Communications Processor Module

20.12 Sending a Break (Transmitter)

A break is an all-zeros character with no stop bit that is sent by issuing a

STOP

TRANSMIT

command. The SCC Þnishes transmitting outstanding data, sends a programmable number
of break characters (determined by BRKCR), and reverts to idle or sends data if a

RESTART

TRANSMIT

command is given before completion. When the break code is complete, the

transmitter sends at least one high bit before sending more data, to guarantee recognition
of a valid start bit. Because break characters do not preempt characters in the transmit FIFO,
they may not be sent for eight (SCC) 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.

20.13 Sending a Preamble (Transmitter)

Sending a preamble sequence of consecutive ones ensures that a line is idle before sending
a message. If the preamble bit TxBD[P] is set, the SCC sends a preamble sequence (idle
character) before sending the buffer. For example, for 8 data bits, no parity, 1 stop bit, and
1 start bit, a preamble of 10 ones is sent before the Þrst character in the buffer.

20.14 Fractional Stop Bits (Transmitter)

The asynchronous UART transmitter, shown in Figure 20-5, can be programmed to send
fractional stop bits. The FSB Þeld in the data synchronization register (DSR) determines
the fractional length of the last stop bit to be sent. FSB can be modiÞed at any time. If two
stop bits are sent, only the second is affected. Idle characters are always sent as full-length
characters.

5Р6

С

Reserved, should be cleared.

7

A

Address. Setting this bit indicates an address character for multidrop mode.

8Ð15 CHARSEND Character send. Contains the character to be sent. Any 5- to 8-bit character value can be sent

in accordance with the UART conÞguration. The character should be placed in the lsbs of
CHARSEND. This value can be changed only while REA = 0.

Bit

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Field

Ñ

FSB

С

С

С

С

С

С

С

С

С

С

С

Reset

0

1111

1

1

0

0

1

1

1

1

1

1

0

R/W

R/W

Addr

Figure 20-5. Asynchronous UART Transmitter

Table 20-5. TOSEQ Field Descriptions (Continued)

Bit

Name

Description