INFRAED REMOCON RECEIVER S5G9802X01 INTRODUCTION TheS5G9802X01 is a CMOS integrated circuit for the infrared ray remote control transmitter function to be used with the KS9801 for receiver. It can be applied to TV, VCR, VDP, CDP and AV controller. The S5G9802X01 has 18 functions, and a total of 75 commands can be transmitted. These commands are generated by continuous keys with multiple keying and 12 commands by single shot keys. 16−DIP−300A FEATURES • Wide range of operating supply voltage : VDD = 2.0V - 5V • Low power consumption : IDS<1 m A at standby mode • Containing ceramic oscillation circuit • Function of multiple keying • Adaptable to various models using custom code bits ORDERING INFORMATION Device Package Operating Temperature S5G9802X01-D0B0 16−DIP−300A − 20°C − + 75°C 1 S5G9802X01 INFRAED REMOCON RECEIVER BLOCK DIAGRAM XI VDD VSS 16 1 2 OSC CLOCK GENERATOR DEVIDER XO 3 CONTINUOUS/SINGLE SHOT CODE GENERATOR CIRCUIT KEY INPUT CIRCUIT MULTIKEY INHIBITING CIRCUIT 14 TEST K5 8 STROBE SIGNAL GENERATION CIRCUIT K6 9 CUSTOM CODE GENERATING CIRCUIT 10 11 12 13 ST1 ST2 ST3 CC1 Figure 1. PIN CONFIGURATION VSS 1 16 VDD XI 2 15 REM OUT XO 3 14 TEST K1 4 13 CC1 K2 5 12 ST3 K3 6 11 ST2 K4 7 10 ST1 K5 8 9 Figure 2. 2 15 REM OUT DATA CODE GENERATING CIRCUIT K2 5 K4 7 OUTPUT SYNTHESIZING CIRCUIT TIMING COUNTER K1 4 K3 6 ADDRESS COUNTER & DECODER K6 INFRAED REMOCON RECEIVER S5G9802X01 PIN DISCRIPTION Pin No. Symbol 1,16 VSS1, VDD 2 Input/Output Description GND, Power Ground, power supply terminals XI OSC Input 3 XO OSC output Terminal for OSC, and used for connecting a 455kHz ceramic resonator 4~9 K1 ~ K6 10~12 Key Input Key input terminal for key matrix (with a built-in pull down resistor) ST1 ~ ST3 Strobe Output Strobe output terminal for key matrix 13 CCI Custom Code Input Selected custom code 14 TEST Test Terminal With a built-in pull up resistor 15 REM-OUT Remote Output Remote signal output, modulation is made by 12 bits 1 cycle and 38kHz carrier wave ABSOLUTE MAXIMUM RATINGS (Ta = 25×C) Characteristic Symbol Value Unit Supply Voltage VDD 6 V Input Voltage VIN VSS −0.3 − VDD+0.3 V Power Dissipation PD 200 mW Operating Temperature TOPR −20 − 75 °C Storage Temperature TSTG −55 − +125 °C REM-OUT Output Current IOUT −5 mA 3 S5G9802X01 INFRAED REMOCON RECEIVER ELECTRICAL CHARACTERISTICS (Ta = 25×C , VDD = 3V, unless otherwise specified) Characteristic Symbol Test Conditions Min. Typ. Max. Unit Operating Voltage VDD All function operation 2.0 − 50 V Operating Current IDD Key on, without LOAD − 0.1 1.0 mA Static Current IDS OSC stop, all key off − − 10 µA Input K1 − K6 CCI VIN K1 ~ K6 IIN CCI TEST Out put ST1 ~ ST3 IIN IOUT REM-OUT IOUT OSC Feedback Resistor Oscillatiion Frequency 4 H VIH − 0.8 Vdd − Vdd V L VIL − 0 − 0.2 Vdd V H IIH VIH = 3.0V 10 20 60 µA L IIL VIL = 0V −1.0 − 1.0 µA H IIH VOH = 3.0V −1.0 − 1.0 µA L IIL VIL = 0V 10 20 60 µA H IOH VOH = 2.0V −0.5 − − mA L IOL VOL = 3.0V 50 − − µA H IOH VOH = 2.0V -0.1 − − mA L IOL VOL = 2.0V 1.0 − − mA Rf − − 500 − kΩ fOSC − 400 455 500 kHz INFRAED REMOCON RECEIVER S5G9802X01 FUNCTIONAL DESCRIPTION 1. OSCILLATION CIRCUIT • The oscillation circuit is activated when any key is depressed. The ceramic resonator connected to XI, XO is normally operated at 455kHz oscillation frequency. fosc XI 2 3 XO 2 3 --- XI, XO Terminals C1, C2 = 100pF ceramic resonator C1 C2 Figure 3. 2. KEY INPUT & STROBE OUTPUT • All key input pins have a pull down resistor to VSS. 18 keys can be connected by key input K1 - K6 and 6x3 matrix by means of strobe signal ST1 - ST3. • Multiple keying is possible for the keys connected to ST1 Line (key No. 1 - 6), and all depressed keys are output (Output becomes continuous pulses). • Among the strobe signal lines, priority is set in the order, ST1>ST2>ST3. The keys connected to ST2 and ST3 lines have priority and when input is made through more than 2 keys, and single signal is preferentially output in order of K1 - K6. • Finally, the keys connected to ST2 and ST3 lines are for single signals and no second signal is transmitted unless input is made again after the key is released once. 5 S5G9802X01 INFRAED REMOCON RECEIVER * Key Matrix ST1(CT) K1 K2 K3 K4 K5 K6 ST2 (S1) ST3C (S2) •••••••••• 1 •••••• 7 •••••• C •••••••••• 2 •••••• 8 •••••• D E •••••••••• 3 •••••• 9 •••••• •••••••••• 4 •••••• 10 •••••• F •••••••••• 5 •••••• A •••••• G •••••••••• 6 •••••• B •••••• H Key on. 1 − 6: continuous keys Key on. 7 − H: single shot keys * Key Data Code key No. Key Data Code CT S1 S2 D1 D2 D3 D4 D5 D6 Output Type Key Key Data Code No. CT S1 S2 D1 D2 D3 D4 D5 D6 Output Type 1 1 0 0 1 0 0 0 0 0 Cont 10 0 1 0 0 0 0 1 0 0 Sing 2 1 0 0 0 1 0 0 0 0 ″ a 0 1 0 0 0 0 0 1 0 ″ 3 1 0 0 0 0 1 0 0 0 ″ b 0 1 0 0 0 0 0 0 1 ″ 4 1 0 0 0 0 0 1 0 0 ″ c 0 0 1 1 0 0 0 0 0 ″ 5 1 0 0 0 0 0 0 1 0 ″ d 0 0 1 0 1 0 0 0 0 ″ 6 1 0 0 0 0 0 0 0 1 ″ e 0 0 1 0 0 1 0 0 0 ″ 7 0 1 0 1 0 0 0 0 0 Sing f 0 0 1 0 0 0 1 0 0 ″ 8 0 1 0 0 1 0 0 0 0 ″ g 0 0 1 0 0 0 0 1 0 ″ 9 0 1 0 0 0 1 0 0 0 ″ h 0 0 1 0 0 0 0 0 1 ″ • Since multiple keying is possible, key no. 1 - 6 are capable of outputting 63 commands through a combination of D1 - D6 data. • Key No. 7 - h are the single shot keys for output 12 commands. * Output Fomat: Transmission command consists of a 3-bit Custom code. 3-bit Continuous/Single shot code and 6-bit Data code. C1 C2 Custom code 6 C3 CT S1 S2 Continuous/ single shot code D1 D2 D3 D4 Key data code D5 D6 INFRAED REMOCON RECEIVER S5G9802X01 3. CUSTOM CODE (C1, C2, C3) • Custom code bit is made at one terminal with diodes connected through ST1 ~ ST3 strobe terminals CCI ST3 ST2 ST1 K6 (C3) (C2) (C1) CCI = Custom Code Input K3 K6 K1 K2 K4 K5 1 2 3 4 5 7 8 9 10 A B C D E F G H 6 * Custom code bit consists of 3 bits (C1,C2,C3), and makes 8 custom codes. Figure 4. • Custom code bit becomes 1 when diodes are connected to the CCI terminal through strobe signal (ST1 - ST3), but if diodes are not connected, custom code bit becomes “0”. (In the above diagram, C1. C2 and C3 are “1”, 1 and data.) • Custom code bit of the S5G9802X01 has 3 bits. However, the S5G9801X01 (16-DIP) which is a receiver, and the S5G9803X01 (24-DIP) are able to use only C2, C3, and C1, C2 custom code bits, respectively. • For C1 and C3 custom code bit data not used on the S5G9801X01 and S5G9803X01, you must transmit “1”, and diodes must be connected as follows. Custom code bit C1 C2 C3 C2 1 0 0 1 1 1 C1,C2 • • • • • • S5G9803X01 (24-DIP) C2,C3 • • • • • • S5G9801X01 (16-DIP) Note: * Custom code bit “0” can not be used * Custom code C1 can’t be used on the S5G9801X01 and C3 can’t be used on the S5G9803X01 7 S5G9802X01 INFRAED REMOCON RECEIVER 4. REMOTE OUTPUT a. Basic waveform (at fosc = 455kHz) Custom code bit reader Continuous/single shot code bit reader Key input reader T 3T 48T Figure 5. • Basic remote waveform is 12-bit serial data in configuration as shown above. • The time of each bit T is decided as shown below by the oscillation frequency fOSC, by means of 01 and 00. • T = (1/fOSC) X 192[sec] b. Distinction of bit “0” and “1” T 3T Bit “0” 3T Bit “1” T Figure 6. C. Remote output of Single shot key ~ Single shot key on 48T 80T 48T ~ 67.5T REM-OUT Figure 7. 8 INFRAED REMOCON RECEIVER • S5G9802X01 When any one of the single shot keys is depressed, the above single shot signal is transmitted in 2 cycles, and the remote output ends. d. Remote output of continuous key continuous key on 67.5T 48T 80T 48T 208T 48T 80T 48T REM-OUT Figure 8. • When any one of the signal shot keys is depressed, the above continuous signal is 2 cycles output, repeatedly output 208T pause and 2 cycles output is 2 pause of 208T. e. Carrier waveform Transmitting signal “ 0” Carrier waveform TH ~ ~ ~ ~ “1” Duty = TL TL + TH TL • When single shot or continous signal is transmitting, each code bit is switched by a carrier of duty 1/3 output after the pulse modulated. • In 455kHz oscillation the signal is modulated by 1/3 duty 38MHz, and carrier (fC) is decided by oscillation frequency fOSC by means of XI and XO. fC = fOSC/12[Hz] fC = 38kHz at fOSC = 455kHz 9 S5G9802X01 INFRAED REMOCON RECEIVER APPLICATION CIRCUIT switch KSA539 TLN105 + 47¥ìF VDD KSC815 ¥Ø 10K¥Ø 16 15 14 12 11 10 KS9802 S5G9802X01 2 3 4 5 6 1 2 3 8 9 D E 7 8 100pF 100pF K1 ~K6 KEY MATRIX ST1~ST3 C Figure 9. 10 5 6 10 11 12 F G H