STMICROELECTRONICS STV3012

STV3012
REMOTE CONTROL TRANSMITTER
FOR AUDIO AND VIDEO APPLICATIONS
..
.
.
.
..
.
..
.
PRELIMINARY DATA
TWO TIMING AND DATA FORMAT MODES
7 SUB-SYSTEM ADDRESSES
UP TO 64 COMMANDS PER SUB-SYSTEM
ADDRESS
KEY RELEASE DETECTION BY TOGGLE BIT
(1 toggle bit in mode A and 2 toggle bits in
mode B)
HIGH CURRENT REMOTE OUTPUT
AT VDD = 3V (-IOH = 80mA)
VERY LOW STAND-BY CURRENT (< 2µA)
1mA OPERATIONAL CURRENT AT 6V SUPPLY
CERAMIC
RESONATOR
CONTROLLED
FREQUENCY (typ. 450kHz)
MODULATED TRANSMISSION
SUPPLY VOLTAGE RANGE 2V TO 6.5V
LOW NUMBER OF EXTERNAL COMPONENTS
DIP20
(Plastic Package)
ORDER CODE : STV3012
REMO
1
20
VDD
SEN6N
2
19
DRV6N
SEN5N
3
18
DRV5N
SEN4N
4
17
DRV4N
SEN3N
5
16
DRV3N
SEN2N
6
15
DRV2N
DESCRIPTION
SEN1N
7
14
DRV1N
The STV3012 is a general purpose infrared remote
control transmitter system for low voltage supply
applications. It is able to generate a total number
of 448 commands which are divided into 7 sub-system groups with 64 commands each. The sub-system code may be selected by a press button, a
slider switch or hard wired. Two different timing and
data format modes are available.
SEN0N
8
13
DRV0N
ADRM
9
12
OSCO
10
11
OSCI
V SS
March 1993
This is advance information on a new product now in development or undergoing evaluation. Details are subject to change without notice.
3012-01.EPS
PIN CONNECTIONS
1/8
STV3012
BLOCK DIAGRAM
OSCILLATOR
DIVIDER
OSCI 11
3
SEN4N
4
SEN3N
5
SEN2N
6
SEN1N
7
SEN0N
8
REMO
1
SYST.
CONTR
9
18 DRV5N
17 DRV4N
16 DRV3N
15 DRV2N
14 DRV1N
PARALLEL
/SERIAL
CONVERTER
REMOTE
ADRM
19 DRV6N
KEYBOARD
DRIVER
DECODER
SEN5N
10 VSS
ADDRESS
LATCHES
2
KEYBOARD
ENCODER
SEN6N
20 VDD
MASTER
CLEAR
13 DRV0N
3012-02.EPS
OSCO 12
ABSOLUTE MAXIMUM RATINGS
±I
- I(REMO)
Ptot
Tstg
Toper
Parameter
Supply Voltage
Input Voltage
Output Voltage
D.C. Current into any input or output
Value
- 0.3, 7.0
- 0.3, VDD + 0.3
- 0.3, VDD + 0.3
10
Peak REMO Output Current during 10µs, duty factor = 1%
Power Dissipation per package for Tamb = - 20 to + 70oC
Storage Temperature
Operating Ambient Temperature
Unit
V
V
V
mA
300
mA
200
- 55, + 125
-20, + 70
mW
o
C
o
C
3012-01.TBL
Symbol
VDD
VI
VO
ELECTRICAL CHARACTERISTICS
VSS = 0V, TA = 25oC (unless otherwise specified)
Symbol
VDD
IDD
Parameter
Supply Voltage
Supply Current
Test Conditions
TA = 0 to + 70oC
• Active fOSC = 455kHz
VDD = 3V
REMO Output unload
VDD = 6V
• Inactive (stand-by mode) VDD = 6V
Min.
2
fOSC
Oscill. Frequency
VDD = 2 to 6.5V (ceramic resonator)
350
Typ.
0.25
1.0
Max.
6.5
0.5
2
2
600
Unit
V
mA
mA
0.3 x VDD
V
V
100
600
µA
µA
µA
µA
kHz
KEYBOARD MATRIX - Inputs SEN0N to SEN6N
VIL
VIH
- II
II
Input Voltage Low
Input Voltage High
Input Current
VDD =
VDD =
VDD =
VDD =
2 to 6.5V
2 to 6.5V
2V, VI = 0V
6.5V, VI = 0V
Input Leakage Current
VDD = 6.5V, VI = VDD
0.7 x VDD
10
100
1
2/8
VOL
Output Voltage "ON"
IO
Output Current "OFF"
VDD = 2V, IO = 0.1mA
VDD = 6.5V, IO = 1.0mA
VDD = 6.5V, VO = 6.5V
0.3
0.6
10
V
V
µA
3012-02.TBL
KEYBOARD MATRIX - Outputs DRV0N to DRV6N
STV3012
ELECTRICAL CHARACTERISTICS
Tamb = 25oC, unless otherwise specified
Symbol
Parameter
Test Conditions
Min.
Typ.
Max.
Unit
0.3 x VDD
V
V
-10
-100
-100
-600
µA
µA
10
100
100
600
µA
µA
1
mA
mA
mA
mA
mA
msec
CONTROL INPUT ADRM
VIL
VIH
IIL
IIH
Input Voltage Low
Input Voltage High
Input Current Low
Pull-up Act. Oper. Condition, VIN = VSS
VDD = 2V
(switched P and N
VDD = 6.5V
channel pull-up/pull down)
Input Current High
Pull-down Act. Stand-by Cond.,VIN = VDD
VDD = 2V
(switched P and N
VDD = 6.5V
channel pull-up/pull down)
0.7 x VDD
DATA OUTPUT REMO
- IOH
Output Current High
IOL
Output Current Low
tOH
Pulse Length
VDD = 2.5V, VOH = 0.8V, TA = 70oC
VDD = 2.5V, VOH = 0.8V, TA = 25oC
VDD = 6.5V, VOH = 5V
VDD = 2V, VOL = 0.4V
VDD = 6.5V, VOL = 0.4V
VDD = 6.5V, Oscill. Stopped
70
80
80
0.6
0.6
II
VOH
VOL
Input Current
Output Voltage high
Output Voltage Low
OSCI at VDD
VDD = 2V
VDD = 6.5V
5
VDD = 6.5V, - IOH = 0.1mA
VDD = 6.5V, IOL = 0.1mA
I - INPUTS AND OUTPUTS
I.1 - Key Matrix Inputs and Outputs (DRV0N to
DRV6N and SEN0N to SEN6N)
The transmitter keyboard is arranged as a scanned
matrix. The matrix consists of 7 driver ouputs and
7 sense inputs. The driver outputs DRV0N to
DRV6N are open drain N-channel transistors and
they are conductive in the stand-by mode. The 7
sense inputs (SEN0N to SEN6N) enable the generation of 56 command codes. With 2 external
diodes all 64 commands are addressable. The
sense inputs have P-channel pull-up transistors so
that they are HIGH until they are pulled LOW by
connecting them to an output via a key depression
to initiate a code transmission. The codes for the
selected key are given in Table 1.
I.2 - Address Mode Input (ADRM)
The sub-system address and the transmission
mode are defined by connecting the ADRM input
to one or more driver outputs (DRV0N to DRV6N)
of the key matrix. If more than one driver is connected to ADRM, they must be decoupled by diodes. This allows the definition of seven
sub-system addresses as shown in Table 2.
The ADRM input has switched pull-up and pulldown loads. In the stand-by mode only the pull-
5
7
VDD - 0.8
0.7
µA
µA
V
V
down device is active. Whether ADRM is open
(sub-system address 0) or connected to the driver
outputs, this input is LOW and will not cause unwanted dissipation. When the transmitter becomes
active by pressing a key, the pull-down device is
switched-off and the Pull-up device is switched-on,
so that the applied driver signals are sensed for the
decoding of the sub-system address and the mode
of transmission.
The arrangement of the sub-system address coding is such that only the driver DRVnN with the
highest number (n) defines the sub-system address, e.g. in mode B, if drivers DRV2N and DRV4N
are connected to ADRM, only DRV4N will define
the sub-system address. This option can be used
in systems requiring more than one sub-system
address. The transmitter may be hard-wire for subsystem address 2 by connecting DRV1N to ADRM.
If now DRV3N is added to ADRM by a key or a
switch, the transmitted sub-system address
changes to 4. A change of the sub-system will not
start a transmission.
I.3 - Remote Control Signal Output (REMO)
The REMO signal output stage is a push-pull type.
In the HIGH state, a bipolar emitter-follower allows
a high output current. The timing of the data output
format is listed in Figures 1 and 2.
3/8
3012-03.TBL
OSCILLATOR
STV3012
The toggle bits function as an indication for the
decoder that the next instruction has to be considered as a new command.
The information is defined by the first edge of the
modulated pulses. During mode A, the data word
starts with the four bits for defining the sub-system
address S3, S2, S1 and S0, followed by the toggle
bit T0, and seven bits G, F, E, D, C, B and A, which
are defined by the selected key. During mode B,
the data word starts with the Toggle bits T1 and T0,
followed by three bits for defining the sub-system
address S2, S1 and S0, and six bits F, E, D, C, B
and A which are defined by the selected key.
The REMO output is protected against "lock-up",
i.e. the length of an output pulse is limited to
< 1msec, even if the oscillator stops during an
output pulse. This avoids the rapid discharge of the
battery that would otherwise be caused by the
continuous activation of the LED.
Table 1 : Key Codes
DRV0N
DRV1N
DRV2N
DRV3N
DRV4N
DRV5N
DRV6N
VSS
DRV0N
DRV0N
DRV0N
DRV0N
DRV0N
DRV0N
DRV0N
to VSS
to VSS
to VSS
to VSS
to VSS
to VSS
to VSS
Matrix
Sense
SEN0N
SEN0N
SEN0N
SEN0N
SEN0N
SEN0N
SEN0N
SEN0N
SEN1N
SEN2N
SEN3N
SEN4N
SEN5N
SEN6N
SEN5N and SEN6N
G**
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
F
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
E
0
0
0
0
0
0
0
0
0
1
1
0
0
1
1
Code
D
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
C
0
0
0
0
1
1
1
1
B
0
0
1
1
0
0
1
1
*
*
*
*
*
*
*
Matrix
Position
A
0
1
0
1
0
1
0
1
0
1
2
3
4
5
6
7
8 to 15
16 to 23
24 to 31
32 to 39
40 to 47
48 to 55
56 to 63
3012-05.TBL
Matrix
Drive
* The C, B and A codes are identical to SEN0N as given above.
** Bit position G only available in mode A.
Table 2 : Transmission Mode and Sub-system Address Selection
M
O
D
E
A
M
O
D
E
B
#
0
1
2
3
4
5
6
0
1
2
3
4
5
6
Sub-system Address
S3
S2
S1
0
0
0
0
0
1
0
1
1
0
0
0
0
1
0
0
0
1
0
1
1
1
1
0
0
0
0
0
1
0
1
1
0
1
0
S0
0
0
0
1
1
1
1
1
0
1
0
1
0
1
0
1
X
X
X
X
X
O
X
X
X
X
O
O
X
X
X
X
X
O
X
X
X
X
Driver DRVnN for n =
2
3
4
X
X
X
O
O
X
X
X
X
X
O
O
X
X
X
O
O
X
5
6
O
O
O
O
O
O
O
O
O
O
= connected to ADRM
blank
= not connected to ADRM
X
= don’t care
The sub-system address and the transmission mode are defined by connecting the ADRM input to one or more driver outputs (DRV0N to
DRV6N) of the key matrix. If more than one driver is connected to ADRM, they must be decoupled by diodes.
4/8
3012-04.TBL
Mode
STV3012
Figure 1 :
Data Format of REMO ; T0 and T1 = toggle bits ; S0, S1, S2 and S3 = sub-system address ;
A, B, C, D, E, F and G = command bits
MODE A
tw
H
REMO
L
bit
S3
S2
S1
S0
T0
G
F
E
D
C
B
A
data
0
1
0
1
0
1
0
0
1
0
0
1
MODE B
S3
tw
H
L
bit
T0
T1
S2
S1
S0
F
E
D
C
B
A
data
0
1
0
1
0
1
0
0
1
0
0
Bit Separation (tB)
Logic "0"
Logic "1"
Toggle bit time
Mode A
1 x t0
2 x t0
1 x t0 or 2 x t0
3012-03.EPS
REMO
T0
Mode B
2 x t0
3 x t0
2 x t0 or 3 x t0
Figure 2 : Pulse Train Timing (ref. to fOSC = 400kHz)
t B (bit duration)
t PW
tM
t ML
1st bit
2nd bit
last bit
3012-04.EPS
t MH
t W (word distance)
Mode
A
B
t0 (ms)
2.52
2.88
tM (µs)
30
30
tMH (µs)
10
10
tML (µs)
20
20
tW (ms)
86.04
138
Mode A and B
tOSC
tM
tML
tMH
2.5µs
12 x tOSC
8 x tOSC
4 x tOSC
oscillation period
modulation period
modulation period LOW
modulation period HIGH
(15 x tM) + tMH
1008 x tOSC
34416 x tOSC
modulated pulse
basic unit of pulse distance
word distance
(11 x tM) + tMH
1152 x tOSC
55296 x tOSC
modulated pulse
basic unit of pulse distance
word distance
Mode A
tPW
t0
tW
Mode B
tPW
t0
tW
5/8
STV3012
I.4 - Oscillator Input and Output
The external components must be connected to
these pins when using an oscillator with a ceramic
resonator. The oscillator frequency may vary between 350kHz and 600kHz as defined by the resonator. No external feedback resistor is allowed.
II - FUNCTIONAL DESCRIPTION
Key operation (see Figure 3) :
In the stand-by mode all drivers (DRV0N to
DRV6N) are on (low impedance to VSS). Whenever
a key is pressed, one or more of the sense inputs
(SENnN) are tied to ground. This will start the
power-up sequence. First the oscillator is activated
and after the debounce time tDB the output drivers
(DRV0N to DRV6N) become active successively.
Within the first scan cycle, the transmission mode,
the applied sub-system address and the selected
command code are sensed and loaded into an
internal data latch.
In contrast to the command code, the sub-system
is sensed only within the first scan cycle. If the
applied sub-system address is changed while the
Command key is pressed, the transmitted sub-system address is not altered.
In a multiple key stroke sequence the command
code is always altered in accordance with the
sensed key.
III - OUTPUT SEQUENCE (DATA FORMAT)
The output operation will start when the selected
Figure 3 :
code is found. A burst of pulses, including the
latched address and command codes, is generated
at the output REMO as long as a key is pressed.
The operation is terminated by releasing the key or
if more than one key is pressed at the same time.
Once a sequence is started, the transmitted data
words will always be completed after the key is
released.
The toggle bits T1 and T0, during mode A only T0,
toggle if the key is released for a minimum time
tREL. The toggle bits remain unchanged within a
multiple key-stroke sequence.
IV - MULTIPLE KEY-STROKE PROTECTION
The keyboard is protected against multiple keystrokes (Figure 4). If more than one key is pressed
at the same time, the circuit will not generate a new
output at REMO. In case of a multiple key-stroke,
the scan repetition rate is increased to detect the
release of a key as soon as possible.
There are two restrictions caused by the special
structure of the keyboard matrix : the keys switching to ground (code numbers 7, 15, 23, 31, 39, 47,
55 and 63) and the keys connected to SEN5N and
SEN6N are not covered completely by the multiple
key protection. If one sense input is switched to
ground, further keys on the same sense line are
ignored, i.e. the command code corresponding to
"key to ground" is transmitted. SEN5N and SEN6N
are not protected against multiple keystroke on the
same driver line, because this condition has been
used for the definition of additional codes (code
number 56 to 63).
Single Key-stroke Sequence. Debounce time : tDB = 4 to 9 x t0,
Start time : tST = 5 to 10 x t0, Minimum release time : tREL = t0.
key bouncing
REV
t REL
closed
released
new key
scan
DRVnN
off
on
t DB
scan
tW
REMO
scan
new word
H
L
OSCO
6/8
H
L
OSCILLATOR ACTIVE
3012-05.EPS
t ST
STV3012
Figure 4 : Multiple Key-stroke Sequence. Scan rate multiple key-stroke : tSM = 8 to 10 x t0.
key bouncing
key A decoded as HIGH
closed
KEY A
released
KEY B
key A decoded as LOW
closed
released
scan
scan
scan
off
DRVnN
on
t DB
REMO
t SM
tW
t DB
t ST
H
L
OSCO
word key A
word key B
word key A
H
3012-06.EPS
t ST
OSCILLATOR ACTIVE
L
SEN1N
SEN2N
14
15
16
17
DRV6N
DRV5N
DRV4N
DRV3N
DRV1N
DRV0N
13
SEN0N
DRV2N
TYPICAL APPLICATION
18
19
V DD
20
8
7
REMO
6
1
SEN3N
STV3012
5
SEN4N
4
SEN5N
3
ADRM
2
9
11
10
V SS
OSCI
12
OSCO
3012-07.EPS
SEN6N
7/8
STV3012
I
b1
L
a1
PACKAGE MECHANICAL DATA
20 PINS - PLASTIC DIP
B
b
Z
e
E
Z
e3
D
11
1
10
a1
B
b
b1
D
E
e
e3
F
i
L
Z
Min.
0.254
1.39
Millimeters
Typ.
Max.
1.65
Min.
0.010
0.055
0.45
0.25
Inches
Typ.
Max.
0.065
0.018
0.010
25.4
8.5
2.54
22.86
1.000
0.335
0.100
0.900
7.1
3.93
3.3
0.280
0.155
0.130
1.34
0.053
Information furnished is believed to be accurate and reliable. However, SGS-THOMSON Microelectronics assumes no responsibility
for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result
from its use. No licence is granted by implication or otherwise under any patent or patent rights of SGS-THOMSON Microelectronics.
Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all
information previously supplied. SGS-THOMSON Microelectronics products are not authorized for use as critical components in life
support devices or systems without express written approval of SGS-THOMSON Microelectronics.
© 1994 SGS-THOMSON Microelectronics - All Rights Reserved
Purchase of I2C Components of SGS-THOMSON Microelectronics, conveys a license under the Philips
I2C Patent. Rights to use these components in a I2C system, is granted provided that the system conforms to
the I2C Standard Specifications as defined by Philips.
SGS-THOMSON Microelectronics GROUP OF COMPANIES
Australia - Brazil - China - France - Germany - Hong Kong - Italy - Japan - Korea - Malaysia - Malta - Morocco
The Netherlands - Singapore - Spain - Sweden - Switzerland - Taiwan - Thailand - United Kingdom - U.S.A.
8/8
DIP20.TBL
Dimensions
PM-DIP20.EPS
F
20