English
Language : 

SM89T16R1 Datasheet, PDF (23/34 Pages) SyncMOS Technologies,Inc – 8-Bits Micro-controller With 64KB Flash ROM & IKB RAM & Two UART & RTC & ADC & PWM embedded
SyncMOS Technologies Inc.
SM89T16R1
8-Bits Micro-controller
With 64KB Flash ROM & IKB RAM & Two UART & RTC & ADC & PWM embedded
Serial Port Mode 2:
Clock Source
Mode Input
1/4 osc/2
1/64 osc/32
1/1024 osc/512
TB8
Internal
Data Bus
Write to
1/2
SBUF
SMOD=
(SMOD 1) 0
1
1/16
TX START
TX CLOCK
TX SHIFT
TI
1/16
Serial Control RI
SHIFT CLOCK
SAMPLE
1- To-0
Detector
RX CLOCK
RX START
LOAD SBUF
RX SHIFT
RxD
P3.0 Alternate
Input function
Bit
Detector
D8
STOP
PARIN SOUT
START
LOAD
CLOCK
Transmit Shift Register
CLOCK
PAROUT
SIN
D8
Receive Shift Register
RxD
P3.0 Alternate
Input function
Serial Port Interrupt
TxD
P3.1 Alternate
Input function
SBUF
RB8
READ SBUF
SBUF
Internal
Data Bus
Mode 3
This mode is similar to Mode 2 in all respects; expect that the baud rate is programmable. The user must first initialize
the Serial related SFR SCON before any communication can take place. This involves selection of the Mode and
Baud rate. The Timer 1 should also be initialized if modes 1 and 3 are used. In all four modes, transmission is started
by any instruction that uses SBUF as a destination register. Reception is initiated in Mode 0 by the condition RI = 0
and REN = 0. This will generate a clock on the TxD pin and shift in 8 bits on the RxD pin. Reception is initiated in
the other modes by the incoming start bit if REN = 1. The external device will start the communication by
transmitting the start bit.
Pulse Width Modulation (PWM)
The PWM output pins are P1.4 and P1.5.
The PWM clock is {Fosc/ (2xDivider)}, the PWM output frequency is {(PWM clock)/32} at 5 bits resolution and
{(PWM clock)/256} at 8 bits resolution.
The PWM SFR is shown as below:
PWMC ($D3H and $D4H)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
PBS
PFS1
PFS0
PBS: when set, the PWM is 5 bits resolution.
PFS [1:0]: The PWM clock divider select.
PFS1
0
0
1
1
PFS0
0
1
0
1
PWM clock divider select
1
2
4
8
Specifications subject to change without notice contact your sales representatives for the most recent information.
SM89T16R1 V1.0 JANUARY 2005
23