0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
SM5221

SM5221

  • 厂商:

    SAMHOP

  • 封装:

  • 描述:

    SM5221 - 32 KEYS ENCODER - SamHop Microelectronics Corp.

  • 数据手册
  • 价格&库存
SM5221 数据手册
三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER GENERAL DESCRIPTION The SM5221-001/002 is an infrared remote control encoder LSI utilizing CMOS technology. The transmission code consists of "leader pulse", "16 bit customer code", and "16 bit data code". Using Micro-processors for decoder, v arious applications can be realized. FEATURES * Low voltage operation ...... VDD=2.0 to 3.3V * Low power consumption ...... IDD < 1μA at standby mode * 32 function keys and 3 double action keys * 64 + 6 function codes are available. (Using SEL terminal) * 65536 customer codes can be selected. (Using external R, Diode-SM5024A or internal MASK ROM-SM5024B) * 20pin SOP or DIP APPLICATIONS * Audio Remote Control * Video Remote Control * Consumer Product Remote Control PIN ASSIGNMENTS (TOP VIEW) KI0 KI1 KI2 KI3 Dout VDD SEL OSCO OSCI VSS 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 CODE KI/O0 KI/O1 KI/O2 KI/O3 KI/O4 KI/O5 KI/O6 KI/O7 LED KI0 KI1 KI2 KI3 Dout VDD SEL OSCO OSCI VSS 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 CODE KI/O0 KI/O1 KI/O2 KI/O3 KI/O4 KI/O5 KI/O6 KI/O7 LED 20 PIN DIP IN 300MIL 20 PIN SOP IN 300MIL Page 1 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER PIN DESCRIPTION No. Pin Name I / O 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 KI0 KI1 KI2 KI3 DOUT VDD SEL OSCO OSCI VSS LED KI/O7 KI/O6 KI/O5 KI/O4 KI/O3 KI/O2 KI/O1 KI/O0 CODE I I I I O POWER I O I POWER O I/O I/O I/O I/O I/O I/O I/O I/O I/O Function Scan Key Input 0 With Pull Low Scan Key Input 1 With Pull Low Scan Key Input 2 With Pull Low Scan Key Input 3 With Pull Low Remote Output Postive Power Supply Data Select Oscillator Output Oscillator Input Negative Power Supply (substrate) Indicator For Tramsmission Key Scan 7 Key Scan 6 Key Scan 5 Key Scan 4 Key Scan 3 Key Scan 2 Key Scan 1 Key Scan 0 Customer Code Select Input Pin Name No. KI0 KI1 KI2 KI3 KI/O0 KI/O1 KI/O2 KI/O3 KI/O4 KI/O5 KI/O6 KI/O7 DOUT SEL LED CODE OSCO OSCI VDD VSS 1 2 3 4 19 18 17 16 15 14 13 12 5 7 11 20 8 9 6 10 I/O I I I I I/O I/O I/O I/O I/O I/O I/O I/O O I O I/O O I POWER Function Scan Key Input 0 With Pull Low Scan Key Input 1 With Pull Low Scan Key Input 2 With Pull Low Scan Key Input 3 With Pull Low Key Scan 0 Key Scan 1 Key Scan 2 Key Scan 3 Key Scan 4 Key Scan 5 Key Scan 6 Key Scan 7 Remote Output Data Select Indicator For Tramsmission Customer Code Select Input Oscillator Output Oscillator Input Postive Power Supply Negative Power POWER Supply (substrate) Page 2 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER BLOCK DIAGRAM OSCI OSCO VDD Vss OSC CIRCUIT KI0 OUTPUT KI1 KEY INPUT SCAN CIRCUIT TIMING GENERATION & CONTROL CIRCUIT CONTROL CIRCUIT DOUT LED CODE GENERATION CIRCUIT KI2 CODE KI3 KEY INPUT/OUTPUT SCAN CIRCUIT SEL KI/O0 KI/O1 KI/O2 KI/O3 KI/O4 KI/O5 KI/O6 KI/O7 FUNCTION DESCRIPTION (1) Oscillation The SM5221-001/002 oscillation circuit is designed for use of a 400 kHz or 500 kHz ceramic resonator, but there may be mutual influence between variations in the IC and ceramic resonator resulting in abnormal oscillation. The oscillation circuit starts to operate when a key is depressed. C1 C2 OSCI OSCO Page 3 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER (2) Key Scan A pull-down resistor is inserted keys are depressed simultaneously, transmission is disabled by the multi-depression prevention circuit. When a key is depressed, reading of the custom code and key data code is started, and DOUT output begins 36 ms later, so that if the key is being depressed during this 36 ms interval one transmission is performed. If a key is held down for 108 ms or longer, consecutive transmissions of the leader code only are performed while the key is depressed. Key Input Ex. f OSC = 455 kHz MIN. 36 ms 58.5 to 76.5 ms 108 ms 108 ms (3) Data Code D7 Control Data code D7 can be controlled by this pin, allowing 64 kinds of data to be transmitted. D7 is set to "0" by connecting the SEL pin to VDD, and to "1" by connecting the SEL pin to VSS. As the input of this pin is high-impedance, it must be connected to either VDD or VSS. Page 4 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER TRANSMISSION CODE (1) DOUT Output The transmission code consists of a leader code, 16-bit custom code, and 8-bit data code. The inverse code of the data code is also sent simultaneously, giving a total configuration of 32 bits per transmission. C0 C1 C2 C3 C4 C5 C6 C7 C0' C1' C2' C3' C4' C5' C6' C7' D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 Leader Code Custom Code Custom Code' Data Code Data Code DOUT Output Code The leader code consists of a 9 ms carrier waveform plus a 4.5 ms OFF waveform, and is used as the leader for the following code. The code uses the PPM (Pulse Position Modulation) method, with "1" and "0" differentiated by the time between pulses reference following diagram. Each code consists of 8 bits, and simultaneous transmission of the inverse code. 9 ms 4.5 ms Custom Code' Custom Code 8 bits 8 bits 18 ms to 36 ms 58.5 to 76.5 ms Data Code 8 bits Data Code 8 bits 13.5 ms Leader Code 0.56 ms 0.56 ms 2.25 ms Bit 1 1.125 ms Bit 0 Page 5 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER Continous Code 9 ms 11.25 ms 0.56 ms Carrier 8.77 μs 26.3 μ s 9 ms or 0.56 ms Carrier Frequency ...... fc = f OSC/12 = 38 KHz (2) Custom Code Extension The custom code can be set by the diodes connected to the CODE pin and the KI/O pins. Connecting the CODE pin and KI/O pins via diodes gives a corresponding custom code of "1", while no connection gives "0". The above output codes can be obta further extend the number of custom codes, 200 kΩ pull up resistors are added to pins KI/O0 through KI/O7,and the bit corresponding to a pin from among the custom code' outputs is output without being inverted. C0 C1 C2 C3 C4 C5 C6 C7 C0' C1' C2' C3' C4' C5' C6' C7' D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 C0 C1 C2 C3 C4 C5 C6 C7 Leader Code Custom Code A Custom Code' B Data Code Data Code DOUT Output Code *: Pull-up resistor added to pins KI/O0 and KI/O2. C0 and C2 output without inversion (non-inverted bits). Page 6 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER (3) Custom Code The DOUT output custom code can be set in any of 65536 ways by means of the diodes attached to the CODE (Custom Code Select) pin and the KI/O pins and the pull-up resistors attached to the KI/O pins. When a code other than code 00000000 (no diode connection) is used. (4) Custom Code Mask ROM Specification The custom code can also be set by mask ROM. When the mask ROM specification is used the custom code can be set without the connection of external diodes and resistors, and by combining external diodes and resistors with mask ROM it is possible to output a code with different contents from those set by the mask ROM. When mask ROM specification is used, (Ver. I) or (Ver. II) can be selected. Custom Code High-Order 8 Bits Ver. I Determined by logical OR of internal ROM1 and external diode positions. C0, C1, C2: Determined by wiring one of pins KI/O0 thru KI/O7 to CCS pin. C3 thru C7: Determined by internal ROM3 and absence/presence of KI/O6 & KI/O7 external pull-up resistors. Custom Code' Low-Order 8 Bits Determined by logical OR of interanl ROM2 and external pull-up resistor positions Determined by logical OR of internal ROM2 and external pull-up resistor (KI/O0 thru KI/O5) positions. Ver. II * Standard product SM5221-001/002 uses the Ver. I specification Internal ROM is set as follows: ROM 1 Custom code high-order 8 bits 0 0 0 0 0 0 0 0 ROM 2 Custom code' low-order 8 bits 0 0 0 0 0 0 0 0 C0 C1 C2 C3 C4 C5 C6 C7 C0 C1 C2 C3 C4 C5 C6 C7 * Standard product SM5221-002 uses the Ver. II specification. Page 7 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER Internal ROM is set as follows: ROM 3 C7, C6, C5,C4,C3 of Custom Code High-Order 8 Bits Pull-Up resistor ROM3 ROM 3 - 0 ROM 3 - 1 ROM 3 - 2 ROM 3 - 3 C7 0 1 1 1 C6 0 0 0 1 C5 0 0 0 1 C4 0 1 0 0 C3 0 1 0 1 KI / O6 No No Yes Yes KI / O7 No Yes No Yes ROM2 Custom code' low-order 8 bits 0 0 0 0 0 0 0 0 C0' C1' C2' C3' C4' C5' C6' C7' Page 8 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER (Ver. I) Internal custom code ROM1 and ROM2 (total (ROM1) corresponding to the external diodes, and 8 bits the part (ROM2) corresponding to the external pull-up resistors. (Ver. II) With Ver. II, the CODE pin does not have the function of reading the external diodes. Internal custom code ROM2 and ROM3 (total 28 bits) are effective, with 20 bits being the part (ROM3) for setting the 4 channels of custom code C7, C6, C5, C4 and C3 as 5 bits each, and 8 bits being the part (ROM2) corresponding to the external pull-up resistors (excluding KI/O6 and KI/O7). With Ver. II 0/1 allocation to C2, C1 and C0 of the custom code high-order bits is set as shown in the following table according to the pin connection status of KI/O0 through KI/O7. CCSKI/O0 KI/O1 KI/O2 KI/O3 KI/O4 KI/O5 KI/O6 KI/O7 C2 0 0 0 0 1 1 1 1 C1 0 0 1 1 0 0 1 1 C0 0 1 0 1 0 1 0 1 When CODE pin is open (C2 C1 C0) = ( 0, 0, 0) Page 9 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER KEY DATA CODE Key KI0 K1 K2 K3 K4 K5 K6 K7 K8 K9 K10 K11 K12 K13 K14 K15 K16 K17 K18 K19 K20 K21 K22 K23 K24 K25 K26 K27 K28 K29 K30 K31 K32 * * * * KI/O7 * * * * KI/O6 * * * * KI/O5 * * * * KI/O4 * * * * KI/O3 * * * * KI/O2 * * * * KI/O1 * * * * KI/O0 KI1 Connection KI2 KI3 KI/O D0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 D1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 0 0 0 1 1 0 0 1 1 D2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 Data Code D3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 D4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 D5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 D6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 D7 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 Page 10 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER DOUBLE KEY OPERATION When more than two keys except K21 + K22, K21 +K23 and K21 +K24 are depressed at the same time, the transmission output stops. Double key operation is useful for tape deck recording operation. Double key operation form are following. KEY K21 + K22 K21 + K23 K21 + K24 D0 1 0 1 D1 0 1 1 D2 1 1 1 D3 0 0 0 D4 1 1 1 D5 1 1 1 D6 0 0 0 D7 0/1 0/1 0/1 (a) Operation K21 push K21 Transmission t > 126 ms K22 to K24 push D5+K22 to 24 Transmission (b) No operation K21 K21 Transmission 36 ms < t < 126 ms K22 to K24 No Transmission (c) No operation No transmission K21 -36 ms < t < 36 ms K22 to K24 (d) No operation t > 126 ms K22 to K24 K22 to 24 Transmission No Transmission K21 Page 11 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER CUSTOMER CODE ROM FORMAT This LSI has customer code table ROM on the chip. So user can generate customer codes without external parts. The customer code ROM format is following. Ver.1 or 2 SEL ROM 1 ROM 2 ROM 3 0 1 2 3 C7 0 1/0 1/0 1/0 1/0 1/0 1/0 C6 0 1/0 1/0 1/0 1/0 1/0 1/0 C5 0 1/0 1/0 1/0 1/0 1/0 1/0 C4 0 1/0 1/0 1/0 1/0 1/0 1/0 C3 0 1/0 1/0 1/0 1/0 1/0 1/0 C2 0 1/0 1/0 0 0 0 0 C1 0 1/0 1/0 0 0 0 0 C0 0 1/0 1/0 0 0 0 0 ROM PULL K/IO6 NO NO YES YES SEL UP K/IO7 NO YES NO YES 1) 2) 3) 4) Ver. 1 or Ver. 2 selection ..... Ver. 1 = 01H, Ver. 2 = 02H When a user selects Ver. 1, ROM1 is available for the customer code (C7 to C0) election. ROM2 is available for the customer code' (C7' to C0') selection. When a user selects Ver. 2, ROM3 is available for the customer code (C7 to C3) selection. And a user can select ROM3-0, ROM3-1, ROM3-2 or ROM3-3 by the KI/O6 and KI/O7 pull up resistances. Page 12 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER ABSOLUTE MAXIMUM RATINGS (Ta = 25 ℃) Characteristic Supply Voltage Input Voltage Power Dissipation Operating Temperature Storage Temperature Symbol VDD VIN Pd Topt Tstg Value 6.0 -0.3 to VDD 250 -20 to +75 -40 to +125 Unit V V mW ℃ ℃ RECOMMENDED OPERATING CONDITIONS Characteristic Supply Voltage Oscillation Frequency Input Voltage Custom code select Pull up Resistance Symbol VDD fosc VIN Rup Min. 2.0 400 0 160 200 Typ. 3.0 455 Max. 3.3 500 VDD 240 Unit V KHz V KΩ Page 13 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER ELECTRICAL CHARACTERISTICS (Ta = 25℃, VDD = 3.0 V) Characteristic Supply Voltage Current Consumption 1 Current Consumption 2 DOUT High Level Output Current DOUT Low Level Output Currenl Symbol VDD IDD1 IDD2 IOH1 IOL1 IOH2 IOL2 IIH1 IIL1 VIH1 VIL1 VIH2 VIL2 IIH2 IIL2 IOH3 IOL3 VIH3 IIH3 IIL3 IIH4 IIL4 Min. 2.0 Typ. 3.0 0.1 Max. 3.3 1.0 1.0 Unit V mA Conditions f osc = 455 kHz f osc = STOP Vo = 1.5 V Vo = 0.3 V Vo = 2.7 V Vo = 0.3 V VIN = 3.0 V VIN = 0 V µA mA -8.0 30 -15 1 5 -30 1.5 30 -0.2 0.7 VDD 0 1.3 0 2 VDD 0.3VDD VDD 0.4 7 -0.2 1.0 35 1.1 0.2 -3 5 -10 30 -0.2 2.5 100 µA µA mA LED High Level Output Current LED Low Level Output Current KI High Level Input Current KI Low Level Input Current KI High Level Input Voltage KI Low Level Input Voltage KI/O High Level Input Voltage KI/O Low Level Input Voltage KI/O High Level Input Current KI/O Low Level Input Current KI/O High Level Output Current KI/O Low Level Output Current CODE High Level Input Voltage CODE High Level Input Current CODE Low Level Input Current CODE High Level Input Current CODE Low Level Input Current µA µA V V V V µA µA mA VIN = 3.0 V VIN = 0 V Vo = 2.5 V Vo = 1.7 V µA V µA Pull up Pull up VIN = 3.0 V VIN = 0 V µA µA µA Pull down VIN = 3.0 V Pull down VIN = 0 V Page 14 V.2.0 Mar 8,2002 三合微科股份有限公司 SAMHOP Microelectronics Corp. SM5221-001/002 32 KEYS ENCODER APPLICATION CIRCUIT 200pf 455KHZ 200pf 3V 47 µF 10 9 8 7 6 5 4 KI3 3 KI2 2 KI1 1 KI0 VSS OSCI OSCO SEL VDD DOUT LED KI/O7 KI/O6 KI/O5 KI/O4 KI/O3 KI/O2 KI/O1 KI/O0 CODE 11 12 13 14 15 16 17 18 19 20 VDD 200KΩ Page 15 V.2.0 Mar 8,2002
SM5221 价格&库存

很抱歉,暂时无法提供与“SM5221”相匹配的价格&库存,您可以联系我们找货

免费人工找货