SAMHOP SM5172

三合微科股份有限公司
SM5172
SAMHOP Microelectronics Corp.
312 RF ENCODER
GENERAL DESCRIPTION
FEATURES
SM5172 is a remote control decoder paired
with SM5162 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. SM5172 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= 3 ~ 12 Volts
* Single resistor oscillator
* Latch or momentary output type
* Available in DIP and SOP package
APPLICATIONS
* Car security
* Garage door
* Home security/Automation system
* 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. 2001
三合微科股份有限公司
SM5172
SAMHOP Microelectronics Corp.
312 RF ENCODER
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
SM5172
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
SM5172-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
SM5172-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
SM5172-M4/L4
Vcc
VT
OSC1
OSC2
DIN
D0
D1
D2
D3
A0
A1
A2
A3
A4
A5
D5
D4
Vss
SM5172-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
SM5172M6/L6
Page 2
OCT. 2001
三合微科股份有限公司
SM5172
SAMHOP Microelectronics Corp.
312 RF ENCODER
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
SM5172S
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
SM5172S-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
SM5172S-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
SM5172S-M4/L4
Vcc
VT
OSC1
OSC2
DIN
D0
D1
D2
D3
NC
A0
A1
A2
A3
A4
A5
D5
D4
Vss
NC
SM5172S-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
SM5172S-M6/L6
Page 3
OCT. 2001
三合微科股份有限公司
SM5172
SAMHOP Microelectronics Corp.
312 RF ENCODER
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. 2001
三合微科股份有限公司
SM5172
SAMHOP Microelectronics Corp.
312 RF ENCODER
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 SM5172 version used. Please refer to the diagrams below:
SM5172
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10 A11
SYNC
A2
A3
A4
A5
A6
A7
A8
A9
D1
D0
SYNC
A2
A3
A4
A5
A6
A7
A8
D2
D1
D0
SYNC
A2
A3
A4
A5
A6
A7
D3
D2
D1
D0
SYNC
A2
A3
A4
A5
A6
D4
D3
D2
D1
D0
SYNC
A2
A3
A4
A5
D5
D4
D3
D2
D1
D0
SYNC
SM5172-M2/L2
A0
A1
SM5172-M3/L3
A0
A1
SM5172-M4/L4
A0
A1
SM5172-M5/L5
A0
A1
SM5172-M6/L6
A0
A1
One Complete Code Word
Page 5
OCT. 2001
三合微科股份有限公司
SM5172
SAMHOP Microelectronics Corp.
312 RF ENCODER
Valid Transmission
After Power On SM5172 enters the Search Address mode, if SM5172 finds 2 consecutive
Address that matches the Address Pin setting of SM5172 then it will set VT high.
If VT is set high, SM5172 is still in search Address. After 2 consecutive Address that do not
match the setting on SM5172, SM5172 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 SM5172 is set in Address search mode, if SM5172 finds 2 consecutive Address
that matches the Address setting of SM5172. SM5172 will enter Data Compare mode. It will
compare perviously 2 receive data, if they match each then SM5172 will set VT high and send
data O/P.
SM5172 re-enters Address search mode, after 2 consecutive Address that do not match the
setting on SM5172 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. 2001
三合微科股份有限公司
SM5172
SAMHOP Microelectronics Corp.
312 RF ENCODER
OPERATION FLOWCHART
Power ON
NO
Address
match?
After Power On SM5172 enters the Search
Address mode, if SM5172 finds 2 consecutive
Address that matches the Address Pin setting
of SM5172, it will set VT high.
YES
NO
Address
match?
YES
Set VT
YES
Address
match?
It VT is set high, SM5172 is still in search
Address. After 2 consecutive Address that do
not match the setting on SM5172, SM5172 will
disable VT.
NO
YES
Address
match?
NO
Disable VT
Page 7
OCT. 2001
三合微科股份有限公司
SM5172
SAMHOP Microelectronics Corp.
312 RF ENCODER
DECODER WITH DATA OUTPUT PINS
Power ON
NO
Address
match?
YES
NO
Address
match?
After Power On SM5172 is set in Address
search mode, if SM5172 finds 2 consecutive
Address that matches the Address setting of
SM5172.
SM5172 will enter Data Compare mod. It will
compare previously 2 received data, if they
match then SM5172 will set VT high and send
data O/ P.
YES
NO
Data match?
YES
Active VT and
O/P data
YES
SM5172 re-enters Address search mode, after
2 consecutive Address that do not match
setting on SM5172 will disable VT and
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. 2001
三合微科股份有限公司
SM5172
SAMHOP Microelectronics Corp.
312 RF ENCODER
Single Resistor Oscillator
SM5172's oscillator be constructed by connecting a resistor between OSC1 and OSC2 pin.
SM5172's OSC frequency must be 1.8 to 5.8 times more than SM5162.
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
3
6
9
12
15 VOLTAGE
Dncoder OSC Frequency
300
R = 100 K
250
200
110
KHz 100
R = 300 K
R = 620 K
R = 680 K
R = 820 K
R = 1.0 M
50
0
3
6
9
12
15 VOLTAGE
Suggested oscillator resistor of SM5162/ SM5172:
SM5162
4.7M OHM
3.0M OHM
2.2M OHM
1.2M OHM
SM5172
820K OHM
620K OHM
300K OHM
180K OHM
Page 9
OCT. 2001
三合微科股份有限公司
SM5172
SAMHOP Microelectronics Corp.
312 RF ENCODER
DC ELECTRICAL CHARACTERISTICS
Parameter
Supply Voltage
Standby Current
Data Output
Driving Current
Data Output
Sinking Current
Symbol
Conditions
VCC
ISTB
IOH
IOL
Limit
Min. Typ. Max.
3
Vcc = 12 V
OSC stop
A0 ~ A11 open
0.02
Unit
12
V
0.3
μA
Vcc = 5V
VOH = 4V
-4
mA
Vcc = 8V
VOH = 6.4V
-8
mA
Vcc = 12V
VOH = 9.6V
-15
mA
Vcc = 5V
VOH = 1V
6
mA
Vcc = 8V
VOH = 1.6V
14
mA
Vcc = 12V
VOH = 2.4V
26
mA
Page 10
OCT. 2001
三合微科股份有限公司
SM5172
SAMHOP Microelectronics Corp.
312 RF ENCODER
APPLICATION CIRCUIT
RF
Receiver
A0
VDD
A1
VT
A2
OSC1
A3
OSC2
A4
DIN
A5
A11
A6
A10
A7
A9
Vss
A8
ROSC
VT
SM5172
Page 11
OCT. 2001
三合微科股份有限公司
SM5172
SAMHOP Microelectronics Corp.
312 RF ENCODER
ORDERING INFORMATION
Part No.
Package
Part No.
Package
SM5172
18 Pin DIP
SM5172S
20 Pin SOP
Logo
Product No.
Empty: DIP TYPE
S: SO Package
M:Momentary type
L: Latch type
SM5172 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. 2001