SyncMOS Technologies International, Inc.
SM89S16R1
8-Bits Micro-controller
With 64KB Flash ROM & 1KB RAM & RTC & ADC & PWM & PDWU embedded
Pin Description
MNEMONIC
PDIP 40 pin
PQFP 44 Pin PLCC 44 pin
Names and Functions
VDD
40
38
44
Power supply:
+5V or +3.3V power supply pin during normal operations
and power saving modes.
P0.0 – P0.7
39,38,37,36
35,34,33,32
37,36,35,34
33,32,31,30
43,42,41,40
39,38,37,36
Port 0:
Port 0 is an open-drain, bidirectional I/O port. Port 0 pins
that have 1s written to them become floating and can be
used as high- impedance inputs. Port 0 is also the
multiplexed low-order address and data bus during accesses
to external program and data memory. In this application, it
uses strong internal pull-ups when emitting 1s.
Port Pin
P0.0
Alternative function
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
P1.0 – P1.7
1,2,3,4,
5,6,7,8
40,41,42,43,
44,1,2,3
2,3,4,5,
6,7,8,9
Port 1:
An 8-bits bidirectional I/O port with internal pull-ups on all
pins. Port 1 pins that have 1s written to them are pulled high
by the internal pull-ups and can be used as inputs. As inputs,
port 1 pins that are externally pulled low will source current
because of the internal pull-ups. (See DC Electrical
Characteristics: IIL).
Port Pin
P1.0
Alternative function
T2: TIMER2 clock output
P1.1
T2EX: TIMER2 reload/capture DIR.
PWM0: PWM channel 0 output
PWM1: PWM channel 1 output
P1.4
P1.5
RST
9
4
10
Reset:
A high on this pin for two machine cycles while the
oscillator is running, resets the device. An internal resistor to
VSS permits a power-on reset using only an external
capacitor to VCC.
P2.0 – P2.7
21,22,23,24,
25,26,27,28
18,19,20,21
22,23,24,25
24,25,26,27,
28,29,30,31
Port 2:
Port 2 is an 8-bits bidirectional I/O port with internal
pull-ups. Port 2 pins that have 1s written to them are pulled
high by the internal pull-ups and can be used as inputs. As
inputs, port 2 pins that are externally being pulled low will
source current because of the internal pull-ups. (See DC
Electrical Characteristics: IIL). Port 2 emits the high-order
address byte during fetches from external program memory
and during accesses to external data memory that uses
16-bits addresses (MOVX @DPTR). In this application, it
uses strong internal pull-ups when emitting 1s. During
accesses to external data memory that uses 8-bits addresses
(MOV @Ri), port 2 emits the contents of the P2 special
function register.
Port Pin
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
Alternative function
A8
A9
A10
A11
A12/ADC0
A13/ADC1
A14/ADC2
A15/ADC3
MNEMONIC
PDIP 40 pin
PQFP 44 Pin PLCC 44 pin
Names and Functions
Specifications subject to change without notice contact your sales representatives for the most recent information.
Ver 2.1 SM89S16R1 08/2006
4