English
Language : 

SM59R16A2 Datasheet, PDF (33/67 Pages) SyncMOS Technologies,Inc – 8-Bit Micro-controller
SM59R16A2/SM59R08A2
8-Bit Micro-controller
64KB/32KB ISP Flash & 2KB RAM embedded
9 Serial interface 0 and 1
There are two serial interfaces for data communication in SM59R16A2/SM59R08A2, they are the so
called UART0 and UART1. As the conventional UART, the communication speed can be selected
by configuring the baud rate in SFRs. These two serial buffers consists of two separate registers, a
transmit buffer and a receive buffer. Writing data to the SFR S0BUF or S1BUF sets this data in
serial output buffer and starts the transmission. Reading from the S0BUF or S1BUF reads data
from the serial receive buffer. The serial port can simultaneously transmit and receive data. It can
also buffer 1 byte at receive, which prevents the receive data from being lost if the CPU reads the
second byte before the transmission of the first byte is completed.
Mnemonic
PCON
BRGS
S0CON
S0RELL
S0RELH
S0BUF
S1CON
S1RELL
S1RELH
S1BUF
Description
Power control
Baud rate
generator switch
Serial Port 0
control register
Serial Port 0
reload register
low byte
Serial Port 0
reload register
high byte
Serial Port 0
data buffer
Serial Port 1
control register
Serial Port 1
reload register
low byte
Serial Port 1
reload register
high byte
Serial Port 1
data buffer
Direct
87h
D8h
98h
AAh
BAh
99h
9Bh
9Dh
BBh
9Ch
Bit 7
SMOD
BRS
SM0
S0REL
.7
-
SM
S1REL
.7
-
Bit 6 Bit 5 Bit 4
Serial interface 0 and 1
MDUF
-
PMW
-
-
-
Bit 3
-
-
SM1 SM20 REN0 TB80
S0REL S0REL S0REL S0REL
.6
.5
.4
.3
-
-
-
-
S0BUF[7:0]
-
SM21 REN1 TB81
S1REL S1REL S1REL S1REL
.6
.5
.4
.3
-
-
-
-
S1BUF[7:0]
Bit 2
-
-
RB80
S0REL
.2
-
RB81
S1REL
.2
-
Bit 1
STOP
-
TI0
S0REL
.1
S0REL
.9
TI1
S1REL
.1
S1REL
.9
Bit 0
IDLE
-
RI0
S0REL
.0
S0REL
.8
RI1
S1REL
.0
S1REL
.8
RESE
T
00h
00h
00h
00h
00h
00h
00h
00h
00h
00h
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M034
33
Ver.B SM59R16A2/SM59R08A2 06/2009