The µPD6121, 6122 are infrared remote control transmission ICs using the NEC transmission format that are ideally
suited for TVs, VCRs, audio equipment, air conditioners, etc. By combining external diodes and resistors, a maximum
of 65,536 custom codes can be specified. These ICs come in small packages, thus facilitating the design of light
and compact remote control transmitters.
The NEC transmission format consists of leader codes, custom codes (16 bits), and data codes (16 bits). It can
be used for various systems through decoding by a microcontroller.
FEATURES
• Low-voltage operation: VDD = 2.0 to 3.3 V
• Low current dissipation: 1 µA Max. (at standby)
• Custom codes: 65,536 (set by external diodes and resistors)
• Data codes:
• µPD6121: 32 codes (single input), 3 codes (double input), expandable up to 64 codes through SEL pin
• µPD6122: 64 codes (single input), 3 codes (double input), expandable up to 128 codes through SEL pin
• µPD6121, 6122 are transmission code-compatible (NEC transmission format) with the µPD1913C
Note
6102G
• Pin compatibility:
• µPD6121G-001 is pin-compatible with the µPD1943G (However, capacitance of capacitor connected to
oscillator pin and other parameters vary)
• µPD6122G-001 is pin-compatible with the µPD6102G (However, capacitance of capacitor connected to
oscillator pin and other parameters vary)
• Standard products (Ver. I, Ver. II specifications)
, and 6120C
Note
.
Note
, 1943G
Note
*
*
,
*
Note Provided for maintenance purpose only
• When using this product (in NEC transmission format), please order custom codes from NEC.
• New custom codes for the
The information in this document is subject to change without notice.
Document No. U10114EJ6V0DS00 (6th edition)
(Previous No. IC-1813)
Date Published October 1995 P)
Printed in Japan
Operating voltageVDD = 2.0 to 3.3 V
Current consumption1 µA MAX.
(at standby)
Custom codes 65,536 (16-bit setting)
Data codes32 x 264 x 2
No. of KI pins48
No. of KI/O pins8
SEL pinProvided
Transmission formatNEC transmission format
Package20-pin plastic SOP (375 mil)24-pin plastic SOP (375 mil)
µPD6121µPD6122
3
µ
PD6121, 6122
1. PIN FUNCTIONS
(1) Key input pins (KI0 to KI7), key input/output pins (KI/O0 to KI/O7)
A pull-down resistor is placed between key input pins and a VSS pin. When several keys are pressed
simultaneously, the transmission of the corresponding signals is inhibited by a multiple-input prevention circuit.
In the case of double-key input, transmission is inhibited if both keys are pressed simultaneously (within 36 ms
interval); if not pressed simultaneously, the priority of transmission is first key, then second key.
When a key is pressed, the custom code and data code reading is initiated, and 36 ms later, output to REM output
is initiated. Thus if the key is pressed during the initial 36 ms, one transmission is performed. If a key is kept
pressed for 108 ms or longer, only leader codes are consecutively transmitted until the key is released.
Keys can be operated intermittently at intervals as short as 126 ms (interval between two on’s), making this an
extremely fast-response system.
(2) Resonator connection pins (OSCI, OSCO)
The oscillator starts operating when it receives a key input. Use a ceramic resonator with a frequency between
400 and 500 kHz.
(3) Power-supply pin
The power supply voltage is supplied by two 3-V batteries. A broad range of operating power supply voltage is
allowed, from 2.0 to 3.3 V. The supply current falls below 1 µA when the oscillator is inactive when no keys are
pressed.
(4) REM output pin
The REM output pin outputs the transmission code, which consists of the leader code, custom code (16 bits),
and data code (16 bits) (Refer to 2. NEC TRANSMISSION FORMAT (REM OUTPUT)).
(5) SEL input pin
By controlling D
data codes, respectively. By connecting the SEL pin to VDD or VSS, D7 is set to “0” or “1”, respectively.
This pin has high-impedance input, therefore be sure to connect it either to V
(6) CCS input pin
By placing a diode between the CCS pin and the KI/O pin, it is possible to set a custom code. When a diode
is connected, the corresponding custom code is “1”, and when not connected, it is “0”.
(7) LMP output pin
The LMP pin outputs a low-level signal while the REM pin outputs a transmission code.
7 of the data code with this pin, the µPD6121 and µPD6122 can transmit 64 and 128 different
DD or VSS.
4
µ
PD6121, 6122
2. NEC TRANSMISSION FORMAT (REM OUTPUT)
The NEC transmission format consists of the transmission of a leader code, 16-bit custom codes (Custom
Code, Custom Code’), and 16-bit data codes (Data Code, Data Code) at one time, as shown in Figure 2-1.
Also refer to 4. REMOTE OUTPUT WAVEFORM.
Data Code is the inverted code of Data Code.
The leader code consists of a 9-ms carrier waveform and a 4.5-ms OFF waveform and is used as leader for
the ensuing code to facilitate reception detection.
Codes use the PPM (Pulse Position Modulation) method, and the signals “1” and “0” are fixed by the interval
Cautions 1. Use any of the possible 256 kinds of custom codes specified with 00xxH (diode not
connected), as desired. If intending to use custom codes other than 00xxH, please consult
NEC in order to avoid various types of errors from occurring between systems.
2. When receiving data in the NEC transmission format, check that the 32 bits made up of the
16-bit custom code (Custom Code, Custom Code’) and the 16-bit data code (Data Code, Data
Code) are fully decoded, and that there are no signals with the 33rd bit and after (be sure
to check also Data Code).
The custom code is set in two different ways depending on whether Ver I or Ver II specifications are employed.
Figure 3-1. Custom Code Setting
µ
PD6121, 6122
Higher 8 bits of custom code
Ver I
Ver II
Remark The µPD6121-001 has Ver I specifications and is pin-compatible with the µPD1943G, and the µPD6122-
A custom code setting example is shown below.
Fixed by external diode bit
C0, C1, C2 ... Fixed by connecting CCS pin and either one of
pins KI/O0 to KI/O7
C3 to C7 ... Fixed by absence or presence of external pull-up
resistor for KI/O6, KI/O7
001 has Ver I specifications and is pin-compatible with the µPD6102G.
If used as pin-compatible products, please note the following points.
1 Connect the SEL pin to V
2 Change the capacitance of the capacitor connected to the resonator connection pin (Refer to
9. ELECTRICAL SPECIFICATIONS).
DD.
3.1Standard versions with Ver I specs. (µPD6121-001, µPD6122-001)
*
Each of the higher 8 bits of the custom code is set to “1” when a diode is connected between the CCS pin and
the corresponding KI/O pin, and is set to “0” when no diode is connected. If a pull-up resistor is connected to
the KI/O pin corresponding to one of the lower 8 bits of the custom code’, the bit is first set to “1”. Based on the
1’s information of the lower 8 bits of the custom code’, the corresponding bit of the higher 8 bits of the custom
code is then captured and not inverted. The non-inverted value is finally overwritten to the corresponding bit of
the lower 8 bits of the custom code’. The inverse occurs when no pull-up resistor is connected.
It follows from the above that the custom code can be set in 65,536 different ways depending on whether or not
a diode and/or pull-up resistor are present.
Please refer to Figure 3-2 Example of Custom Code Setting for Ver I Specifications (
001).
Lower 8 bits of custom code’
Fixed by external pull-up resistor bit
Fixed by external pull-up resistor (KI/O0 to
KI/O5) bit
µPD6121-001, 6122-
Figure 3-2. Example of Custom Code Setting for Ver I Specifications (
Configuration example
6
CCS
µPD6121-001, 6122-001)
KI/O
0
KI/O1KI/O2KI/O3KI/O4KI/O5KI/O6KI/O
V
V
DD
DD
7
µ
PD6121, 6122
The higher 8 bits of the custom code are determined by the diode connected to the CCS pin and KI/O pin.
Set custom code
Higher 8 bits of custom code
10001010
C
0C1C2C3C4C5C6C7
Set to “1” by diode
The inversion/non-inversion of the lower 8 bits of the custom code’ is determined by the pull-up resistor
connected to the KI/O pin.
Set custom code
Lower 8 bits of custom code’
10001000
0
to C
’
’
0
to C7
7
C
0’C1’C2’C3’C4’C5’C6C7
Set to “1” by pull-up resistor,
that is, bit for non-inversion of custom code is set
1: Non-inversion for C
0: Inversion for C
When the above-described setting is done, the following custom code is output.
Custom code
Higher 8 bits of custom code
0
1
0
0
1
0
1
0
C
1
2
3
4
5
C
C
C
C
6
C
C
Lower 8 bits of custom code’
1111101
1
0
0
’
7
C
C1’C2’C3’C4’C5’C6’C7’
C
C0 C1 C2 C3 C4 C5 C6 C7
Remark Codes are transmitted from the LSB.
7
3.2Standard versions with Ver II specs. (µPD6121-002, 6122-002)
*
In Ver II, the CCS pin does not have the external diode reading function.
The allocation of C
2, C1 and C0 of the higher 8 bits of the custom code is done by connecting the CCS pin
to any one of the KI/O0 to KI/O7 pins, as shown below.
µ
PD6121, 6122
Pin connected to CCS pin
KI/O0
KI/O1
KI/O2
KI/O3
KI/O4
KI/O5
KI/O6
KI/O7
When CCS pin is open, (C
*
The allocation of C
whether a pull-up resistor is provided.
7, C6, C5, C4 and C3 of the higher 8 bits of the custom code is as follows depending on
Pull-up ResistorC7 to C3 of Higher 8 bits of Custom Code
KI/O6KI/O7C7C6C5C4C3
Not ProvidedNot Provided00000
Not ProvidedProvided10011
ProvidedNot Provided10000
C2
C1
C0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
2 C1 C0) = (0 0 0)
ProvidedProvided11101
CautionIn Ver II, it is not possible to set all custom codes.
Also, new custom codes cannot be ordered for Ver II products; therefore, Ver I products should
be used if new custom codes are required.
8
µ
PD6121, 6122
Figure 3-3. Example of Custom Code Setting for Ver II Specifications (µPD6121-002, 6122-002)
Configuration Example
CCS
0
KI/O
V
DD
KI/O1KI/O2KI/O3KI/O4KI/O5KI/O6KI/O
V
DD
7
V
V
DD
DD
ROM3 selector
Connection of any one line
2, C1 and C0 of the higher 8 bits of the custom code are fixed by connecting the CCS pin to KI/O0 to KI/
C
: Connected: Not connected
O7. Therefore, in the configuration example, they become 1 0 0 .
C
0 C1 C2
C7, C6, C5, C4 and C3 of the higher 8 bits of the custom code are selected and fixed by the pull-up resistor
connected to KI/O
6 and KI/O7 in four channels.
C
7
C
6
C
5
C
4
C
1
0
1
1
0
0
0
1
1
1
1
1
0
1
1
1
1
1
1
1
3
Pull-up resistor
KI/O
6
Disconnected
Disconnected
Connected
Connected
KI/O
7
Disconnected
Connected
Disconnected
Connected
In this configuration example, C3 to C7 of the higher 8 bits of the custom code become 1 1 0 1 1 .
C3 C4 C5 C6 C7
The inversion/non-inversion of the lower 8 bits of the custom code’ is fixed by the bit of the external pullup resistor of KI/O0 to KI/O5.
*
*
CautionC
External setting (Refer to Configuration Example)
Bit for non-inversion of custom code is set
6’ and C7’ are fixed to 0.
Lower 8 bits of custom code’
101000
0’C1’C2’C3’C4’C5
C
00
C
6
’
Pull-up resistor bit
0
, KI/O2)
(KI/O
0
1: Non-inversion for C
0: Inversion for C0 to C
to C
7
’
7
’
C
7
9
Loading...
+ 19 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.