INTEGRATED CIRCUITS DATA SHEET PCA84C922; PCA84C923 Microcontrollers for universal infrared remote transmitter applications Product specification Supersedes data of 1995 Jun 30 File under Integrated Circuits, IC14 1997 Oct 22 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications CONTENTS 1 FEATURES 2 GENERAL DESCRIPTION 3 ORDERING INFORMATION 4 BLOCK DIAGRAMS 5 PINNING INFORMATION 5.1 5.2 Pinning Pin description 6 GENERAL OPERATION DESCRIPTION 6.1 6.2 6.3 System selection Key scanning Accessing command code 7 HARDWARE MODULATOR 7.1 7.2 7.3 7.4 7.5 7.6 ON-time Register OFF-time Register Pulse Timer Pulse Counter Hardware Modulator Control Register (HMCTL) Operation of the Hardware Modulator 8 CODING TABLE 8.1 Accessing the Coding Table 9 WATCHDOG TIMER (WDT) 10 PORT OPTIONS 11 INTERRUPTS 11.1 11.2 11.3 External keypad wake-up and T0/INT pin interrupt Hardware Modulator interrupt Internal Timer/counter (T1) interrupt 12 DERIVATIVE REGISTERS 13 EMULATION 14 LIMITING VALUES 15 DC CHARACTERISTICS 16 AC CHARACTERISTICS 17 PACKAGE OUTLINES 18 SOLDERING 18.1 18.2 18.3 Introduction SDIP SO and VSO 19 DEFINITIONS 20 LIFE SUPPORT APPLICATIONS 1997 Oct 22 2 PCA84C922; PCA84C923 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications 1 PCA84C922; PCA84C923 FEATURES 2 • 84CXXX CPU The PCA84C922A, PCA84C922C, PCA84C923A, PCA84C923C and PCA84C923D are members of the PCF84CXXXA CMOS family of microcontrollers and have been designed for use in universal infrared remote commander applications. The term PCA84C92X is used throughout this data sheet to refer to all devices in the range, differences between devices are shown in Table 1 and also highlighted in the text. In addition to the common functions of the PCF84CXXXA family of microcontrollers the PCA84C92X also provides: • ROM, RAM, I/O and keypad configurations are device dependent; see Table 1 • Two test inputs: T0 and T1 • 3 single-level vectored interrupt sources: – external (T0/INT and Port 1, for keypad press Wake-up function) – Timer/counter (TI) – Hardware Modulator interrupt • a Hardware Modulator that generates programmable pulse trains for driving an infrared LED • 8-bit programmable timer/counter with 5-bit prescaler • Power saving Idle and Stop modes • an on-chip Coding Table specifically for the storage of code data • Low power operation: 2 V • a modified interrupt architecture that will wake-up the CPU from the Idle or Stop modes when any key is pressed • Hardware Modulator • Watchdog timer • On-chip oscillator: 1 to 6 MHz • a Watchdog Timer to prevent CPU lock-up. • Single supply voltage: 2.0 to 5.5 V The PCA84C923D has been designed as the emulation chip for both the PCA84C92X and the PCA84CX22 range of microcontrollers (both ranges being pin compatible). • Operating temperature: −20 to +70 °C • Available packages: SO24, SO28, VSO56 and SDIP24. Table 1 GENERAL DESCRIPTION The PCA84C92X range of microcontrollers FUNCTION PCA84C923D PCA84C923C PCA84C923A PCA84C922C PCA84C922A System ROM 8 kbytes 8 kbytes 8 kbytes 8 kbytes 8 kbytes System RAM 256 bytes 256 bytes 256 bytes 128 bytes 128 bytes Coding Table ROM 16 kbytes 16 kbytes 16 kbytes 8 kbytes 8 kbytes Coding Table extension up to 64 kbytes no no no no Maximum number of keys 189 117 81 117 81 I/O 36 20 16 20 16 Emulation device PCA84C923D PCA84C923D PCA84C923D PCA84C923D PCA84C923D Package VSO56 SO28 SO28 3 SO24 and SDIP24 SO24 and SDIP24 ORDERING INFORMATION PACKAGE TYPE NUMBER NAME PCA84C922AP SDIP24 plastic shrink dual in-line package; 24 leads (400 mil) SOT234-1 PCA84C922AT SO24 plastic small outline package; 24 leads; body width 7.5 mm SOT137-1 PCA84C922CT SO28 plastic small outline package; 28 leads; body width 7.5 mm SOT136-1 PCA84C923AP SDIP24 plastic shrink dual in-line package; 24 leads (400 mil) SOT234-1 PCA84C923AT SO24 plastic small outline package; 24 leads; body width 7.5 mm SOT137-1 PCA84C923CT SO28 plastic small outline package; 28 leads; body width 7.5 mm SOT136-1 PCA84C923DT VSO56 plastic very small outline package; 56 leads SOT190-1 1997 Oct 22 DESCRIPTION 3 VERSION 1997 Oct 22 4 DPORT 5 LATCH ROM 16 kbytes CODING TABLE OE P07 to P00 PORT 0 P17 P15 P13 P11 P16 P14 P12 P10 T0/INT INTO T0/INT metal option DAO to DA7 DXALE, DXWR, DXRD Fig.1 Block diagram - PCA84C923D. address (LSB) DP65 to DP60 84CXX CORE RAM 256 bytes VDD HARDWARE MODULATOR MBE347 OUTPUT DRIVER ILOUT HMINT LOUT XTAL2 XTAL1 Microcontrollers for universal infrared remote transmitter applications VSS address (MSB) CODING TABLE CONTROL RDD5 DP67 to DP65 DPORT 6 LATCH ROM 8 kbytes handbook, full pagewidth DP57 to DP50 EMU P23 to P20 DP67 to DP60 RESET T1 WATCHDOG TIMER 30 OSCILLATOR 4 RSTO VDD Philips Semiconductors Product specification PCA84C922; PCA84C923 BLOCK DIAGRAMS 1997 Oct 22 VSS P23 to P20 RESET T1 EMU 5 address (MSB) address (LSB) P07 to P00 PORT 0 84CXX CORE RAM 128/256 bytes P17 P15 P13 P11 P16 P14 P12 P10 T0/INT T0/INT metal option DAO to DA7 DXALE, DXWR, DXRD Fig.2 Block diagram - PCA84C922C and PCA84C923C. ROM 8/16 kbytes CODING TABLE DP65 to DP60 ROM 8 kbytes VDD HARDWARE MODULATOR OSCILLATOR MBE413 OUTPUT DRIVER ILOUT HMINT LOUT XTAL2 XTAL1 Microcontrollers for universal infrared remote transmitter applications OE CODING TABLE CONTROL RDD5 DP67 to DP65 DPORT 6 LATCH WATCHDOG TIMER 30 handbook, full pagewidth VDD Philips Semiconductors Product specification PCA84C922; PCA84C923 1997 Oct 22 VSS RESET T1 EMU 6 address (MSB) address (LSB) T0/INT T0/INT metal option DAO to DA7 DXALE, DXWR, DXRD P17 P15 P13 P11 P07 to P00 P16 P14 P12 P10 PORT 0 84CXX CORE RAM 128/256 bytes Fig.3 Block diagram - PCA84C922A and PCA84C923A. ROM 8/16 kbytes CODING TABLE DP65 to DP60 ROM 8 kbytes VDD HARDWARE MODULATOR OSCILLATOR MBE414 OUTPUT DRIVER ILOUT HMINT LOUT XTAL2 XTAL1 Microcontrollers for universal infrared remote transmitter applications OE CODING TABLE CONTROL RDD5 DPORT 6 LATCH WATCHDOG TIMER 30 handbook, full pagewidth VDD Philips Semiconductors Product specification PCA84C922; PCA84C923 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications 5 5.1 PCA84C922; PCA84C923 PINNING INFORMATION handbook, halfpage Pinning P22 1 28 P23 P14 2 27 P15 P01 3 26 P02 P00 4 25 P03 T0/INT 5 24 LOUT T1 6 23 V SS RESET 7 V DD 8 XTAL2 9 20 P12 XTAL1 10 19 P13 P04 11 18 P07 P05 12 17 P06 P16 13 16 P17 P20 14 15 P21 handbook, halfpage RSTO 1 56 P23 V SS 2 55 P15 P22 3 54 DP67 P14 4 53 EMU DP57 5 52 P02 P01 6 51 P03 P00 7 50 n.c. n.c. 8 49 n.c. DP56 9 48 n.c. PCA84C922C PCA84C923C 22 P10 21 P11 47 LOUT T0/INT 10 46 VSS T1 11 MBE342 45 DP66 DP55 12 Fig.5 44 P10 RESET 13 Pin configuration of PCA84C922C (SO28) and PCA84C923C (SO28). 43 DP65 DP54 14 PCA84C923D DP53 15 42 DP64 V DD 16 41 P11 handbook, halfpage 40 DP63 DP52 17 XTAL2 18 39 P12 XTAL1 19 38 P13 n.c. 20 37 n.c. n.c. 21 36 n.c. P04 22 35 P07 DP51 23 34 P06 33 DP62 P05 24 32 P17 DP50 25 P16 26 31 DP61 P20 27 30 INTO 29 P21 DP60 28 1 24 P15 P01 2 23 P02 P00 3 22 P03 T0/INT 4 21 LOUT T1 5 20 V SS RESET 6 V DD 7 XTAL2 8 17 P12 XTAL1 9 16 P13 P04 10 15 P07 P05 11 14 P06 P16 12 13 P17 PCA84C922A PCA84C923A 19 P10 18 P11 MBE341 MBE343 Fig.6 Fig.4 Pin configuration of PCA84C923D (VSO56). 1997 Oct 22 P14 7 Pin configuration of PCA84C922A (SO24/SDIP24) and PCA84C923A (SO24/SDIP24). Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications 5.2 PCA84C922; PCA84C923 Pin description Table 2 PCA84C923D (VS056) SYMBOL PIN DESCRIPTION P00 to P07 7, 6, 52, 51, 22, 24, 34 and 35 Standard I/O Port lines, generally used for keypad scanning or for LSB address lines of coding table. P10 44 Port line 10 or emulation DXWR signal input. P11 41 Port line 11 or emulation DXRD signal input. P12 39 Port line 12 or emulation DXALE signal input. P13 38 Port line 13 or emulation EXDI signal input. P14 to P17 4, 55, 26 and 32 Standard I/O port lines, generally used for keypad sensing, the wake-up function can be removed by mask option. P20 to P23 27, 29, 3 and 56 Standard I/O port lines with 10 mA sink capability. DP50 to DP57 25, 23, 17, 15, 14, 12, 9 and 5 Standard I/O port lines, generally used for the data bus of Coding Table. DP60 to DP67 28, 31, 33, 40, 42, 43, 45 and 54 Standard I/O Port lines, generally used for keypad scanning or for MSB address lines of Coding Table. RSTO 1 Used for emulation purposes only. This output is the result of the OR operation carried out internally on the RESET input and the Watchdog Timer reset and is connected to the RESET pin of the 84C00. T0/INT 10 Test pin T0 or external interrupt input. T1 11 Test pin T1 or timer/counter input (T1). RESET 13 Active HIGH reset pin; normally connected to VSS as Power-on-reset serves the same function. XTAL2 18 Crystal or ceramic resonator or LC oscillator connections. XTAL1 19 INTO 30 Used for emulation purposes only and is connected to the T0/INT pin of the 84C00. LOUT 47 Pulse train output pin, capable of sinking 30 mA. EMU 53 Emulation mode control pin; for normal operation this pin is connected to VSS. VDD 16 Power supply. VSS 2 and 46 Ground. 1997 Oct 22 8 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications Table 3 PCA84C922; PCA84C923 PCA84C922C (SO28) and PCA84C923C (SO28) SYMBOL PIN DESCRIPTION P00 to P07 4, 3, 26, 25, 11, 12, 17, 18 Standard I/O port lines, generally used for keypad scanning or for LSB address byte of code data. P10 to P17 22, 21, 20, 19, Standard I/O port lines, generally used for keypad sensing, the wake-up function of 2, 27, 13, 16 P14 to P17 can be removed by mask option. P20 to P23 14, 15, 1, 28 Standard I/O port lines with 10 mA sink capability. T0/INT 5 Test pin T0 or external interrupt input. T1 6 Test pin T1 or timer/counter input (T1). RESET 7 Active HIGH reset pin; normally connected to VSS as Power-on-reset serves the same function. XTAL2 9 Crystal or ceramic resonator or LC oscillator connections. XTAL1 10 LOUT 24 Pulse train output pin, capable of sinking 30 mA. VDD 8 Power supply. VSS 23 Ground. Table 4 PCA84C922A (SO24/SDIP24) and PCA84C923A (SO24/SDIP24) SYMBOL PIN DESCRIPTION P00 to P07 3, 2, 23, 22, 10, 11, 14, 15 Standard I/O port lines, generally used for keypad scanning or for LSB address byte of code data. P10 to P17 19,18, 17, 16, 1, 24,12,13 Standard I/O port lines, generally used for keypad sensing, the wake-up function of P14 to P17 can be removed by mask option. T0/INT 4 Test pin T0 or external interrupt input. T1 5 Test pin T1 or timer/counter input (T1). RESET 6 Active HIGH reset pin; normally connected to VSS as Power-on-reset serves the same function. XTAL2 8 Crystal or ceramic resonator or LC oscillator connections. XTAL1 9 LOUT 21 Pulse train output pin, capable of sinking 30 mA. VDD 7 Power supply. VSS 20 Ground. 1997 Oct 22 9 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications 6 PCA84C922; PCA84C923 After a Power-on-reset, the scan lines are set LOW and the sense lines HIGH. If the system has entered the Stop mode (by software) then when any key is depressed an external interrupt will be generated and the system will be woken-up. GENERAL OPERATION DESCRIPTION The main application for the PCA84C92X is as a universal infrared remote control commander and in this role the PCA84C92X offers the complete solution in one chip. The PCA84C92X can be programmed to generate code data that conforms to any protocol (Philips, NEC, RCA, Thomson and Siemens etc.) and is suitable for use in the remote control of TVs, VCRs, audio equipment, air-conditioning systems and in many other applications. The ability of the PCA84C923D to access external memory and therefore support more protocols, makes it an extremely versatile device. If the external interrupt was enabled (by using the ‘EN I’ instruction) before the Stop mode was entered, then when the CPU is woken-up, the instruction that follows the STOP instruction will be executed before diverting to the interrupt routine at vector address 03H. However, if the interrupt was not enabled before the Stop mode was entered, then when the CPU is woken-up the instruction that follows the STOP instruction will be executed. 6.1 6.3 System selection Accessing command code Different systems (TV or VCR etc.) can be controlled using one universal infrared remote control commander; switches can be used to select a specific system. However, the PCA84C92X provides pin T1 for system selection purposes and software is used to detect the specific system. Port lines P14 to P17 can also be used for system selection if their wake-up functions have not been selected as a mask option. When any key is depressed its function and operation protocol are determined, then the command code is read. If the command code is stored in system ROM it can be accessed using the ‘MOVP A,@A’ instruction. If the command code resides in Coding Table ROM it can be accessed by writing the address to DP60 to DP67 (High byte) and P00 to P07 (Low byte) and then reading the data from DP50 to DP57. When no key is pressed the scan lines (Port 0) can be programmed HIGH and the sense lines (Port 1) programmed LOW. If a diode is connected between a sense line and scan line then the scan line will be pulled LOW and this can be detected by a read operation to Port 0. In Normal mode, if the Coding Table address is within the 0000 to 1FFFH range for PCA84C922 devices, or within the 0000 to 3FFFH range for PCA84C923 devices, then the internal Coding Table will be accessed when Derivative Port 5 (address 05H) is read. 6.2 In the Normal mode only the PCA84C923D has the ability to access external memory. If the Coding Table address is greater than 3FFFH then the external memory will be accessed when Derivative Port 5 (terminal) is read. Key scanning Port lines P10 to P17 and T0/INT have been designed to be used as key sense lines. However, if the wake-up option is not selected for ports P14 to P17 then these can be used as general I/O lines. When the PCA84C923D is used in the Emulation mode, when Derivative Port 5 is read, data will always be read from DP50 to DP57 terminals. Therefore, the internal Coding Table ROM can be emulated when the PCA84C923D and the bond-out chip PCF84C00 are used. Port lines P00 to P07, P20 to P23 and DP60 to DP67 can be used as key scan lines or general I/O ports. Derivative Port 6 also provides the High byte address for the Coding Table, even when used as scan lines. 1997 Oct 22 10 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 VDD handbook, full pagewidth system selection T1 100 Ω P00 V DD P01 XTAL1 P02 P03 XTAL2 P04 P05 R1 P06 P07 PCA84C922A PCA84C923A T0/INT 3.0 V P10 P11 P12 30 mA LOUT P13 P14 P15 RESET P16 VSS P17 MBE416 Fig.7 Typical Remote Control Transmitter application using the PCA84C922A or PCA84C923A. 1997 Oct 22 11 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 VDD handbook, full pagewidth R2 VDD P20 R3 P21 system selection T1 P22 P23 P00 100 Ω V DD P01 P02 XTAL1 P03 P04 XTAL2 P05 R1 P06 P07 PCA84C922C PCA84C923C T0/INT 3.0 V P10 P11 P12 P13 30 mA LOUT P14 P15 RESET P16 P17 VSS MBE417 Fig.8 Typical Remote Control Transmitter application using the PCA84C922C or PCA84C923C. 1997 Oct 22 12 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications handbook, full pagewidth PCA84C922; PCA84C923 VDD R2 P20 VDD R3 P21 system selection T1 OE ROM or EPROM A0 to A7 DP50 to DP57 A8 to A15 100 Ω V DD XTAL1 DP60 to DP67 XTAL2 P00 to P07 R1 PCA84C923D T0/INT 3.0 V P10 P11 P12 P13 30 mA LOUT P14 P15 EMU RESET P16 P17 VSS MBE418 Fig.9 Typical Remote Control Transmitter application using the PCA84C923D. 1997 Oct 22 13 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications 7 PCA84C922; PCA84C923 7.2 HARDWARE MODULATOR OFF-time Register This 8-bit register resides at address 01H and is loaded by software. The decimal value of its contents plus 2, determines the number of oscillator cycles that the LOUT pin is inactive. The Hardware Modulator used in the PCA84C92X is the same as the Hardware modulator used in the PCA84CX22 range of microcontrollers. The function of the Hardware Modulator is to generate a coded pulse train which is subsequently converted into an infrared signal by an IR-LED. It is this coded IR signal that controls the remote equipment. The number of pulses in the pulse train, the time between pulse train bursts and the duty cycle of a pulse are all programmable. A typical pulse train is shown in Fig.10. The inactive period of LOUT can be calculated as follows: ( decimal value held in OFF-time Register + 2 ) t OFF = --------------------------------------------------------------------------------------------------------------------------f osc 7.3 The block diagram of the Hardware Modulator is shown in Fig.14 and comprises: Pulse Timer The contents of the ON-time and OFF-time Registers are loaded alternately into the Pulse Timer. When loaded the Pulse Timer contents are decremented by ‘1’ every oscillator cycle and upon reaching zero the Pulse Timer will be reloaded with the contents of the other register. • An 8-bit ON-time Register • An 8-bit OFF-time Register • An 8-bit Control Register • A Pulse Timer 7.4 • A 10-bit Pulse Counter The 10-bit Pulse Counter actually consists of two registers: the 2-bit Pulse Counter High Register that resides at address 04H, and the 8-bit Pulse Counter Low Register that resides at address 02H. • Control logic. These are described in detail in Sections 7.1 to 7.5. 7.1 The Pulse Counter is loaded by software; its contents determine the number of pulses in a specific pulse train. Loading with zero is not allowed. ON-time Register The duty cycle of the pulse is determined by the contents of the ON-time and OFF-time Registers. The ON-time Register controls the active or ON period of the pulse; the OFF-time Register controls the inactive or OFF period of the cycle. 7.5 Hardware Modulator Control Register (HMCTL) The characteristics of the pulse train are initially determined by the contents of the ON-time Register, the OFF-time Register and the Pulse Counter; however, the HMCTL Register allows these characteristics to be modified. The Watchdog Timer and derivative interrupt flag are reset via this register. The 8-bit ON-time Register resides at address 00H and is loaded by software. The decimal value of its contents plus 2, determines the number of oscillator cycles that the LOUT pin is active. The active period of LOUT can be calculated as follows: ( decimal value held in ON-time Register + 2 ) t ON = -----------------------------------------------------------------------------------------------------------------------f osc 1997 Oct 22 Pulse Counter 14 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications Table 5 PCA84C922; PCA84C923 Hardware Control Register (address 03H) 7 6 5 4 3 2 1 0 − − − WRES Rint PWM LgP HF Table 6 BIT Description of the HMCTL bits SYMBOL DESCRIPTION − These three bits are reserved. 4 WRES Reset Watchdog Timer. This is not a flip-flop in the register and can only be written to. If a logic 1 is written to this bit the Watchdog Timer is reset. 3 Rint Reset interrupt. When Rint = 1; the interrupt flag that was set by the derivative logic is cleared. The Hardware Modulator can only be restarted after the interrupt flag is cleared; this avoids a second interrupt being generated before the first one has been serviced. 2 PWM Pulse Width Modulation. When PWM = 1 and LgP = 0; the Pulse Counter Register is ignored and a continuous pulse train is generated, this is shown in Fig.13. 1 LgP Long Pulse. When LgP = 1; the contents of the OFF-time Register are ignored. A single pulse is generated; its pulse width being determined as shown below. 7 to 5 1 Pulse width = ( Contents of ON-time Register + 2 ) × ( number of pulses ) × -------f osc If HF = 1; this pulse is modulated with a frequency 1⁄4fosc, this is shown in Fig.12. 0 HF High Frequency. When HF = 1; the ON-time part of the generated pulse is modulated with a frequency 1⁄4fosc, this is shown as CASE 2 in Figs 11 and 12. OFF-time handbook, full pagewidth end ILOUT start elapse time by software interrupt ON-time MBE345 pulse #1 pulse #2 ON-time = 2 (on-time register = 0) pulse #3 OFF-time = 4 (off-time register = 2) Fig.10 Example of ILOUT pulse train. 1997 Oct 22 15 number of pulses = 3 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 f osc handbook, full pagewidth f osc 4 f osc 4 ILOUT start start CASE 1 software time On-time Register = 6 on-time pulse width = 6 2 = 8 Off-time Register = 10 off-time pulse width = 10 2 = 12 interrupt to CPU number of pulses = 2 ILOUT CASE 2 MBE412 Fig.11 CASE 1 shows a typical pulse train; CASE 2 shows the same pulse train after being modulated with a frequency of 1⁄4fosc (HF = 1). f osc handbook, full pagewidth f osc 4 f osc 4 ILOUT start software time CASE 1 On-time Register = 10 on-time pulse width = 10 2 = 12 interrupt to CPU number of pulses = 3 ILOUT CASE 2 MBE411 Fig.12 CASE 1 shows a typical long pulse; CASE 2 shows the same long pulse after being modulated with a frequency of 1⁄4fosc (HF = 1). f oscfull pagewidth handbook, f osc 4 f osc 4 start ILOUT MBE410 On-time Register = 10 on-time pulse width = 10 2 = 12 Off-time Register = 10 off-time pulse width = 10 2 = 12 Fig.13 Continuous pulse train (PWM = 1). 1997 Oct 22 16 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications 7.6 The process of alternately loading the contents of the ON-time Register and OFF-time Register into the Pulse Timer continues until the contents of the Pulse Counter become zero. When this occurs EXDI is asserted; an interrupt to the CPU is generated and the interrupt flag is raised stopping the operation of the Hardware Modulator. The programmed pulse train has now been generated. Operation of the Hardware Modulator The ON-time, OFF-time, Pulse Counter High and Pulse Counter Low registers are loaded by software. As soon as the Pulse Counter Low Register is loaded the Hardware Modulator is started and LOUT becomes active (LOW). Simultaneously, the contents of the ON-time Register are loaded into the Pulse Timer which is then decremented by ‘1’ every oscillator clock cycle. When the value held in the Pulse Timer becomes zero the contents of the Pulse Counter are decremented by ‘1’ and LOUT becomes inactive (HIGH). The Hardware Modulator can only be restarted after the interrupt flag has been cleared. The interrupt flag is cleared by writing a logic 1 to the Rint bit in the Hardware Modulator Control Register. The time delay between two pulse trains is determined by software. The contents of the OFF-time Register are now loaded into the Pulse Timer which is decremented by ‘1’ every oscillator clock cycle. When the value held in the Pulse Timer becomes zero, LOUT becomes active (LOW). One pulse cycle has now been generated. handbook, full pagewidth PCA84C922; PCA84C923 internal bus (IB0 to 7) ON-TIME REGISTER (8) OFF-TIME REGISTER (8) CONTROL REGISTER (5) PULSE COUNTER HIGH (2) PULSE TIMER (8) PULSE COUNTER LOW (8) f osc DXALE CONTROL LOGIC ILOUT DXWR EXDI MBE346 Fig.14 Block diagram of the Hardware Modulator. 1997 Oct 22 17 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications 8 PCA84C922; PCA84C923 • In the Emulation mode (EMU pin HIGH) CODING TABLE – When Derivative Port 5 terminal is read, external memory will always be accessed. In this situation, Derivative Port 5 latch cannot be read. The code data transmitted from the LOUT output when any key is depressed, is stored in a memory area known as the Coding Table. The PCA84C92X range of microcontrollers have on-chip ROM specifically for this use (system ROM may also be used). The Coding Table is addressed via Port 0 (the Low byte address) and Derivative Port 6 latch (the High byte address). 8.1 Accessing the Coding Table The procedure for accessing the Coding Table follows: 1. Set all sense lines to a logic 1. The PCA84C922 range of devices have 8 kbytes of ROM for use as a Coding Table and when accessing this internal memory, address lines DP65 to DP67 must be LOW. 2. Write the High byte address to Derivative Register 08 (Derivative Port 6 latch). 3. Write the Low byte address to Port 0 (Low byte address latch of internal Coding Table). The PCA84C923 range of devices have 16 kbytes of ROM for use as a Coding Table and when accessing this internal memory, address lines DP66 and DP67 must be LOW. 4. Read Derivative Register 05 (Derivative Port 5 terminal); code data has now been retrieved. The Coding Table memory size for the PCA84C923D however, can be extended up to 64 kbytes by adding external memory (ROM or EPROM). The external memory data bus is connected to Derivative Port 5. Accessing the internal or external Coding Tables of the PCA84C923D is described below. 5. Repeat steps 4 and 5 to read more code data. Table 7 shows a subroutine that reads the Coding Table and then loads code data into system RAM. Entry: R0 contains the starting address in system RAM into which data will be loaded. • In the Normal mode (EMU pin LOW) – When Derivative Port 5 terminal is read, if the address lines DP66 and DP67 are LOW, the address will be within the internal memory boundary, and the internal Coding Table will be accessed. R1 contains the number of bytes in the Coding Table which are to be read. – When Derivative Port 5 terminal is read, if either of the address lines DP66 or DP67 is HIGH, the address will be outside the internal memory boundary and the external memory will be accessed. The data at Derivative Port 5 terminal will then be read. R4 holds the Coding Table starting address (High byte). Table 7 R3 holds the Coding Table starting address (Low byte). Exit: ((R0)), ((R0) + 1) →((R0) + (R1) − 1) contain the code data Subroutine to access the Coding Table ADDRESS CODE CODE1 CODE2 1997 Oct 22 INSTRUCTION DESCRIPTION ORL P1,#FF Set all sense lines to logic 1. MOV A,R4 Load Accumulator with the High byte of the starting address. MOV D8,A Write the High byte of the starting address to Derivative Port 6 latch. MOV A,R3 Load Accumulator with the Low byte of the starting address. OUTL P0,A Write the Low byte of the starting address to Port 0. MOV A,D5 Read code data from Derivative Port 5 terminal into the Accumulator. MOV @R0,A Store code data in system RAM. DJNZ R1,CODE2 If more code data is to be read jump to CODE 2, if not go to next instruction. RET Return from subroutine to main program. INC R0 Increment RAM address pointer. INC R3 Increment Low byte address of Coding Table. JMP CODE1 Jump to CODE 1. 18 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications 9 PCA84C922; PCA84C923 During normal processing, the contents of the Watchdog Timer are cleared by writing a logic 1 to the WRES bit in Hardware Modulator Control Register (address 03H). WATCHDOG TIMER (WDT) The PCA84C92X contains a Watchdog Timer that functions in the same manner as the Watchdog Timer used in the PCA84CX22 range of microcontrollers. The maximum time period (tp) which the counter may run and not cause a reset operation, is calculated as shown below. The purpose of the Watchdog Timer is to reset the microcontroller if it enters an erroneous processor state; within a reasonable period of time. Erroneous processor states can be caused by noise or RFI. 16 1 t p = -------- × 30 × 2 f osc The Watchdog Timer consists of a 17-bit counter which is clocked at a frequency of 1⁄30fosc. During a Power-on-reset the contents of the counter are cleared. The counter contents are then incremented by ‘1’ every 30 cycles of the oscillator clock. If the maximum count is exceeded, the counter overflows and the microcontroller is reset. In order to prevent a counter overflow and its resulting reset operation, the user program must clear the contents of the Watchdog Timer before its maximum count is reached. In the Idle mode the oscillator is still running and the Watchdog Timer remains active. In the Stop mode however, the oscillator is stopped and the operation of the Watchdog Timer is halted but its contents are retained. Therefore, it may be advisable for the user to clear the contents of the Watchdog Timer before the Stop mode is entered, in order to avoid an unexpected reset operation after the device is woken-up. handbook, full pagewidth f osc 30 CLK 17-BIT COUNTER RESET Q16 HMCTL register (address O3H) WRES R int PWM Lg P HF on-chip RESET Power-on-reset MBE415 Fig.15 Block diagram of the Watchdog Timer. 1997 Oct 22 19 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 10 PORT OPTIONS Notes to Table 8 Ports can be configured using one of three mask options. The three I/O mask options are specified below. 1. If diodes are used for system selection the scan lines (Port 0 and Derivative Port 6) cannot take Option 3. 2. Scan lines should have the option ‘1R’. Option 1 Standard I/O with switched pull-up current source; this is shown in Fig.16. 3. Sense lines should have the option ‘1S’. 4. Only the PCA84C923D has external Derivative Port 6 terminals and therefore this option is only valid for this device. The other members of the range have the state of their internal Derivative Port 6 latch fixed at ‘1S’. Option 2 I/O with open-drain output; this is shown in Fig.17. Option 3 Push-pull output; this is shown in Fig.18. The state of the ports and the LOUT pin after a Power-on-reset can also be selected using mask options. All mask options are given in Table 8. Table 8 Mask options PORT LINES/PIN S R P00 to P07 P10 to P13 OPTION 1 or 3; notes 1 and 2 X 1; note 3 P14 to P17 1; note 3 P20 to P23 DP50 to DP57 X 1 DP60 to DP67 LOUT handbook, full pagewidth 1 or 3; notes 1, 2 and 4 X 2 or 3 VDD write pulse OUTL/ORL/ANL/MOV data bus TR2 100 µA typical (VO = 0.7 VDD ) TR3 D MQ Master D SQ Slave SQ TR1 I/O port line VSS ORL/ANL/MOV MED186 - 1 IN/MOV Fig.16 Standard I/O with switched pull-up current source (Option 1). 1997 Oct 22 20 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications handbook, full pagewidth PCA84C922; PCA84C923 V DD write pulse OUTL/ORL/ANL data bus D MQ Master D SQ Slave TR1 I/O port line VSS ORL/ANL MED187 - 1 IN Fig.17 I/O with open-drain output (Option 2). handbook, full pagewidth VDD write pulse OUTL/ORL/ANL data bus TR2 D MQ Master D SQ Slave TR1 I/O port line VSS ORL/ANL MED188 IN Fig.18 Push-pull output (Option 3). 1997 Oct 22 21 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 11 INTERRUPTS 12 DERIVATIVE REGISTERS The PCA84C92X has three interrupt sources: The Derivative Registers residing at addresses 00 to 04H are dedicated to the Hardware Modulator; these registers are also common to the PCA84CX22 range of microcontrollers. The Derivative Registers residing at addresses 05 to 08H are used for accessing the Coding Table. The Derivative Registers memory map is shown in Table 9. 1. External keypad wake-up and T0/INT pin; vector address 03H. 2. Hardware Modulator; vector address 05H. 3. Internal Timer/counter (T1); vector address 07H. 11.1 External keypad wake-up and T0/INT pin interrupt When the Coding Table is accessed data will be read from Derivative Port 5 terminal (address 05H) regardless of whether the internal or external Coding table was addressed. Details of accessing the internal or external Coding Tables are given in Section 8. As Derivative Port 6 latch is also connected to the High byte address of the internal Coding Table, writing data to Derivative Port 6 latch (address 08H) also addresses the Coding Table. This interrupt will wake-up the CPU from the Stop mode when a HIGH-to-LOW transition occurs on any Port 1 pin or the T0/INT pin (see Fig.1); normal program execution will continue after a 1866 clock cycle delay. If this interrupt was enabled (by using the ‘EN I’ instruction) before the Stop mode was entered, then when the CPU is woken-up, the instruction that follows the STOP instruction will be executed before diverting to the interrupt routine at vector address 03H. However, if the interrupt was not enabled before the Stop mode was entered, then when the CPU is woken-up the instruction that follows the STOP instruction will be executed. 11.2 Hardware Modulator interrupt When a complete pulse train has been transmitted by the Hardware Modulator, it generates an interrupt to the CPU by asserting EXDI and the operation of the Hardware Modulator is halted. This derivative interrupt is shared with the SIO interrupt of the PCF84CXXXA family; both use vector address 05H. The Hardware Modulator interrupt is enabled using the instruction ‘EN SI’ and is disabled using the ‘DIS SI’ instruction. 11.3 Internal Timer/counter (T1) interrupt The Timer/counter and its interrupt are common to other members of the PCF84CXXXA family; all operate in a similar manner. The Timer/counter interrupt is enabled using the instruction ‘EN TCNT1’ and is disabled using the ‘DIS TCNT1’ instruction. 1997 Oct 22 22 REGISTER 7 6 5 4 3 2 1 0 R/W ON-TIME ON7 (X) ON6 (X) ON5 (X) ON4 (X) ON3 (X) ON2 (X) ON1 (X) ON0 (X) R/W 01 OFF-TIME OFF7 (X) OFF6 (X) OFF5 (X) OFF4 (X) OFF3 (X) OFF2 (X) OFF1 (X) OFF0 (X) R/W 02 Pulse Counter Low (PULOW) PUL7 (X) PUL6 (X) PUL5 (X) PUL4 (X) PUL3 (X) PUL2 (X) PUL1 (X) PUL0 (X) R/W 03 Hardware Modulator Control (HMCTL) − − − WRES(2) (X) Rint(2) (X) PWM (X) LgP (X) HF (X) R/W 04 Pulse Counter High (PUHIGH) − − − − − − PUL9 (X) PUL8 (X) R/W 05 Derivative Port 5 (terminal) DP57/MD7 (X) DP56/MD6 (X) DP55/MD5 (X) DP54/MD4 (X) DP53/MD3 (X) DP52/MD2 (X) DP51/MD1 DP50/MD0 R (X) (X) 06 Derivative Port 6 (terminal) DP67 (X) DP66 (X) DP65 (X) DP64 (X) DP63 (X) DP62 (X) DP61 (X) DP60 (X) R 07 Derivative Port 5 (latch) DP57 (1) DP56 (1) DP55 (1) DP54 (1) DP53 (1) DP52 (1) DP51 (1) DP50 (1) R/W 08 Derivative Port 6 (latch) DP67/MA15 DP66/MA14 DP65/MA13 (Mo) (Mo) (Mo) DP64/MA12 (Mo) DP63/MA11 DP62/MA10 DP61/MA9 DP60/MA8 R/W (Mo) (Mo) (Mo) (Mo) 23 00 Philips Semiconductors ADDR (HEX) Derivative Registers memory map (see note 1) Microcontrollers for universal infrared remote transmitter applications 1997 Oct 22 Table 9 Notes 2. These bits are Write only. Product specification PCA84C922; PCA84C923 1. Values within parenthesis show the bit state after a reset operation. ‘X’ denotes an undefined state and ‘Mo’ denotes the state is selected by mask option. Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications In the emulation mode, port lines P10 to P13 of the PCA84C923D are used as the inputs for derivative control signals DXWR, DXRD, DXALE and EXDIN. Therefore, port lines P20 to P23 (which are ANDed internally to emulate the wake-up function of port lines P10 to P13) are connected to port lines P10 to P13 of the bond-out chip. If port lines P14 to P17 of the PCA84C923D have been masked for the wake-up function, then they must not be connected to the corresponding pins of the bond-out chip. However, these sets of pins can be connected if the wake-up option has not been selected. 13 EMULATION The PCA84C923D can be used as the emulation chip for both the PCA84C92X and PCA84CX22 ranges of microcontrollers. The emulation system is shown in Fig.19. A 64 kbyte EPROM (27C256) is used as the Coding Table and stores all data code. The EPROM should be removed when members of the PCA84CX22 range are being emulated. The PCA84C923D has two additional outputs: INTO and RSTO which are used for emulation purposes only. The INTO output is the result of the AND operation carried out internally on the T0/INT and Port 1 inputs; this is shown in Fig.1. The RSTO output is the result of the OR operation carried out internally on the RESET input and the Watchdog Timer reset; this is also shown in Fig.1. The INTO and RSTO pins of the PCA84C923D are connected to the T0/INT and RESET pins of the bond-out chip, respectively. When the PCA84C923D is used as the emulation chip all ports should have the mask option 1S. After a Power-on-reset the only data that can be written to Derivative Port 5 is FFH. When the PCF84C00 is used for emulation purposes its ports should have the mask option 1S. However, as some ports may be used as scan lines (for example Port 1 and Port 6) they will have mask options of 1R or 3R. In this case, after a Power-on-reset, these ports should have 00H written to them. The RESET and T0/INT inputs are connected to the corresponding pins of the PCA84C923D (in other 84CXXX emulation systems they are connected to the corresponding pins of the PCF84C00). 1997 Oct 22 PCA84C922; PCA84C923 24 A0 to A7 OE 25 PCF84C00 RESET T0/INT LOUT T0/INT LOUT DP60 to DP67 RESET DP50 to DP57 P14 to P17 P20 P60 to DP67 D0 to D7 VSS CLK VDD VDD P13 P12 P11 P10 P00 to P07 EMU V DD DXWR DXRD DXALE EXDI PSEN Fig.19 Emulation circuit of PCA84C922 and PCA84C923. PCA84C923D V SS XTAL1 V SS (BOND-OUT CHIP OF 84CXX) P50 to DP57 A8 to A15 P21 P22 P23 RSTO INTO T0/INT RESET P13 P12 P11 T1 P14 to P17 P10 to P17 CODING TABLE EMULATION (64 kbyte EPROM, 27C256) P00 to P07 P00 to P07 P10 P20 to P23 P20 to P23 T1 XTAL2 T1 A00 to A12 D00 to D07 XTAL1 XTAL2 MBE344 SYSTEM ROM EMULATION (EPROM OR EMULATION RAM) Microcontrollers for universal infrared remote transmitter applications ndbook, full pagewidth 1997 Oct 22 XTAL1 Philips Semiconductors Product specification PCA84C922; PCA84C923 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 14 LIMITING VALUES In accordance with the Absolute Maximum Rating System (IEC 34). SYMBOL PARAMETER MIN. MAX. UNIT VDD supply voltage −0.5 +7.0 V VI all input voltages on any pin with respect to ground (VSS) −0.5 VDD + 0.5 V IOH maximum source current for all port lines − −5.0 mA IOL maximum sink current for all port lines − 5.0 mA Ptot total power dissipation − 500 mW Tamb operating ambient temperature −20 +70 °C Tstg storage temperature −55 +125 °C 1997 Oct 22 26 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 15 DC CHARACTERISTICS VDD = 5 V ±10%; VSS = 0 V; Tamb = −25 to +50 °C; all voltages with respect to VSS; unless otherwise specified. SYMBOL PARAMETER CONDITIONS MIN. TYP. MAX. UNIT Supply VDD operating supply voltage IDD operating supply current IDD(ID) IDD(ST) supply current Idle mode supply current Stop mode 2.0 3.0 5.5 V VDD = 3 V; fxtal = 3 MHz − 0.4 0.9 mA VDD = 5 V; fxtal = 3 MHz − 0.9 1.8 mA VDD = 3 V; fxtal = 3 MHz − 0.2 0.4 mA VDD = 5 V; fxtal = 3 MHz − 0.25 0.5 mA VDD = 2 V; Tamb = 25 °C; note 1 − 1.2 2.4 µA VDD = 2 V; Tamb = 50 °C; note 1 − − 10.0 µA VDD = 3 V; Tamb = 25 °C; note 1 − 1.2 2.4 µA VDD = 3 V; Tamb = 50 °C; note 1 − − 10.0 µA VDD = 5 V; Tamb = 25 °C; note 1 − 1.2 2.4 µA VDD = 5 V; Tamb = 50 °C; note 1 − − 10.0 µA Inputs EMU; RESET; T0/INTN; T1; P00 to P07; P!0 to P17; P20 to P23; DP50 to DP57 and DP60 to DP67 − VIL LOW level input voltage 0 VIH HIGH level input voltage 0.7VDD − VDD V ILI input leakage current − − ±1 µA − 12 − mA −40 −100 − µA VSS < VI < VDD 0.3VDD V Outputs P00 to P07; P10 to P17; DP50 to DP57; DP60 to DP67; INTN0 and RSTO IOL LOW level output sink current VDD = 5 V; VO = 0.4 V IOH1 HIGH level pull-up output source current VDD = 5 V; VO = 0.7VDD IOH2 HIGH level push-pull output source current VDD = 5 V; VO = VSS − −140 −400 µA VDD = 5 V; VO = VDD − 0.4 V − −7.0 − mA VDD = 3 V; VO = 0.4 V 10 − − mA −40 −100 − µA VDD = 5 V; VO = VSS − −140 −400 µA VDD = 5 V; VO = VDD − 0.4 V − −7.0 − mA Outputs P20 to P23 IOL LOW level output sink current IOH1 HIGH level pull-up output source current VDD = 5 V; VO = 0.7VDD IOH2 HIGH level push-pull output source current Output LOUT IOL LOW level output sink current VDD = 2 V; VO = 1 V 30 − − mA IOH HIGH level output source current VDD = 2 V; VO = 1.6 V −1.6 − − mA Note 1. fxtal = 3 MHz. 1997 Oct 22 27 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 16 AC CHARACTERISTICS SYMBOL fxtal PARAMETER crystal oscillator frequency CONDITIONS MIN. TYP. MAX. UNIT VDD = 2.5 to 5.5 V 1 − 6 MHz VDD = 2 to 5.5 V 1 − 4.5 MHz Transconductance gmL option LOW VDD = 5 V 0.3 0.7 1.4 mS gmM option MEDIUM VDD = 5 V 0.9 1.6 3.2 mS gmH option HIGH VDD = 5 V 3 4.5 9.0 mS Rf feedback resistor 0.3 1 3 MΩ 1997 Oct 22 28 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 17 PACKAGE OUTLINES VSO56: plastic very small outline package; 56 leads SOT190-1 D E A X c y HE v M A Z 56 29 Q A2 A (A 3) A1 pin 1 index θ Lp L 1 detail X 28 w M bp e 0 5 10 mm scale DIMENSIONS (inch dimensions are derived from the original mm dimensions) UNIT A max. A1 A2 A3 bp c D (1) E (2) e HE L Lp Q v w y Z (1) mm 3.3 0.3 0.1 3.0 2.8 0.25 0.42 0.30 0.22 0.14 21.65 21.35 11.1 11.0 0.75 15.8 15.2 2.25 1.6 1.4 1.45 1.30 0.2 0.1 0.1 0.90 0.55 0.13 0.012 0.004 0.12 0.11 0.01 0.017 0.0087 0.85 0.012 0.0055 0.84 0.44 0.62 0.0295 0.43 0.60 0.089 0.063 0.055 inches 0.057 0.035 0.008 0.004 0.004 0.051 0.022 θ Note 1. Plastic or metal protrusions of 0.3 mm maximum per side are not included. 2. Plastic interlead protrusions of 0.25 mm maximum per side are not included. OUTLINE VERSION REFERENCES IEC JEDEC EIAJ ISSUE DATE 96-04-02 97-08-11 SOT190-1 1997 Oct 22 EUROPEAN PROJECTION 29 o 7 0o Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 SO28: plastic small outline package; 28 leads; body width 7.5 mm SOT136-1 D E A X c y HE v M A Z 15 28 Q A2 A (A 3) A1 pin 1 index θ Lp L 1 14 e bp 0 detail X w M 5 10 mm scale DIMENSIONS (inch dimensions are derived from the original mm dimensions) UNIT A max. A1 A2 A3 bp c D (1) E (1) e HE L Lp Q v w y mm 2.65 0.30 0.10 2.45 2.25 0.25 0.49 0.36 0.32 0.23 18.1 17.7 7.6 7.4 1.27 10.65 10.00 1.4 1.1 0.4 1.1 1.0 0.25 0.25 0.1 0.9 0.4 0.012 0.096 0.004 0.089 0.01 0.019 0.013 0.014 0.009 0.71 0.69 0.30 0.29 0.050 0.419 0.043 0.055 0.394 0.016 0.043 0.039 0.01 0.01 0.004 0.035 0.016 inches 0.10 Z (1) θ Note 1. Plastic or metal protrusions of 0.15 mm maximum per side are not included. REFERENCES OUTLINE VERSION IEC JEDEC SOT136-1 075E06 MS-013AE 1997 Oct 22 EIAJ EUROPEAN PROJECTION ISSUE DATE 95-01-24 97-05-22 30 o 8 0o Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 SO24: plastic small outline package; 24 leads; body width 7.5 mm SOT137-1 D E A X c HE y v M A Z 13 24 Q A2 A (A 3) A1 pin 1 index θ Lp L 1 12 e detail X w M bp 0 5 10 mm scale DIMENSIONS (inch dimensions are derived from the original mm dimensions) UNIT A max. A1 A2 A3 bp c D (1) E (1) e HE L Lp Q v w y mm 2.65 0.30 0.10 2.45 2.25 0.25 0.49 0.36 0.32 0.23 15.6 15.2 7.6 7.4 1.27 10.65 10.00 1.4 1.1 0.4 1.1 1.0 0.25 0.25 0.1 0.9 0.4 inches 0.10 0.012 0.096 0.004 0.089 0.01 0.019 0.013 0.014 0.009 0.61 0.60 0.30 0.29 0.050 0.419 0.043 0.055 0.394 0.016 0.043 0.039 0.01 0.01 0.004 0.035 0.016 Z (1) θ 8o 0o Note 1. Plastic or metal protrusions of 0.15 mm maximum per side are not included. REFERENCES OUTLINE VERSION IEC JEDEC SOT137-1 075E05 MS-013AD 1997 Oct 22 EIAJ EUROPEAN PROJECTION ISSUE DATE 95-01-24 97-05-22 31 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 SDIP24: plastic shrink dual in-line package; 24 leads (400 mil) SOT234-1 ME seating plane D A2 A A1 L c e Z b1 (e 1) w M MH b 13 24 pin 1 index E 1 12 0 5 10 mm scale DIMENSIONS (mm are the original dimensions) UNIT A max. A1 min. A2 max. b b1 c D (1) E (1) e e1 L ME MH w Z (1) max. mm 4.7 0.51 3.8 1.3 0.8 0.53 0.40 0.32 0.23 22.3 21.4 9.1 8.7 1.778 10.16 3.2 2.8 10.7 10.2 12.2 10.5 0.18 1.6 Note 1. Plastic or metal protrusions of 0.25 mm maximum per side are not included. OUTLINE VERSION REFERENCES IEC JEDEC EIAJ ISSUE DATE 92-11-17 95-02-04 SOT234-1 1997 Oct 22 EUROPEAN PROJECTION 32 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications Several techniques exist for reflowing; for example, thermal conduction by heated belt. Dwell times vary between 50 and 300 seconds depending on heating method. Typical reflow temperatures range from 215 to 250 °C. 18 SOLDERING 18.1 Introduction There is no soldering method that is ideal for all IC packages. Wave soldering is often preferred when through-hole and surface mounted components are mixed on one printed-circuit board. However, wave soldering is not always suitable for surface mounted ICs, or for printed-circuits with high population densities. In these situations reflow soldering is often used. Preheating is necessary to dry the paste and evaporate the binding agent. Preheating duration: 45 minutes at 45 °C. 18.3.2 This text gives a very brief insight to a complex technology. A more in-depth account of soldering ICs can be found in our “IC Package Databook” (order code 9398 652 90011). 18.2 18.2.1 • A double-wave (a turbulent wave with high upward pressure followed by a smooth laminar wave) soldering technique should be used. SDIP SOLDERING BY DIPPING OR BY WAVE • The longitudinal axis of the package footprint must be parallel to the solder flow. • The package footprint must incorporate solder thieves at the downstream end. During placement and before soldering, the package must be fixed with a droplet of adhesive. The adhesive can be applied by screen printing, pin transfer or syringe dispensing. The package can be soldered after the adhesive is cured. The device may be mounted up to the seating plane, but the temperature of the plastic body must not exceed the specified maximum storage temperature (Tstg max). If the printed-circuit board has been pre-heated, forced cooling may be necessary immediately after soldering to keep the temperature within the permissible limit. Maximum permissible solder temperature is 260 °C, and maximum duration of package immersion in solder is 10 seconds, if cooled to less than 150 °C within 6 seconds. Typical dwell time is 4 seconds at 250 °C. REPAIRING SOLDERED JOINTS A mildly-activated flux will eliminate the need for removal of corrosive residues in most applications. Apply a low voltage soldering iron (less than 24 V) to the lead(s) of the package, below the seating plane or not more than 2 mm above it. If the temperature of the soldering iron bit is less than 300 °C it may remain in contact for up to 10 seconds. If the bit temperature is between 300 and 400 °C, contact may be up to 5 seconds. 18.3 18.3.1 18.3.3 REPAIRING SOLDERED JOINTS Fix the component by first soldering two diagonallyopposite end leads. Use only a low voltage soldering iron (less than 24 V) applied to the flat part of the lead. Contact time must be limited to 10 seconds at up to 300 °C. When using a dedicated tool, all other leads can be soldered in one operation within 2 to 5 seconds between 270 and 320 °C. SO and VSO REFLOW SOLDERING Reflow soldering techniques are suitable for all SO and VSO packages. Reflow soldering requires solder paste (a suspension of fine solder particles, flux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. 1997 Oct 22 WAVE SOLDERING Wave soldering techniques can be used for all SO and VSO packages if the following conditions are observed: The maximum permissible temperature of the solder is 260 °C; solder at this temperature must not be in contact with the joint for more than 5 seconds. The total contact time of successive solder waves must not exceed 5 seconds. 18.2.2 PCA84C922; PCA84C923 33 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications PCA84C922; PCA84C923 19 DEFINITIONS Data sheet status Objective specification This data sheet contains target or goal specifications for product development. Preliminary specification This data sheet contains preliminary data; supplementary data may be published later. Product specification This data sheet contains final product specifications. Limiting values Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134). Stress above one or more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation of the device at these or at any other conditions above those given in the Characteristics sections of the specification is not implied. Exposure to limiting values for extended periods may affect device reliability. Application information Where application information is given, it is advisory and does not form part of the specification. 20 LIFE SUPPORT APPLICATIONS These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Philips customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Philips for any damages resulting from such improper use or sale. 1997 Oct 22 34 Philips Semiconductors Product specification Microcontrollers for universal infrared remote transmitter applications NOTES 1997 Oct 22 35 PCA84C922; PCA84C923 Philips Semiconductors – a worldwide company Argentina: see South America Australia: 34 Waterloo Road, NORTH RYDE, NSW 2113, Tel. +61 2 9805 4455, Fax. +61 2 9805 4466 Austria: Computerstr. 6, A-1101 WIEN, P.O. Box 213, Tel. +43 160 1010, Fax. +43 160 101 1210 Belarus: Hotel Minsk Business Center, Bld. 3, r. 1211, Volodarski Str. 6, 220050 MINSK, Tel. +375 172 200 733, Fax. +375 172 200 773 Belgium: see The Netherlands Brazil: see South America Bulgaria: Philips Bulgaria Ltd., Energoproject, 15th floor, 51 James Bourchier Blvd., 1407 SOFIA, Tel. +359 2 689 211, Fax. +359 2 689 102 Canada: PHILIPS SEMICONDUCTORS/COMPONENTS, Tel. +1 800 234 7381 China/Hong Kong: 501 Hong Kong Industrial Technology Centre, 72 Tat Chee Avenue, Kowloon Tong, HONG KONG, Tel. +852 2319 7888, Fax. +852 2319 7700 Colombia: see South America Czech Republic: see Austria Denmark: Prags Boulevard 80, PB 1919, DK-2300 COPENHAGEN S, Tel. +45 32 88 2636, Fax. +45 31 57 0044 Finland: Sinikalliontie 3, FIN-02630 ESPOO, Tel. +358 9 615800, Fax. +358 9 61580920 France: 4 Rue du Port-aux-Vins, BP317, 92156 SURESNES Cedex, Tel. +33 1 40 99 6161, Fax. +33 1 40 99 6427 Germany: Hammerbrookstraße 69, D-20097 HAMBURG, Tel. +49 40 23 53 60, Fax. +49 40 23 536 300 Greece: No. 15, 25th March Street, GR 17778 TAVROS/ATHENS, Tel. +30 1 4894 339/239, Fax. +30 1 4814 240 Hungary: see Austria India: Philips INDIA Ltd, Band Box Building, 2nd floor, 254-D, Dr. Annie Besant Road, Worli, MUMBAI 400 025, Tel. +91 22 493 8541, Fax. +91 22 493 0966 Indonesia: see Singapore Ireland: Newstead, Clonskeagh, DUBLIN 14, Tel. +353 1 7640 000, Fax. +353 1 7640 200 Israel: RAPAC Electronics, 7 Kehilat Saloniki St, PO Box 18053, TEL AVIV 61180, Tel. +972 3 645 0444, Fax. +972 3 649 1007 Italy: PHILIPS SEMICONDUCTORS, Piazza IV Novembre 3, 20124 MILANO, Tel. +39 2 6752 2531, Fax. +39 2 6752 2557 Japan: Philips Bldg 13-37, Kohnan 2-chome, Minato-ku, TOKYO 108, Tel. +81 3 3740 5130, Fax. +81 3 3740 5077 Korea: Philips House, 260-199 Itaewon-dong, Yongsan-ku, SEOUL, Tel. +82 2 709 1412, Fax. +82 2 709 1415 Malaysia: No. 76 Jalan Universiti, 46200 PETALING JAYA, SELANGOR, Tel. +60 3 750 5214, Fax. +60 3 757 4880 Mexico: 5900 Gateway East, Suite 200, EL PASO, TEXAS 79905, Tel. +9-5 800 234 7381 Middle East: see Italy Netherlands: Postbus 90050, 5600 PB EINDHOVEN, Bldg. VB, Tel. +31 40 27 82785, Fax. +31 40 27 88399 New Zealand: 2 Wagener Place, C.P.O. Box 1041, AUCKLAND, Tel. +64 9 849 4160, Fax. +64 9 849 7811 Norway: Box 1, Manglerud 0612, OSLO, Tel. +47 22 74 8000, Fax. +47 22 74 8341 Philippines: Philips Semiconductors Philippines Inc., 106 Valero St. Salcedo Village, P.O. Box 2108 MCC, MAKATI, Metro MANILA, Tel. +63 2 816 6380, Fax. +63 2 817 3474 Poland: Ul. Lukiska 10, PL 04-123 WARSZAWA, Tel. +48 22 612 2831, Fax. +48 22 612 2327 Portugal: see Spain Romania: see Italy Russia: Philips Russia, Ul. Usatcheva 35A, 119048 MOSCOW, Tel. +7 095 755 6918, Fax. +7 095 755 6919 Singapore: Lorong 1, Toa Payoh, SINGAPORE 1231, Tel. +65 350 2538, Fax. +65 251 6500 Slovakia: see Austria Slovenia: see Italy South Africa: S.A. PHILIPS Pty Ltd., 195-215 Main Road Martindale, 2092 JOHANNESBURG, P.O. Box 7430 Johannesburg 2000, Tel. +27 11 470 5911, Fax. +27 11 470 5494 South America: Rua do Rocio 220, 5th floor, Suite 51, 04552-903 São Paulo, SÃO PAULO - SP, Brazil, Tel. +55 11 821 2333, Fax. +55 11 829 1849 Spain: Balmes 22, 08007 BARCELONA, Tel. +34 3 301 6312, Fax. +34 3 301 4107 Sweden: Kottbygatan 7, Akalla, S-16485 STOCKHOLM, Tel. +46 8 632 2000, Fax. +46 8 632 2745 Switzerland: Allmendstrasse 140, CH-8027 ZÜRICH, Tel. +41 1 488 2686, Fax. +41 1 481 7730 Taiwan: Philips Semiconductors, 6F, No. 96, Chien Kuo N. Rd., Sec. 1, TAIPEI, Taiwan Tel. +886 2 2134 2865, Fax. +886 2 2134 2874 Thailand: PHILIPS ELECTRONICS (THAILAND) Ltd., 209/2 Sanpavuth-Bangna Road Prakanong, BANGKOK 10260, Tel. +66 2 745 4090, Fax. +66 2 398 0793 Turkey: Talatpasa Cad. No. 5, 80640 GÜLTEPE/ISTANBUL, Tel. +90 212 279 2770, Fax. +90 212 282 6707 Ukraine: PHILIPS UKRAINE, 4 Patrice Lumumba str., Building B, Floor 7, 252042 KIEV, Tel. +380 44 264 2776, Fax. +380 44 268 0461 United Kingdom: Philips Semiconductors Ltd., 276 Bath Road, Hayes, MIDDLESEX UB3 5BX, Tel. +44 181 730 5000, Fax. +44 181 754 8421 United States: 811 East Arques Avenue, SUNNYVALE, CA 94088-3409, Tel. +1 800 234 7381 Uruguay: see South America Vietnam: see Singapore Yugoslavia: PHILIPS, Trg N. Pasica 5/v, 11000 BEOGRAD, Tel. +381 11 625 344, Fax.+381 11 635 777 For all other countries apply to: Philips Semiconductors, Marketing & Sales Communications, Building BE-p, P.O. Box 218, 5600 MD EINDHOVEN, The Netherlands, Fax. +31 40 27 24825 Internet: http://www.semiconductors.philips.com © Philips Electronics N.V. 1997 SCA55 All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. Printed in The Netherlands 457027/00/02/pp36 Date of release: 1997 Oct 22 Document order number: 9397 750 02973