KS152JB Universal Communications Controller Technical Specifications

 

 

 

 

Transmit Shift Register

 

CLOCK

 

 

 

 

SOUT

RxD

 

 

 

Internal

PARIN

 

P3.0 Alternate

 

 

 

 

Output function

 

 

Data Bus

 

 

 

 

 

Write to

 

LOAD

 

 

12

4

SBUF

 

 

 

 

CLOCK

 

 

 

SM2

TX START

TX SHIFT

 

 

 

 

TX CLOCK

TI

 

 

 

0

1

 

 

 

SERIAL

 

Serial Interrupt

 

 

 

 

 

CONTROLLER

 

 

 

 

 

 

 

 

 

RI

 

 

 

 

 

RX CLOCK

SHIFT

 

 

TxD

 

 

CLOCK

 

 

 

 

 

 

P3.1 Alternate

 

 

 

LOAD

 

 

 

 

 

 

 

Output function

RI

 

RX

SBUF

 

 

 

 

 

RX SHIFT

 

 

 

REN

 

START

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CLOCK

 

Internal

 

 

 

 

PAROUT

SBUF

 

 

 

 

Data Bus

RxD

 

 

 

SIN

 

 

P3.0 Alternate

 

 

 

 

 

 

Input function

 

 

 

 

 

Read

 

 

 

 

Receive Shift Register

 

SBUF

Local Serial Port Mode 0

MODE 1

In Mode 1, the full duplex mode is used. Serial communication frames are made up of 10 bits transmitted on TXD and received on RXD. The 10 bits consist of a start bit (0), 8 data bits (LSB first), and a stop bit (1). On receive, the stop bit goes into RB8 in the SFR SCON. The baud rate in this mode is variable.In this mode 10 bits are transmitted (on TxD) or received (on RxD). The frame consists of a start bit (0), 8 data bits (LSB first), and a stop bit (1). On reception, the stop bit is placed into RB8. Tthe baud rate is determined by the Timer 1 or timer 2 overflow rate, and so it can be controlled by the user.

The figure below gives the simplified functional block for Mode 1.

Transmission begins with a write to SBUF. The serial data is brought out on to TxD pin following the first roll-over of divide by 16 counter. The next bit is placed on TxD pin following the next rollover of the divide by 16 counter. Thus the transmission is synchronized to the divide by 16 counter and not directly to the write to SBUF signal. After all 8 bits of data are transmitted, the stop bit is transmitted. The TI flag is set in the S1 state after the stop bit has been put out on TxD pin. This will be at the 10th rollover of the divide by 16 counter after a write to SBUF.

Kawasaki LSI USA, Inc.

Page 24 of 120

Ver. 0.9 KS152JB2

Page 24
Image 24
Kawasaki KS152JB, 80C152, 80C51 technical specifications Local Serial Port Mode, Controller