KS152JB Universal Communications Controller Technical Specifications

Timer 1

 

 

 

 

 

 

 

Overflow

 

 

 

 

 

 

 

 

 

 

 

 

 

Transmit Shift Register

 

2

 

 

 

 

1

STOP

SOUT

TxD

 

 

 

 

 

 

 

 

 

Internal

TB8

D8

 

 

 

 

 

 

 

PARIN

 

 

SMOD

 

 

Data Bus

0

START

 

 

 

 

 

 

 

 

0

1

Write to

 

 

 

LOAD

 

 

 

 

SBUF

 

 

 

 

 

 

 

 

 

 

CLOCK

 

 

 

 

 

 

 

 

 

 

 

 

 

TX START

TX SHIFT

 

 

 

 

 

 

16

TX CLOCK

TI

 

 

 

 

 

 

 

SERIAL

 

 

Serial Interrupt

 

 

 

CONTROLLER

 

 

 

 

 

 

16

RX CLOCK

RI

 

 

 

 

 

 

 

LOAD

 

 

 

 

 

 

 

 

SBUF

 

 

 

 

 

 

1-TO-0

RX

RX SHIFT

 

 

 

 

 

 

DETECTOR

START

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CLOCK

 

Internal

 

 

 

 

 

 

PAROUT

SBUF

 

 

 

BIT

 

 

Data Bus

 

RxD

 

 

 

SIN

 

 

 

 

DETECTOR

 

 

 

 

 

 

 

D8

RB8

 

 

 

 

 

 

 

Read

 

 

 

 

 

 

 

 

 

 

 

 

 

Receive Shift Register

 

SBUF

Local Serial Port Mode 3

Baud Rates

In Mode 0 the baud rate is fixed at 1/12 of the oscillator frequency.

In Mode 2 the baud rate depends on the value of bit SMOD in PCON SFR. If SMOD is 0 then the baud rate is 1/64 of the oscillator frequency. If the bit is set to 1, then the baud rate is 1/32 of the

oscillator frequency.

Mode 2 Baud Rate = 2( SMOD - 6 ) X Oscillator Frequency

The baud rates in Mode 1 and 3 are determined by the overflow rates of Timer 1. Using Timer 1 to generate baud rates.

When Timer 1 is used as a baud rate generator, the baud rates in Modes 1 and 3 are determined by the Timer 1 overflow rate and the value of SMOD.

Modes 1 and 3 baud rate = 2( SMOD - 5 ) X Timer 1 overflow rate

The Timer 1 interrupt should be disabled in this mode. The timer itself can be configured as either “timer” or “counter”, in any of its 3 operating modes. Commonly, Timer 1 is configured as a timer

Kawasaki LSI USA, Inc.

Page 28 of 120

Ver. 0.9 KS152JB2

Page 28
Image 28
Kawasaki 80C152, KS152JB, 80C51 technical specifications Baud Rates