三合微科股份有限公司 SM5272B SAMHOP Microelectronics Corp. 312 RF DECODER GENERAL DESCRIPTION FEATURES SM5272B is a remote control decoder paired with SM5262B utilizing CMOS Technology. It has 12-bit tri-state address pins providing a maximum of 531,411 (or 312) address codes; thereby, drastically reducing any code collision and unauthorized code scanning possibilities. SM5272B is available in several options to suit every application needs : variable number of data output pins, latch or momentary output type. * CMOS Technology * Low power consumption * Very high noise immunity * Up to 12 tri-State code address pins * Up to 6 data pins * Wide range of operating voltage: Vcc= 2.5 ~ 9 Volts * Single resistor oscillator * Latch or momentary output type * Available in DIP and SOP package APPLICATIONS * Garage door * Toys * Remote control for industrial use BLOCK DIAGRAM DIN Signal Re-Shap Decode Timing Generator Address Compare OSC OSC1 OSC2 Address A0 Page 1 A5 Data Compare VT Data A6/D5 A11/D0 OCT. 26, 2001 三合微科股份有限公司 SM5272B SAMHOP Microelectronics Corp. 312 RF DECODER PIN ASSIGNMENTS ( DIP ) A0 A1 A2 A3 A4 A5 A6 A7 Vss 1 2 3 4 5 6 7 8 9 18 17 16 15 14 13 12 11 10 Vcc VT OSC1 OSC2 DIN A11 A10 A9 A8 A0 A1 A2 A3 A4 A5 A6 A7 Vss SM5272B A0 A1 A2 A3 A4 A5 A6 A7 Vss 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 18 17 16 15 14 13 12 11 10 Vcc VT OSC1 OSC2 DIN D0 D1 A9 A8 SM5272B-M2/L2 18 17 16 15 14 13 12 11 10 Vcc VT OSC1 OSC2 DIN D0 D1 D2 A8 A0 A1 A2 A3 A4 A5 A6 A7 Vss SM5272B-M3/L3 A0 A1 A2 A3 A4 A5 A6 D4 Vss 1 2 3 4 5 6 7 8 9 18 17 16 15 14 13 12 11 10 1 2 3 4 5 6 7 8 9 18 17 16 15 14 13 12 11 10 Vcc VT OSC1 OSC2 DIN D0 D1 D2 D3 SM5272B-M4/L4 Vcc VT OSC1 OSC2 DIN D0 D1 D2 D3 A0 A1 A2 A3 A4 A5 D5 D4 Vss SM5272B-M5/L5 1 2 3 4 5 6 7 8 9 18 17 16 15 14 13 12 11 10 Vcc VT OSC1 OSC2 DIN D0 D1 D2 D3 SM5272BM6/L6 Page 2 OCT. 26, 2001 三合微科股份有限公司 SM5272B SAMHOP Microelectronics Corp. 312 RF DECODER PIN CONFIGURATION ( SOP ) A0 A1 A2 A3 A4 A5 A6 A7 Vss NC 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 Vcc VT OSC1 OSC2 DIN A11 A10 A9 A8 NC A0 A1 A2 A3 A4 A5 A6 A7 Vss NC SM5272BS A0 A1 A2 A3 A4 A5 A6 A7 Vss NC 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 Vcc VT OSC1 OSC2 DIN D0 D1 A9 A8 NC SM5272BS-M2/L2 20 19 18 17 16 15 14 13 12 11 Vcc VT OSC1 OSC2 DIN D0 D1 D2 A8 NC A0 A1 A2 A3 A4 A5 A6 A7 Vss NC SM5272BS-M3/L3 A0 A1 A2 A3 A4 A5 A6 D4 Vss NC 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 Vcc VT OSC1 OSC2 DIN D0 D1 D2 D3 NC SM5272BS-M4/L4 Vcc VT OSC1 OSC2 DIN D0 D1 D2 D3 NC A0 A1 A2 A3 A4 A5 D5 D4 Vss NC SM5272BS-M5/L5 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 Vcc VT OSC1 OSC2 DIN D0 D1 D2 D3 NC SM5272BS-M6/L6 Page 3 OCT. 26, 2001 三合微科股份有限公司 SM5272B SAMHOP Microelectronics Corp. 312 RF DECODER PIN FUNCTION No. Pin Name I/O Function 1 A0 I 2 A1 I 3 A2 I 4 A3 I 5 A4 I 6 A5 I 7 A6/D5 I/O 8 A7/D4 I/O 9 Vss POWER 10 A8/D3 I/O 11 A9/D2 I/O 12 A10/D1 I/O 13 A11/D0 I/O 14 DIN I Receive from Rf module. 15 OSC1 I 16 OSC2 O Resistor connected between these two pins determine the system clock. 17 VT O Valid transmission indication. 18 VDD POWER Address input, each pin can be set to "0", "1" , or floating. Address input or data output. Negative power supply. Address input or data output. Positive power supply. Page 4 OCT. 26, 2001 三合微科股份有限公司 SM5272B SAMHOP Microelectronics Corp. 312 RF DECODER Code Word A group of Code Bits is called a code Word. A Code Word consists of 12 Address plus Data bits followed by one Sync Bit. The 12 AD bits are interpreted as either address or data bits depending on the SM5272B version used. Please refer to the diagrams below: SM5272B A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 SYNC A3 A4 A5 A6 A7 A8 A9 D1 D0 SYNC A3 A4 A5 A6 A7 A8 D2 D1 D0 SYNC A3 A4 A5 A6 A7 D3 D2 D1 D0 SYNC A3 A4 A5 A6 D4 D3 D2 D1 D0 SYNC A3 A4 A5 D5 D4 D3 D2 D1 D0 SYNC SM5272B-M2/L2 A0 A1 A2 SM5272B-M3/L3 A0 A1 A2 SM5272B-M4/L4 A0 A1 A2 SM5272B-M5/L5 A0 A1 A2 SM5272B-M6/L6 A0 A1 A2 One Complete Code Word Page 5 OCT. 26, 2001 三合微科股份有限公司 SM5272B SAMHOP Microelectronics Corp. 312 RF DECODER Valid Transmission After Power On SM5272B enters the Search Address mode, if SM5272B finds 2 consecutive Address that matches the Address Pin setting of SM5272B then it will set VT high. If VT is set high, SM5272B is still in search Address. After 2 consecutive Address that do not match the setting on SM5272B, SM5272B will disable VT. The timing are shown in the following diagram. DIN 1st Address S 2nd Address S VT Latch or Momentary Data Output Type After Power On SM5272B is set in Address search mode, if SM5272B finds 2 consecutive Address that matches the Address setting of SM5272B. SM5272B will enter Data Compare mode. It will compare perviously 2 receive data, if they match each then SM5272B will set VT high and send data O/P. SM5272B re-enters Address search mode, after 2 consecutive Address that do not match the setting on SM5272B will disable VT and momentary's data but keep Latch's data intact. DATA WORDS DATA WORDS DIN T DATA PINS T DATA OUTPUT X DATA OUTPUT Y (Momentary) DATA PINS (Latch) DATA OUTPUT X DATA OUTPUT Y VT T= 2 CODE WORD WIDTH Page 6 OCT. 26, 2001 三合微科股份有限公司 SM5272B SAMHOP Microelectronics Corp. 312 RF DECODER OPERATION FLOWCHART Power ON NO Address match? After Power On SM5272B enters the Search Address mode, if SM5272B finds 2 consecutive Address that matches the Address Pin setting of SM5272B, it will set VT high. YES NO Address match? YES Set VT YES Address match? It VT is set high, SM5272B is still in search Address. After 2 consecutive Address that do not match the setting on SM5272B, SM5272B will disable VT. NO YES Address match? NO Disable VT Page 7 OCT. 26, 2001 三合微科股份有限公司 SM5272B SAMHOP Microelectronics Corp. 312 RF DECODER DECODER WITH DATA OUTPUT PINS Power ON NO Address match? YES NO Address match? After Power On SM5272B is set in Address search mode, if SM5272B finds 2 consecutive Address that matches the Address setting of SM5272B. SM5272B will enter Data Compare mod. It will compare previously 2 received data, if they match then SM5272B will set VT high and send data O/P. YES NO Data match? YES Active VT and O/P data YES SM5272B re-enters Address search mode, after 2 consecutive Address that do not match setting on S M 5 2 7 2 B w i l l d i s a b l e V T a n d momentary's data but keep Latch's data intact. Address match? NO YES Address match? NO Disable VT and Remove the Momentary data. But keep the Latch Type data intact. Page 8 OCT. 26, 2001 三合微科股份有限公司 SM5272B SAMHOP Microelectronics Corp. 312 RF DECODER Single Resistor Oscillator SM5272B's oscillator be constructed by connecting a resistor between OSC1 and OSC2 pin. SM5272B's OSC frequency must be 1.4 to 6.8 times more than SM5262B. Encoder OSC Frequency 100 90 80 R = 510K 70 60 KHz 50 40 R = 1.2 M 30 20 R = 2.7 M R = 3.0 M R = 3.3 M R = 4.3 M 10 0 2.5 6 9 12 15 VOLTAGE Decoder OSC Frequency 300 250 R = 100 K 200 180 KHz 100 R = 300 K 50 0 R = 620 K R = 680 K R = 820 K R = 1.0 M 2.5 6 9 VOLTAGE Suggested oscillator resistor of SM5262B/ SM5272B: SM5262B 4.7M OHM 3.0M OHM 2.2M OHM 1.2M OHM SM5272B 750K OHM 390K OHM 270K OHM 160K OHM Page 9 OCT. 26, 2001 三合微科股份有限公司 SM5272B SAMHOP Microelectronics Corp. 312 RF DECODER DC ELECTRICAL CHARACTERISTICS Parameter Supply Voltage Standby Current Data Output Driving Current Data Output Sinking Current Symbol Conditions VCC ISTB Limit Min. Typ. Max. 2.5 Vcc = 12 V OSC stop A0 ~ A11 open 0.02 Unit 9 V 0.3 μA Vcc = 5V VOH = 4V -3.5 mA Vcc = 9V VOH = 7.2V -7.1 mA Vcc = 5V VOH = 1V 8 mA Vcc = 9V VOH = 1.8V 20 mA IOH IOL Page 10 OCT. 26, 2001 三合微科股份有限公司 SM5272B SAMHOP Microelectronics Corp. 312 RF DECODER APPLICATION CIRCUIT RF Receiver A0 VDD A1 VT A2 OSC1 A3 OSC2 A4 DIN A5 A11 A6 A10 A7 A9 Vss A8 ROSC VT SM5272B Page 11 OCT. 26, 2001 三合微科股份有限公司 SM5272B SAMHOP Microelectronics Corp. 312 RF DECODER ORDERING INFORMATION Part No. Package Part No. Package SM5272B 18 Pin DIP SM5272BS 20 Pin SOP Logo Product No. Empty: DIP TYPE S: SO Package M:Momentary type L: Latch type SM5272B S - X X None: 0 Data Bits 2:Two Data Bits 3:Three Data Bits 4:Four Data Bits 5:Five Data Bits 6:Six Data Bits xxx xx Serial Number Date Code ESD Protection Mark Page 12 OCT. 26, 2001