upd6p9 Renesas Electronics Corporation., upd6p9 Datasheet
upd6p9
Available stocks
Related parts for upd6p9
upd6p9 Summary of contents
Page 1
SINGLE-CHIP MICROCONTROLLER FOR INFRARED REMOTE CONTROL TRANSMISSION DESCRIPTION The µ PD6P9 is a microcontroller for infrared remote control transmitters and is provided with a one-time PROM as the program memory. Because users can write programs for the µ PD6P9, ...
Page 2
ORDERING INFORMATION Part Number µ PD6P9M1MC-5A4 20-pin plastic SSOP (7.62 mm (300)) µ PD6P9M3MC-5A4 20-pin plastic SSOP (7.62 mm (300)) µ PD6P9M1MC-5A4-A 20-pin plastic SSOP (7.62 mm (300)) µ PD6P9M3MC-5A4-A 20-pin plastic SSOP (7.62 mm (300)) Remark Products that have ...
Page 3
BLOCK DIAGRAM Carrier REM generator 9-bit S /LED 1 timer LIST OF FUNCTIONS Item 4074 × 10 bits ROM capacity One-time PROM 128 × 4 bits RAM capacity Stack 1 level (shared with RF of RAM) I/O pins Key input ...
Page 4
PIN FUNCTIONS ......................................................................................................................... 1.1 Normal Operation Mode .................................................................................................................... 1.2 PROM Programming Mode ............................................................................................................... 1.3 Pins I/O Circuits ................................................................................................................................. 1.4 Recommended Connection of Unused Pins ................................................................................... 1.5 Notes on Using K Pin After Reset ................................................................................................... I 2. DIFFERENCES BETWEEN µ ...
Page 5
RECOMMENDED SOLDERING CONDITIONS .......................................................................... 37 APPENDIX A. DEVELOPMENT TOOLS ......................................................................................... 38 APPENDIX B. EXAMPLE OF REMOTE CONTROL TRANSMISSION FORMAT (In the case of NEC transmission format in command one-shot transmission mode) ........ 39 Data Sheet U15144EJ1V1DS µ PD6P9 5 ...
Page 6
PIN FUNCTIONS 1.1 Normal Operation Mode Pin No. Symbol 8-bit I/O port. I/O mode can be switched in 8-bit units. I/O0 I/O7 In input mode, a pull-down resistor is added output mode, these ...
Page 7
PROM Programming Mode Pin No. Symbol 8-bit data I/O when writing/verifying program memory CLK Clock input for updating address when writing/verifying program memory 6 V Power Supply DD ...
Page 8
Pins I/O Circuits The I/O circuits of the µ PD6P9 pins are shown in partially simplified forms below. ( I/O0 I/O7 Output Data latch Output disable Input buffer Note The drive capability is held low. (2) ...
Page 9
Recommended Connection of Unused Pins The following connections are recommended for unused pins in the normal operation mode. Table 1-1. Connections for Unused Pins Pin K Input mode I/O Output mode REM S /LED ...
Page 10
DIFFERENCES BETWEEN µ PD67, 67A, 68, 68A, 69, 69A, AND µ PD6P9 Table 2-1 shows the differences between the µ PD67, 67A, 68, 68A, 69, 69A, and µ PD6P9. The only differences between these models are the program memory, ...
Page 11
INTERNAL CPU FUNCTIONS 3.1 Program Counter (PC): 12 Bits The program counter (PC binary counter that holds the address information of the program memory. Figure 3-1. Program Counter Configuration PC PC11 PC10 PC9 The PC contains the ...
Page 12
Program Memory (One-Time PROM): 4,074 Steps × 10 Bits The one-time PROM consists of 10 bits per step, and is addressed by the program counter. The program memory stores programs and table data, etc. The 22 steps from FEAH ...
Page 13
Data Memory (RAM): 128 × 4 Bits The data memory, which is a static RAM consisting of 32 × 4 bits × 4 pages, is used to retain processed data. The data memory is sometimes processed in 8-bit units. ...
Page 14
Data Pointer (DP): 12 Bits The ROM data table can be referenced by setting the ROM address in the data pointer to call the ROM contents. The lower 8 bits of the ROM address are specified ...
Page 15
Flags 3.9.1 Status flag (F) Pin and timer statuses can be checked by executing the STTS instruction to check the status flag. The status flag is set ( the following cases. • If the condition specified with ...
Page 16
TIMER 4.1 Timer Configuration The timer is the block used for creating a remote control transmission pattern. As shown in Figure 4-1, it consists of a 9-bit down counter ( flag ( ...
Page 17
Timer Operation The timer starts (counting down) when a value other than 0 is set for the down counter with a timer manipulation instruction. The timer manipulation instructions for making the timer start operation are shown below: MOV T0, ...
Page 18
By setting the flag (t ) that enables the timer output to 1, the timer can output its operation status from the S 9 LED pin and the REM pin. The REM pin can also output the carrier while the ...
Page 19
Carrier Output 4.3.1 Carrier output generator The carrier generator consists of a 9-bit counter and two modulo registers for setting the high- and low-level periods (MOD1 and MOD0 respectively). Figure 4-3. Configuration of Remote Controller Carrier Generator M11 t ...
Page 20
Carrier output control Remote controller carrier can be output from the REM pin by clearing (0) bit 9 (CARY) of the modulo register for setting the high-level period (MOD1). When performing carrier output, be sure to set the timer ...
Page 21
Output from the REM pin is as follows, in accordance with the values set to bit 9 (CARY) of MOD1 and the timer output enable flag (t ), and the value of the timer block’s 9-bit down counter (t 9 ...
Page 22
Software Control of Timer Output The timer output can be controlled by software. As shown in Figure 4-5, a pulse with a minimum width of one instruction cycle 64/f can be output. X Figure 4-5. Output of Pulse of ...
Page 23
WRITING AND VERIFYING ONE-TIME PROM (PROGRAM MEMORY) The program memory of the µ PD6P9 is a one-time PROM of 4074 × 10 bits. To write or verify this one-time PROM, the pins shown in Table 5-1 are used. Note ...
Page 24
Program Memory Writing Procedure The program memory is written at high speed by the following procedure. (1) Pull down the pins not used to GND via a resistor. Keep the CLK pin low. (2) Supply the ...
Page 25
Program Memory Reading Procedure (1) Pull down the pins not used to GND via a resistor. Keep the CLK pin low. (2) Supply the V pin. Keep the V DD pin after waiting for 10 µ ...
Page 26
ELECTRICAL SPECIFICATIONS Absolute Maximum Ratings (T = +25 A Parameter Symbol Power supply voltage Input voltage I/O Output voltage V O Note Output current, high I REM OH LED Per K Total ...
Page 27
DC Characteristics (T = –40 to +85 A Item Symbol Input voltage, high V K IH1 I IH2 I Input voltage, low V K IL1 I IL2 I Input leakage current, ...
Page 28
AC Characteristics (T = –40 to +85 A Parameter Symbol µ PD6P9M1 Instruction execution time t CY µ PD6P9M3 high-level width When releasing standby mode In HALT mode RESET ...
Page 29
PROM Programming Mode DC programming characteristics (T A Parameter Symbol Input voltage, high V IH1 V IH2 Input voltage, low V IL1 V IL2 Input leakage current I LI Output voltage, high V OH Output voltage, low ...
Page 30
AC programming characteristics (T A Parameter ↓) Note 1 Address setup time ( ↓) MD setup time ( ↓) Data setup time ( ↑) Note 1 Address hold time (from MD 0 ↑) ...
Page 31
Program Memory Write Timing t WAIT t VPS t RES GND t VDS GND CLK Hi Data input ...
Page 32
CHARACTERISTIC CURVES (REFERENCE VALUES) ( µ PD6P9M1 MHz 25° 1.8 1.6 1.4 Operation mode 1.2 HALT mode 1.0 0.8 0.6 0.4 0 ...
Page 33
APPLICATION CIRCUIT EXAMPLE Example of Application to System • Remote-control transmitter (48 keys accommodated, mode selection switch accommodated) K I/ /LED 1 REM OUT X IN GND Note S 2 ...
Page 34
Remote-control transmitter (56 keys accommodated) K I/ /LED 1 REM OUT X IN GND Note S 2 Note S : Set to STOP mode release enabled I/O5 ...
Page 35
Remote-control transmitter (56 keys accommodated, mode selection switch accommodated) Data can be read from the I/O0 I/O7 to these pins (which then become high level when the switch is on and low level when off). Set ...
Page 36
PACKAGE DRAWING 20-PIN PLASTIC SSOP (7.62 mm (300 NOTE Each lead centerline is located within 0. its true position (T.P.) at maximum material condition detail of lead ...
Page 37
RECOMMENDED SOLDERING CONDITIONS The µ PD6P9 must be soldered and mounted under the following recommended conditions. For soldering methods and conditions other than those recommended below, contact an NEC Electronics sales representative. For technical information, see the following website. ...
Page 38
APPENDIX A. DEVELOPMENT TOOLS A PROM programmer, program adapter, and an emulator are provided for the µ PD6P9. Hardware • PROM programmer (AF-9706 Note These PROM programmers support the µ PD6P9. By connecting a program adapter to this PROM programmer, ...
Page 39
APPENDIX B. EXAMPLE OF REMOTE CONTROL TRANSMISSION FORMAT (In the case of NEC transmission format in command one-shot transmission mode) Caution When using the NEC transmission format, please apply for a custom code at NEC Electronics. (1) REM output waveform ...
Page 40
Carrier waveform (enlarged waveform of each code’s high period) REM output µ 8.77 s (6) Bit array of each code Leader code Custom code Caution To prevent ...
Page 41
NOTES FOR CMOS DEVICES 1 VOLTAGE APPLICATION WAVEFORM AT INPUT PIN Waveform distortion due to input noise or a reflected wave may cause malfunction. If the input of the CMOS device stays in the area between V malfunction. Take care ...
Page 42
Regional Information Some information contained in this document may vary from country to country. Before using any NEC Electronics product in your application, pIease contact the NEC Electronics office in your country to obtain a list of authorized representatives and ...
Page 43
MS-DOS is either a registered trademark or a trademark of Microsoft Corporation in the United States and/ or other countries. PC/AT and PC DOS are trademarks of International Business Machines Corporation. These commodities, technology or software, must be exported in ...