SC65D02P40 [SILAN]

8-BIT MCU FOR PRESET REMOTE CONTROL (OTP TYPE); 8位MCU预设遥控器( OTP型)
SC65D02P40
型号: SC65D02P40
厂家: SILAN MICROELECTRONICS JOINT-STOCK    SILAN MICROELECTRONICS JOINT-STOCK
描述:

8-BIT MCU FOR PRESET REMOTE CONTROL (OTP TYPE)
8位MCU预设遥控器( OTP型)

遥控 远程控制 遥控器
文件: 总16页 (文件大小:1206K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
SC65D02P40  
8-BIT MCU FOR PRESET REMOTE CONTROL (OTP TYPE)  
DESCRIPTION  
SC65D02P40 is a preset universal remote control transmitter  
which uses Silan’s 8-bit MCU core SC65X. It integrates 8K-byte  
ROM, 32K-byte OTP memory and special code transmitting  
module, so a preset universal remote solution can be easily  
achieved only with a few periphery components. It can preset  
hundreds of different remote codes and data to control a plurality  
of home electric appliances.  
Because of the embedded powerful code transmitting programs in  
ROM and together with affiliated PC software assistant design  
and test, the R&D cycle and workload can be greatly reduced,  
and the reliability of the product can be improved.  
Another universal remote control transmitter SC65D02C40 of  
Silan has built-in 40K ROM and it is compatible with SC65D02P40  
in memory total capacity and function. The program developed on  
SC65D02P40 can be directly used to generate the masking  
APPLICATIONS  
program of SC65D02C40, which will reduce the cost of mass  
production and improve the production efficiency.  
Preset universal remote control.  
FEATURES  
Use 8-bit MCU core SC65X.  
Built-in 8K-byte ROM and 32K-byte OTP memory.  
Integrate code transmitting circuit, the carrier frequency and  
duty can be set flexibly, provide 32-byte code transmitting  
buffer.  
Maximum 20 pins for key function, support 96 keys.  
Use CMOS technology, operating voltage is 1.8V ~ 3.6V,  
quiescent current is less than 1μA.  
Together with good application software, development  
efficiency is high.  
ORDERING INFORMATION  
General purpose  
Part No.  
Package  
Marking  
I/O ports  
SC65D02P40  
SC65D02P40A  
SC65D02P40B  
SC65D02P40C  
16  
16  
20  
20  
SSOP-24-300-0.65  
SOP-24-375-1.27  
SOP-28-375-1.27  
SSOP-28-300-0.65  
SC65D02P40  
SC65D02P40A  
SC65D02P40B  
SC65D02P40C  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 1 of 17  
SC65D02P40  
BLOCK DIAGRAM  
ABSOLUTE MAXIMUM RATINGS  
Characteristics  
Power Supply  
Symbol  
VDD  
Range  
-0.3 ~ +5.0  
-0.3 ~ VDD+0.3  
-40 ~ +125  
-20 ~ +70  
Unit  
V
Input Voltage  
VIN  
V
Storage Temperature  
Operating Temperature  
Tstg  
°C  
°C  
Topr  
ELECTRICAL CHARACTERISTICS(unless otherwise specified, VDD=3vTamb=25°c)  
Characteristics  
Symbol  
Test condition  
Min.  
Typ.  
Max.  
Unit  
Operating Voltage  
VDD  
--  
1.8  
--  
3.6  
V
Code transmitting with  
no load  
Operating Current  
IDD  
--  
4.5  
5.0  
mA  
Quiescent Current  
IDS  
Fosc  
VIH  
VIL  
Oscillator off  
--  
0.1  
4
1
6
μA  
MHz  
V
Operating Clock  
--  
--  
--  
2
0.7VDD  
0
High Level Input Voltage  
Low Level Input Voltage  
--  
VDD  
0.3VDD  
--  
V
High Level Output  
Voltage  
VOH  
No load  
0.9VDD  
--  
--  
V
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 2 of 17  
SC65D02P40  
Characteristics  
Symbol  
Test condition  
No load  
Min.  
Typ.  
Max.  
Unit  
Low Level Output  
Voltage  
VOL  
--  
--  
0.1VDD  
V
P0/P1/P2  
P30  
4.4  
9.8  
9.8  
9.8  
9.8  
9.8  
2.0  
4.5  
12  
10  
10  
12  
10  
2.2  
4.6  
12.3  
10.2  
10.2  
12.3  
10.2  
2.3  
mA  
mA  
mA  
mA  
mA  
mA  
MΩ  
High Level Current On  
Output Pin  
IOH  
VOH=2.7V  
CYOUT  
P0/P1/P2  
P30  
Low Level Current On  
Output Pin  
IOL  
VOL=0.3V  
--  
CYOUT  
Port Pull-Up Resistor  
Rpu  
PIN CONFIGURATION  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 3 of 17  
SC65D02P40  
PIN DESCRIPTION  
SC65D02P40/A  
Pin No.  
Pin Name  
I/O  
--  
Function description  
1
24  
2
VDD  
GND  
XIN  
Power supply  
Ground  
--  
I
External oscillator input pin.  
External oscillator output pin (connect driver resistor in series  
between XOUT and oscillator)  
3
XOUT  
O
4
5~12  
13~20  
21  
nRST  
P00~P07  
P20~P27  
P30  
I
External reset pin (internal pull-up resistor, low active)  
I/O pin usually used for keyboard input  
I/O  
I/O  
O
I/O pin usually used for keyboard output  
Output pin usually used for driving LED lamp directly.  
Infrared signal control output pin.  
22  
CYOUT  
O
OTP program voltage input (in program mode, connects to 6.5V  
voltage, in non-program mode, connects to VDD)  
23  
VPP  
--  
SC65D02P40B/C  
Pin No.  
Pin Name  
VDD  
I/O  
--  
Function description  
Power supply  
1
28  
2
GND  
--  
Ground  
XIN  
I
External oscillator input pin.  
External oscillator output pin (connect driver resistor in series  
between XOUT and oscillator)  
3
XOUT  
O
4
nRST  
P00~P07  
P10~P13  
P20~P27  
P30  
I
External reset pin (internal pull-up resistor, low active)  
I/O pin usually used for keyboard input  
5~12  
13~16  
17~24  
25  
I/O  
I/O  
I/O  
O
I/O pin usually used for keyboard output  
I/O pin usually used for keyboard output  
Output pin usually used for driving LED lamp directly.  
Infrared signal control output pin.  
26  
CYOUT  
O
OTP program voltage input (in program mode, connects to 6.5V  
voltage, in non-program mode, connects to VDD)  
27  
VPP  
--  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 4 of 17  
SC65D02P40  
FUNCTION DESCRIPTION  
1. Address space assignment  
SC65D02P40 distributes program and data space in uniform addressing method, shown in figure 1.  
Figure 1 – Address assignment  
2. Oscillator circuit  
SC65D02P40 provides a high-gain RP-amplifie whose input is XIN and output is XOUT. By connecting a quartz  
crystal and two capacitors between XIN and XOUT, a stable self oscillator can be composed, shown in figure 2.  
The oscillation waveform generated by the oscillator circuit generates the oscillator clock after it is reshaped by  
the inverter. The oscillator clock provides the clock signal for WDT and code transmitting block, at the same  
time as the SC65X MCU system clock after dividing frequency by 4.  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 5 of 17  
SC65D02P40  
Figure 2 – Oscillator circuit  
Where:  
—
—
—
Rd is drive resistor, the value is 100~ 300.  
C1 and C2 are load capacitors with same value, the range is 10pF ~ 30pF.  
XTAL is crystal oscillator, frequency is 2MHz ~ 6MHz.  
3. Periphery modules  
3.1 WDT/timer  
[Description]  
As shown in figure 3, in WDT/timer module, the 16-bit timer can also be used as the low 16-bit of 21-bit WDT.  
The counting clock of WDT/timer can be directly provided by oscillator clock OscClk.  
[Structure]  
Figure 3 – WDT/timer diagram  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 6 of 17  
SC65D02P40  
[Function description]  
When external reset occurs, the initial value of timer(WDT_TimerH, WDT_TimerL)and 21-bit watchdog counter  
are both cleared.  
When use the clear module to reset the watchdog timer, the high 5-bit of the watchdog counter is cleared, the  
low 16-bit will be loaded from the initial value register of timer again and begin to count.  
When the low 16-bit of watchdog counter counts to FFFFH, the timer will overflow if increasing by 1 , then  
reload the initial value of timer; At this time, if the interrupt mask bit (WDT_MASK)=“0” and the timer interrupt  
enable bit(WDT_TimerEn)=“1”, it will generate timer interrupt signal, and WDT_FLAG is set.  
Add 1 to the counting value of high 5-bit of watchdog timer when bit15 of watchdog counter changes from 1 to  
0; the watchdog will generate reset signal if bit20 of watchdog counter changes from 1 to 0.  
3.2 I/O ports  
[Description]  
SC65D02P40 includes three groups of I/O ports: P0, P1 and P2. P0 and P2 are 8-bit parallel ports, while P1 is  
4-bit parallel port.  
Each I/O port of SC65D02P40 can be set independently as weak pull-up input or push-pull output status. The  
high level output capacity of the port is much bigger than low level output capacity, so it can identify the dual-  
key or multi-key pressing at the same time.  
[Structure]  
Figure 4 – P0 structure  
Note: The structure of P1 and P2 is the same as P0.  
[Function description]  
As shown in figure 4, we take P0 for example to introduce the I/O port function. The function of P1 and P2 is  
the same with that of P0.  
When P0_Ctrl[n] is set, PMOS P1 and NMOS N1 are both off, PMOS P2 is on, pull-up resistor Rpu is active,  
and port P0n is input mode.  
When P0_Ctrl[n] is cleared, PMOS P2 is off, port P0n is output mode. At this time, when P0_Data[0] is set,  
PMOS P1 is on, NMOS N1 is off, and port P0n outputs high level; when P0_Data[0] is cleared, PMOS P1 is  
off, NMOS N1 is on, and port P0n outputs low level.  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 7 of 17  
SC65D02P40  
3.3 P3 port  
[Description]  
P3 of SC65D02P40 has only one bit which is only as output port.  
3.4 ROM  
[Description]  
SC65D02P40 has built-in 8K-byte read-only memory(ROM), and the address range is 6000H ~ 7FFFH. This  
ROM is masked with code transmitting program which can simplify the main program development of the  
customer circuit and self-test program, etc. Of course, the customer may not use the program in ROM.  
3.5 OTP memory  
[Description]  
The address space of OTP memory is 8000H~FFFFH. OTP memory is mainly used to store the main program  
and read-only data, where FFF0H~FFFFH is the configuration area including the reset vector and interrupt  
vector in normal working mode and testing mode as well as the protect byte of the OTP, shown in figure 5:  
Figure 5 – OTP configuration area  
The reset vector value is the initial value of PC after the circuit is reset, that is the entry address of the main  
program, where, the high byte is stored in FFFBH, and low byte is stored in FFFAH. For example: FFFAH  
stores 40H, FFFBH stores 80H, then after the circuit is reset, then PC points to 8040H.  
The interrupt vector value is the initial value of PC after MCU responses to the interrupt, which is the entry  
address of the interrupt service routine, where, the high byte is stored in FFF9H, and low byte is stored in  
FFF8H. For example: FFF8H stores 00HFFF9H stores 80H, then the interrupt entry address is 8000H.  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 8 of 17  
SC65D02P40  
The reset vector value and the interrupt vector value in test mode are useful in production test, and the  
customer should set FFF0H with 00H, FFF1H with 60H, FFF2H with 04H, FFF3H with 60H to make sure the  
program down load is correct, for example, the customer should add the following code in proper position:  
ORG FFF0H  
DW  
DW  
6000H  
6004H  
The default value of OTP protect byte is FFH, now the content of OTP memory can be read by OTP  
programmer or emulator provided by Silan. If you set OTP cipher byte as 00H, then you cannot read this OTP  
memory in any method, which can protect the customer’s software copyright.  
3.6 Code transmitting module  
[Description]  
This module is used to generate the high and low level sequence for Infrared diode control. It is comprised of  
carrier generating circuit and 32-byte code transmitting buffer which will realize the exact code transmitting.  
[Structure]  
Figure 6 – Code transmitting diagram  
[Function description]  
The code transmitting of SC65D02P40 defines a universal waveform (figure 7), which should be complied with  
when transmitting code.  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 9 of 17  
SC65D02P40  
Figure 7 – Code transmitting format  
The oscillator clock OscClk generates TClk (the cycle is T) via the code transmitting basic clock. The counting  
clock of the carrier generator is from the system clock TClk, as shown in figure 8. Where, the high level and low  
level time of the carrier is decided by the customer set TX_Carrier, and the unit is T.  
Figure 8 – Carrier generation theory  
TClk generates high and low level basic unit time TH and TL via basic 0/1 generator. TH and TL are decided by  
setting TX_SetBase1 and TX_SetBase0, and unit is T. TH is the basic unit time of high level time, and TL is the  
basic unit time of low level time.  
T
T
T
T
T
T
T
T
T
T
T T  
TH  
TH  
TL  
TL  
High level envelope time  
Low level envelope time  
Figure 9 – Code transmitting theory  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
Http: //www.silan.com.cn  
REV:1.2  
2008.07.21  
Page 10 of 17  
SC65D02P40  
TYPICAL APPLICATION CIRCUIT  
VDD  
0.1µ  
47µ  
3V  
1
22p  
4M  
1 VDD  
2 XIN  
24  
GND  
IRD  
VPP 23  
100  
22p  
1K  
3 XOUT  
4 nRST  
5 P00  
6 P01  
7 P02  
8 P03  
9 P04  
10 P05  
11 P06  
12 P07  
22  
CYOUT  
RLED = 1K  
P30 21  
KRST  
LED  
20  
P27  
P26 19  
18  
P25  
P24 17  
P23  
16  
P22 15  
P21 14  
P20 13  
K00  
K10  
K20  
K30  
K40  
K50  
K60  
K70  
K01  
K11  
K21  
K31  
K41  
K51  
K61  
K71  
K02  
K12  
K22  
K32  
K42  
K52  
K62  
K72  
K03  
K13  
K23  
K33  
K43  
K53  
K63  
K73  
K04  
K14  
K24  
K34  
K44  
K54  
K64  
K74  
K05  
K15  
K25  
K35  
K45  
K55  
K65  
K75  
K06  
K16  
K26  
K36  
K46  
K56  
K66  
K76  
K07  
K17  
K27  
K37  
K47  
K57  
K67  
K77  
Figure 11(a) – Typical application circuit (a)  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 11 of 17  
SC65D02P40  
TYPICAL APPLICATION CIRCUIT  
Figure11(b) - Typical application circuit(b)  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 12 of 17  
SC65D02P40  
TYPICAL APPLICATION CIRCUIT  
Figure11(c) - Typical application circuit (c)  
Note:  
—
The design precondition of above three typical application circuits is: if the circuit structure is not  
changed, the SC65D02C40 can directly take the place of SC65D02P40;  
—
—
Typical application circuit (a) is generally used in the situation with one LED lamp;  
Typical application circuit (b) is generally used in the situation with many LED lamps, if no need to light  
all the LEDs, you can use the typical application circuit (c) to save the cost.  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 13 of 17  
SC65D02P40  
PACKAGE OUTLINE  
SOP-24-375-1.27  
Unit: mm  
SOP-28-375-1.27  
Unit: mm  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 14 of 17  
SC65D02P40  
PACKAGE OUTLINE  
SSOP-24-300-0.65  
Unit: mm  
SSOP-28-300-0.65  
Unit: mm  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 15 of 17  
SC65D02P40  
MOS DEVICES OPERATE NOTES:  
Electrostatic charges may exist in many things. Please take following preventive measures to prevent effectively  
the MOS electric circuit as a result of the damage which is caused by discharge:  
z
z
z
z
The operator must put on wrist strap which should be earthed to against electrostatic.  
Equipment cases should be earthed.  
All tools used during assembly, including soldering tools and solder baths, must be earthed.  
MOS devices should be packed in antistatic/conductive containers for transportation.  
NoteSilan reserves the right to make changes without notice in this specification for the improvement of the design and performance.  
Silan will supply the best possible product for customers.  
HANGZHOU SILAN MICROELECTRONICS CO.,LTD  
REV:1.2  
2008.07.21  
Http: //www.silan.com.cn  
Page 16 of 17  

相关型号:

SC66-A

Multi-mode Smart LTE Cat 6 Module with Wi-Fi & Bluetooth
QUECTEL

SC66-CE

Multi-mode Smart LTE Cat 6 Module with Wi-Fi & Bluetooth
QUECTEL

SC66-E

Multi-mode Smart LTE Cat 6 Module with Wi-Fi & Bluetooth
QUECTEL

SC66-J

Multi-mode Smart LTE Cat 6 Module with Wi-Fi & Bluetooth
QUECTEL

SC66-MW

Multi-mode Smart LTE Cat 6 Module with Wi-Fi & Bluetooth
QUECTEL

SC660E

SMBus System Clock Buffer for Mobile Applications
SPECTRALINEAR

SC660E

SMBus System Clock Buffer for Mobile Applications
CYPRESS

SC660EYB

SMBus System Clock Buffer for Mobile Applications
SPECTRALINEAR

SC660EYB

SMBus System Clock Buffer for Mobile Applications
CYPRESS

SC662

Backlight Driver for 6 LEDs with SemPulse? Interface
SEMTECH

SC662EVB

Backlight Driver for 6 LEDs with SemPulse? Interface
SEMTECH

SC662ULTRT

Backlight Driver for 6 LEDs with SemPulse? Interface
SEMTECH