beautypg.com

Show a, Figure 17-4. serial port mode 3 – Rainbow Electronics AT89LP216 User Manual

Page 47

background image

47

3621A–MICRO–6/06

AT89LP216 [Preliminary]

Figure 17-4. Serial Port Mode 3

TX

CLOCK

WRITE TO SBUF

SEND

DATA

SHIFT

TXD

STOP BIT GEN

TI

D0

D1

D2

D3

D4

D5

D6

D7

TB8

STOP BIT

TRANSMIT

START BIT

INTERNAL BUS

READ

SBUF

LOAD

SBUF

SBUF

SHIFT

INPUT SHIFT REG.

(9 BITS)

BIT

DETECTOR

1-TO-0

TRANSITION

DETECTOR

SERIAL

PORT

INTERRUPT

WRITE

TO

SBUF

÷2

SMOD1

= 0

SMOD1

= 1

TIMER 1

OVERFLOW

RXD

RX CLOCK

RX CLOCK

RX CONTROL

START

START

DATA

SAMPLE

ч16

ч16

TX CONTROL

TI

ZERO DETECTOR

SBUF

TXD

INTERNAL BUS

TB8

D

Q

CL

S

LOAD

SBUF

SHIFT
1FFH

SHIFT

RI

SEND

D0

D1

D2

D3

D4

D5

D6

D7

RB8

START BIT

STOP

BIT

÷16 RESET

RX

CLOCK

BIT DETECTOR SAMPLE TIMES

SHIFT

RECEIVE

RXD

RI

STOP BIT