SC51D01Fxx
REMOTE CONTROL WITH BUILT-IN FLASH AND
CODE SAMPLING FUNCTION
DESCRIPTIONS
SC51D01Fxx series is mainly used in remote controls with
learning function. It is based on Silan’s S51 8-bit MCU compliance
with standard MCS-51 instructions and has built-in large FLASH
program
memory,
infrared
signal
amplifier,
and
code
sampling/transmitting modules. Under the support of few periphery
components, these ICs can be easily used to make a remote
control with on-chip self-learning function, which will enable one
remote control to control all the devices related to TV sets.
FEATURES
* Compliance with standard MCS-51 instructions.
* Built-in 16K/32K/64K bytes FLASH program memory(can also
used as data memory).
* Built-in 4K bytes XRAM.
* Integrate infrared signal amplifier.
* Integrate code sampling circuit which support code sampling
with carrier, and has 256 bytes receive buffer.
* Integrate code transmitting circuit whose carrier frequency and
duty can be set flexibly and has 32 bytes send buffer.
* 8 keyboard input pins.
* Support in system program (ISP).
* Adopt CMOS technology, operating voltage is 2.2V-3.6V, and
quiescent current is less than 1μA.
APPLICATIONS
* Remote control with learning
function
* Preset universal remote control
ORDERING INFORMATION
Device
SC51D01F16A
SC51D01F32A
SC51D01F64A
SC51D01F16B
SC51D01F32B
SC51D01F64B
General I/O ports
10
10
10
13
13
13
On-chip FLASH
(Bytes)
16K
32K
64K
16K
32K
64K
Package
SOP28-375-1.27
SOP28-375-1.27
SOP28-375-1.27
SOP32-375-1.27
SOP32-375-1.27
SOP32-375-1.27
HANGZHOU MICROELECTRONICS CO.,LTD
Http://
www.silan.com.cn
REV:1.0
2007.12.03
Page 1 of 21
SC51D01Fxx
BLOCK DIAGRAM
Note: The blue mark in the diagram is powered directly by V
DD.
ABSOLUTE MAXIMUM RATING
Characteristics
Power Supply
Port Tolerance Voltage
Storage Temperature
Operating Temperature
Symbol
V
DD
V
IN
T
STG
T
OPR
Ratings
-0.3 ~ +4.0
-0.3 ~ V
DD
+0.3
-65 ~ +150
-40 ~ +85
Unit
V
V
°C
°C
ELECTRICAL CHARACTERISTICS
(Unless otherwise specified,V
DD
=3V,T
amb
=25°C)
Characteristics
Operating Voltage
Operating Current
Quiescent Current
Operating Clock
High Input Voltage
Low Input Voltage
High Output Voltage
Low Output Voltage
High Output Current
Low Output Current
Port Pull-Up Resistor
FLASH Erase/Write
Life
Symbol
V
DD
I
DD
I
q
f
osc
V
IH
V
IL
V
OH
V
OL
I
OH
I
OL
R
pu
--
--
V
DD
=3V;No load code transmitting
Core power is off
V
DD
=3V
--
--
No load
No load
V
DD
=3V;V
OH
=2.7V
V
DD
=3V;V
OL
=0.3V
--
--
Test conditions
Min.
2.2
--
--
12
0.7V
DD
0
0.9V
DD
--
--
--
--
20K
Typ.
--
12
--
12
--
--
--
--
3
4
50
100K
Max.
3.6
--
1
12
V
DD
0.3V
DD
--
0.1V
DD
--
--
--
--
Unit
V
mA
μA
MHz
V
V
V
V
mA
mA
kΩ
Time
HANGZHOU MICROELECTRONICS CO.,LTD
Http://
www.silan.com.cn
REV:1.0
2007.12.03
Page 2 of 21
SC51D01Fxx
PIN CONFIGURATION
SC51D01FxxA
SC51D01FxxB
PIN DESCRIPTIONS
Pin No.
Pin Name
V
DD
V
DDCORE
GND
X
IN
X
OUT
nRST
CY
OUT
CY
IN
KI0~KI7
SDA / PT10
PT11~PT17
PT30
nPROG / PT40
SCL / PT41
PT42~PT43
SC51D01F SC51D01F
xxA
5,7,9
3
6
10
11
8
2
4
21~14
22
23~28,1
-
12
13
-
xxB
2,6,8,10
4
7
11
12
9
3
5
24~17
25
26~32
1
13
14
15~16
PWR Power supply.
PWR Core power output(Connect 1~10μF capacitor to the ground).
PWR Ground.
I
O
I
O
I
I
I/O
I/O
I/O
I/O
I/O
I/O
External oscillator input (Connect 1MΩ resistor between X
IN
and X
OUT)
.
External oscillator output.
External reset pin (low active).
Infrared signal control output.
Infrared signal input.
Keyboard input.
I/O pin (also used as FLASH program data port).
I/O pin.
I/O pin.
I/O pin(also used as FLASH program ‘enable’ singal, low
active).
I/O pin(also used as FLASH program ‘clock’ signal input).
I/O pin.
I/O
Function Descriptions
HANGZHOU MICROELECTRONICS CO.,LTD
Http://
www.silan.com.cn
REV:1.0
2007.12.03
Page 3 of 21
SC51D01Fxx
FUNCTION DESCRIPTIONS
Summary Table Of Registers
Name
S51 MCU
ACC
B
PSW
SP
DPH
DPL
TCON
IE
IP
AUXR1
CS_IntDM_
CTRL
ModeCtrl
Accumulator
B register
Program status word
Stack pointer
High byte of data pointer
Low byte of data pointer
Timer control register
Interrupt enable control register
Interrupt PRI control register
DPTR selection register
Internal extended RAM selection
control register
Working mode control register
Low voltage detect control/status
register
WDT prescaler setting register
Watchdog clear register 0
Watchdog clear register1
Keyboard input register
PT1 register
Description
PT1 output mode control register
PT1 internal weak pull-up control
register
PT1 open-drain output register
PT3 register
PT3 output mode control register
PT3 internal weak pull-up control
register
√
√
√
×
×
×
√
√
√
×
×
×
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
W
W
W
00H
00H
00H
07H
00H
00H
00H
00H
00H
00H
96H
03H
E0H
F0H
D0H
81H
83H
82H
88H
A8H
B8H
A2H
9EH
94H
Description
Bit
Read/write
Reset
value
Byte
address
accessable permission
Low voltage detecting
LVDCtrl
Watchdog timer
Wdt_Ctrl
Wdt_Clr0
Wdt_Clr1
Keybord input ports
KEYIN
PT1Reg
Name
PT1Ctrl
PT1PUCtrl
PT1ODCtrl
PT3Reg
PT3Ctrl
PT3PUCtrl
×
×
Bit
accessable
×
×
×
×
×
×
R
R/W
Read/write
permission
R/W
R/W
R/W
R/W
R/W
R/W
--
FFH
Reset value
00H
00H
FFH
FFH
00H
00H
F7H
F8H
Byte
address
F9H
FAH
FBH
E1H
E2H
E3H
(To be continued)
×
R/W
XXX10001B
97H
×
×
×
R/W
W
W
XXXXXX00B
--
--
F3H
F4H
F5H
General purpose I/O
HANGZHOU MICROELECTRONICS CO.,LTD
Http://
www.silan.com.cn
REV:1.0
2007.12.03
Page 4 of 21
SC51D01Fxx
(Continued)
Name
PT3ODCtrl
PT4Reg
PT4Ctrl
PT4PUCtrl
PT4ODCtrl
Timer
TH0
TL0
TH1
TL1
TIMER_PRESCAL
ER
TMOD
CARCount
Description
PT3 open-drain ouitput register
PT4 register
PT4 output mode control register
PT4 internal weak pull-up control
register
PT4 open-drain output register
High byte of timer 0
Low byte of timer 0
High byte of timer 1
Low byte of timer 1
Timer prescaler control register
Timer working mode control register
Carrier period register
Bit
×
×
×
×
×
×
×
×
×
×
×
×
Read/write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
Reset
value
FFH
FFH
00H
00H
FFH
00H
00H
00H
00H
X111X111B
00H
00H
Byte
address
E4H
E5H
E6H
E7H
E8H
8CH
8AH
8DH
8BH
8EH
89H
C1H
accessable permission
Code sampling module
ADDRESS SPACE ASSIGNMENT
Internal Data Space
Fig. 1 shows that the internal data space of SC51D01Fxx series is divided into direct addressing space and
indirect addressing space.
Fig. 1
–
Internal data space assignment
HANGZHOU MICROELECTRONICS CO.,LTD
Http://
www.silan.com.cn
REV:1.0
2007.12.03
Page 5 of 21