PROGRAMMABLE INFRARED REMOTE TRANSMITTER WITH BUILT-IN TRANSISTOR
DESCRIPTION
SC73P2602 is SC73 core based programmable remote
transmitter (4-bit MCU) with infrared transmitting transistor and built-in 2K OTP program memory supporting in-system program (ISP) which can optimize the stock control. Due to the infrared transmitting transistor embedded, few periphery components are needed and the cost is reduced. And the quick mask function that SC73P2602 supported can meet the mass production delivery requirements as soon as possible due to its mask cycle is 2~3 weeks less than the traditional mask cycle. SC73P2602 is available in several packages and pin to pin compatible with all the products of SC73C16 and SC73P16 series.
FEATURES
∗ SC73 core. ∗ 2K×9 bit OTP and 32×4 bit RAM ∗ Built-in infrared transmitting transistor: IOL = 350mA. ∗ Support external infrared transmitting transistor. ∗ Internal carrier generator. ∗ Internal power-on clear circuit (POC). ∗ Internal watchdog timer (WDT). ∗ 3-level program stack. ∗ Support low voltages detect (LVD). ∗ Supports In-System Programming (ISP). ∗ Oscillator frequency: FOSC=4MHz (Typ.). ∗ System clock: FMAIN= FOSC /8. ∗ Instruction period: 5/ FMAIN. ∗ Operating voltage: 1.8V~3.6V, quiescent current is no higher than 1μA.
BLOCK DIAGRAM
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: //www.silan.com.cn
REV:1.1
2009.11.19 Page 1 of 28
ORDERING INFORMATION
Part No. SC73P2602SH1 SC73P2602SN1 SC73P2602SM2 SC73P2602SN2 SC73P2602RC2 SC73P2602RD2 SC73P2602SM3 SC73P2602SN3 SC73P2602RC3 SC73P2602RD3 SC73P2602SC1 SC73P2602SC2 SC73P2602SC3 SC73P2602SA SC73P2602SH1TR SC73P2602SN1TR SC73P2602SM2TR SC73P2602SN2TR SC73P2602RC2TR SC73P2602RD2TR SC73P2602SM3TR SC73P2602SN3TR SC73P2602RC3TR SC73P2602RD3TR SC73P2602SC1TR
I/O 18 15 15 15 15 15 15 15 15 15 11 11 11 4 18 15 15 15 15 15 15 15 15 15 11
Package SOP-24-375-1.27 SOP-20-375-1.27 SOP-20-300-1.27 SOP-20-375-1.27 SSOP-20-225-0.65 SSOP-20-300-0.65 SOP-20-300-1.27 SOP-20-375-1.27 SSOP-20-225-0.65 SSOP-20-300-0.65 SOP-16-225-1.27 SOP-16-225-1.27 SOP-16-225-1.27 SOP-8-225-1.27 SOP-24-375-1.27 SOP-20-375-1.27 SOP-20-300-1.27 SOP-20-375-1.27 SSOP-20-225-0.65 SSOP-20-300-0.65 SOP-20-300-1.27 SOP-20-375-1.27 SSOP-20-225-0.65 SSOP-20-300-0.65 SOP-16-225-1.27
Marking SC73P2602SH1 SC73P2602SN1 SC73P2602SM2 SC73P2602SN2 SC73P2602RC2 SC73P2602RD2 SC73P2602SM3 SC73P2602SN3 SC73P2602RC3 SC73P2602RD3 SC73P2602SC1 SC73P2602SC2 SC73P2602SC3 SC73P2602SA SC73P2602SH1 SC73P2602SN1 SC73P2602SM2 SC73P2602SN2 SC73P2602RC2 SC73P2602RD2 SC73P2602SM3 SC73P2602SN3 SC73P2602RC3 SC73P2602RD3 SC73P2602SC1
Material Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free Pb free
Packing type Tube Tube Tube Tube Tube Tube Tube Tube Tube Tube Tube Tube Tube Tube Tape & Reel Tape & Reel Tape & Reel Tape & Reel Tape & Reel Tape & Reel Tape & Reel Tape & Reel Tape & Reel Tape & Reel Tape & Reel
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: //www.silan.com.cn
REV:1.1
2009.11.19 Page 2 of 28
Part No. SC73P2602SC2TR SC73P2602SC3TR SC73P2602SATR
I/O 11 11 4
Package SOP-16-225-1.27 SOP-16-225-1.27 SOP-8-225-1.27
Marking SC73P2602SC2 SC73P2602SC3 SC73P2602SA
Material Pb free Pb free Pb free
Packing type Tape & Reel Tape & Reel Tape & Reel
ABSOLUTE MAXIMUM RATINGS
Characteristics Supply Voltage Input Voltage Storage Temperature Operating Temperature Symbol VDD VI TSTG TOPR Value -0.3 ~ +4.0 -0.3 ~ VDD+0.3 -65 ~ +125 -20 ~ +70 Units V V °C °C
DC ELECTRICAL CHARACTERISTICS (unless otherwise specified, VDD=3V, Tamb=25°C)
Characteristics Operating Voltage Low-Voltage Reset Low-Voltage Detect Symbol VDD VLVR VLVD Operating Operating Current IDD mode: FOSC=4MHz P53 Output High Current IOH VOH=2.7V P02~P03 P1, P2, P3 P50~P52 P53 P53(N-MOS Output Low Current IOL VOL=0.3V open drain) P02~P03 P1, P2, P3 P50~P52 -5.5 -19 -350 mA 0.6 Test Conditions VDD=3.6V VDD=3.0V VDD=1.8V Min. 1.8 2 0.7VDD 0 Typ. 1.55 1.7 3.0 2.0 0.3 4 1.35 9.5 Max. 3.6 1 6 VDD 0.3VDD mA μA MHz V V mA Units. V V V
Stop mode (oscillator is off) Oscillator Frequency Oscillator Voltage Input High Voltage Input Low Voltage FOSC VOSC VIH VIL
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: //www.silan.com.cn
REV:1.1
2009.11.19 Page 3 of 28
Characteristics
Symbol
Test Conditions P00 VDD=3.6V P01~P03 P1, P2, P3 P50~P52 P00
Min. -
Typ. 50 150 100 220 600 650
Max. -
Units.
Pull-Up Resistor
RPU
VDD=3.0V
P01~P03 P1, P2, P3 P50~P52 P00 P01~P03 P1, P2, P3 P50~P52
kΩ
VDD=1.8V
PIN CONFIGURATIONS
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: //www.silan.com.cn
REV:1.1
2009.11.19 Page 4 of 28
PIN CONFIGURATIONS
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: //www.silan.com.cn
REV:1.1
2009.11.19 Page 5 of 28
PIN DESCRIPTIONS
Pin No. -RC2 -SH1 -SN1 -RD2 -SM2 -SN2 24 1 2 3 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 5 20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 6 9 7 8 11 12 13 14 15 16 17 18 19 20 1 2 3 4 10 -RC3 -RD3 -SM3 -SN3 20 1 4 5 7 8 9 10 11 12 13 14 15 16 17 18 2 3 6 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 1 4 5 6 7 8 9 10 11 12 13 14 2 3 4 7 5 6 8 9 10 11 12 13 14 15 16 1 2 7 8 1 2 3 4 5 6 VDD GND OSC1 OSC2 P00 P01 P02 P03 P10 P11 P12 P13 P20 P21 P22 P23 P30 P31 P32 P33 P50 P51 P52 PWR PWR I O I I I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O Remote signal output with carrier. Can be set as 23 19 5 19 15 15 3 P53 O push-pull output or big current opendrain output by program 22 NC NC I/O port Power supply Ground External oscillator input port External oscillator output port Input port -SC1 -SC2 -SC3 -SA Pin name Pin type Description
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: //www.silan.com.cn
REV:1.1
2009.11.19 Page 6 of 28
PIN STRUCTURE
Pin name Pin type Pin structure Remark
P00~P01
I
Built-in pull-up resistor
Enter input mode after reset; P02~P03 P10~P13 P20~P23 P30~P33 P50~P52 I/O Pull-up resistor available in input mode; Push-pull output in output mode, and LED can be driven by low level.
High-impedance status after reset; Open-drain output for P53 O using internal infrared LED driver transistor ; Push-pull output for using external infrared LED driver transistor.
FOSC OSC1 PAD
OSC1 OSC2
I O
OSC2 PAD Oscillator stop signal
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: //www.silan.com.cn
REV:1.1
2009.11.19 Page 7 of 28
FUNCTION DESCRIPTION
1. Word width
Word width for SC73P2602 is 9-bit, that is 2K word is 2K×9-bit. 2. Instruction period
Instruction and internal operation are both based on main clock. The instruction period is the time of executing a whole instruction. There are single-/double-period instructions available for SC73P2602. An instruction period consists of 5 beat which is a system clock period (1/FMAIN). Hence, an instruction period is 5/ FMAIN. 3. PC
PC for SC73P2602 is 11-bit and the maximum addressable memory is 2K. PC value is the address of next instruction to be executed and it is 0 after reset. In general, PC is added by 1 after executing an instruction because instructions for SC73P2602 is single-byte instruction. Fixed value is evaluated to PC when executing jump, subprogram call and subprogram return. 4. MBR
Memory buffer register (MBR) is the write-only, higher 5-bit of the program pointer. The ROM of SC73P1602 can be divided into 15 blocks and each block has 128 bytes. These blocks can be addressed by the MBR. For program jump, the BLOCK value containing the target address should be loaded to MBR before executing BSS addr7 instruction. 5. STACK
11-bit stack register is used for storing PC when calling subprogram. 3-level subprogram can be called for there is only 3-level hardware stack registers in SC73P2602. 6. B, H, D
4-bit data look-up pointer registers. Lower 3-bit of register B and all bits (4-bit) of H, D are used as pointers pointing to data table when accessing constant data in OTP whose space of 2K can be used for data table or program memory, otherwise, register B, H, D act as general purpose register as others. Constant data stored in the table can be accessed through table look-up instruction. 7. ALU
The arithmetic and logic unit plays a leading role in performing various operations of 4-bit binaries. The operation of ALU will change the carry flag (CF) and the zero flag (ZF). 8. ACC
4-bit accumulator, it is mostly used to store data and results.
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: //www.silan.com.cn
REV:1.1
2009.11.19 Page 8 of 28
9.
CF
Carry flag. 10. SF Status flag. jump instruction is only effective only when SF=1. SF is 1 after reset. 11. CH0, CH1, CL0, CL1 CH0, CH1, CL0 and CL1 are carrier level control registers for controlling the high and low level to (CH+1)/Fosc and(CL+1)/Fosc. Where, Fosc is oscillator frequency, CH0 and CH1 are higher 4-bit and lower 4-bit of CH respectively, while CL0 and CL1 are higher 4-bit and lower 4-bit of CL. 12. LL, LH 4-bit LL register, lower 4-bit of RAM addressing pointer, can be used as general register as well. 4-bit LH register, LH[0] is the MSB of RAM addressing pointer.
Note: LH[3] is LVD flag and it is “0” when VDD< VLVD, otherwise it is “1”. Typical application: this bit is used for judging whether the circuit is working in low-voltage area to avoid incomplete code transmission. Typical value for is VLVD 1.7V. 13. PR (PR, PR2) The port mode register, which specifies the input mode or output mode of the I/O port, is 4-bit write-only. When PR=1, the corresponding port is set to output mode. PR=0, it is set to input mode. The execution of the HOLD instruction won’t affect the I/O modes of operation. When reset, PR=0. The port is in input mode.
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: //www.silan.com.cn
REV:1.1
2009.11.19 Page 9 of 28
14. TM 4-bit function register with different functions for write TM and read TM. Write TM: 17-bit timer run enable, P53 structure select and carrier generator enable; Read TM: the 12th~15th bit value of 17-bit timer (the lowest bit is the first bit)
15. OTP address assignment OTP ROM for SC73P2602 is 2K (9-bit), and the address assignment is shown below: Address 0000H ~ 003FH 0040H ~ 07FFH 16. RAM Data memory consists of 32x4 bits and is used to store temporary data and results after a program is executed. It can address the entire RAM areas by r LH[0] and LL[3:0]. When reset, the contents of RAM are not defined. It is recommend to initialize it at the beginning of program. 17. TIMER SC73P2602 has one 17-bit timer whose operating frequency is FC=FMAIN. Description Subprogram entry address (can be multiplexed as normal program area ) Program area (can be multiplexed as data table)
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: //www.silan.com.cn
REV:1.1
2009.11.19 Page 10 of 28
Reset value for timer is 1FFFFH, and it counts down.
th WDT overflow reset signal is generated if the 17 bit of timer is converted from “1” to “0”.
Timer is reset if system is reset (including power-up reset, low-voltage reset and WDT overflow reset), HOLD is cleared or reset instruction TMRST is executed.
th Program is only executed when the 12 bit of time is converted from “1” to “0” after HOLD cleared.
18. Carrier generator Various carrier with different duty factors and frequencies are generated through setting high/low level duration by carrier register (see CH0, CH1, CL0, CL1 description). 19. I/O port SC73P2602 has 5 groups (20 in all) of I/O ports and most have both input/output modes (except P00 and P01 can only be used as input and P53 can only be used as output), details are as follows: P00-P01: input pin with pull-up resistor. It can be used for keyboard scan input and input low level can clear HOLD status; P02-P03: input/output port. The input/output characteristic is decided by PR. When used as input port, it has pullup resistor and can be used as keyboard scan input, input low level can clear HOLD status; when used as output pin, it can be used for keyboard scan output and output low level can drive LED directly. P10-P13: same as P02; P20-P23: same as P02; P30-P33: same as P02; P50-P52: same as P02; P53: output infrared remote signal with carrier. There are two structures: push-pull structure is for external infrared emitter driving and big current open-drain structure is for driving infrared emitter directly, with opposite pole of the former structure.
HANGZHOU SILAN MICROELECTRONICS CO.,LTD
Http: //www.silan.com.cn
REV:1.1
2009.11.19 Page 11 of 28
20. Low voltage detect (LVD)
Note: 1. 2. 3. 4. 5. When VDDVOSC, oscillation start up. When VDD>VLVD, LH[3] = “1”; when VDD