TIR1000, TIR1000I STANDALONE IrDA ENCODER AND DECODER SLLS228F - DECEMBER 1995 - REVISED JULY 1999 D D D D D D D Adds Infrared (IR) Port to Universal Asynchronous Receiver Transmitter (UART) Compatible With Infrared Data Association (IrDA) and Hewlett Packard Serial Infrared (HPSIR) Provides 1200 bps to 115 kbps Data Rate Operates From 2.7 V to 5.5 V Provides Simple Interface With UART Decodes Negative or Positive Pulses Available in Two 8-Terminal Plastic Small Outline Packages (PSOP), PS Package Has Slightly Larger Dimensions Than PW Package PS OR PW PACKAGE (TOP VIEW) 16XCLK U_TXD U_RXD GND 1 2 3 4 8 7 6 5 VCC IR_TXD IR_RXD RESET functional block diagram RESET IR_RXD Decoder U_RXD Encoder IR_TXD 16XCLK description U_TXD The TIR1000 serial infrared (SIR) encoder/ decoder is a CMOS device which encodes and decodes bit data in conformance with the IrDA specification. A transceiver device is needed to interface to the photo-sensitive diode (PIN) and the light emitting diode (LED). A UART is needed to interface to the serial data lines. Terminal Functions AAA AAA AA AAA AAA AA AA AAA AAA AAA AAA AA AAA AAA AA AAA AAA AA AAA AAA AA AA AAA AAA AAA AAA AA AAA AAA AAA AAA AAA TERMINAL I/O DESCRIPTION I Clock signal. 16XCLK should be set to 16 times the baud rate. The highest baud rate for IrDA is 115.2 kbps for which the clock frequency equals 1.843 MHz (this terminal is tied to the BAUDOUT of a UART). NAME NO. 16XCLK 1 GND 4 IR_RXD 6 I Infrared receiver data. IR_RXD is an IrDA-SIR-modulated input from an optoelectronics transceiver whose input pulses should be 3/16 of the baud rate period. IR_TXD 7 O Infrared transmitter data. IR_TXD is an IrDA-SIR-modulated output to an optoelectronics transceiver. RESET 5 I Active high reset. RESET initializes an IrDA-SIR-decode/encode state machine (this terminal is tied to a UART reset line). U_RXD 3 O Receiver data. U_RXD is decoded (demodulated) data from IR_RXD according to the IrDA specification (this terminal is tied to SIN of a UART). U_TXD 2 I Transmitter data. U_TXD is encoded (modulated) data and output data as IR_TXD (this terminal is tied to SOUT from a UART). VCC 8 Ground Supply voltage Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet. IrDA is a registered trademark of the Infrared Data Association. Copyright 1999, Texas Instruments Incorporated PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters. POST OFFICE BOX 655303 * DALLAS, TEXAS 75265 1 TIR1000, TIR1000I STANDALONE IrDA ENCODER AND DECODER SLLS228F - DECEMBER 1995 - REVISED JULY 1999 absolute maximum ratings over operating free-air temperature range (unless otherwise noted) Supply voltage range, VCC (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to 6 V Input voltage range at any input, VI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V Output voltage range, VO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V Operating free-air temperature range, TA, TIR1000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0C to 70C TA, TIR1000I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -40C to 85C Storage temperature range, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -65C to 150C Case temperature for 10 seconds: SOP package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260C Stresses beyond those listed under "absolute maximum ratings" may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under "recommended operating conditions" is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. NOTE 1: All voltage levels are with respect to GND. recommended operating conditions over recommended operating free-air temperature range low voltage (3 V nominal) Supply voltage, VCC High-level input voltage, VIH Low-level input voltage, VIL free air temperature, temperature TA Operating free-air standard voltage (5 V nominal) AAAAAAAAAAAAA AAA AAA AAAA AAA AAAAAAAAAAAAA AAA AAA AAAA AAA AAAAAAAAAAAAA AAA AAA AAAA AAA AAAAAAAAAAAAA AAA AAA AAAA AAA AAAAAAAAAAAAA AAA AAA AAAA AAA AAAAAAAAAAAAA AAA AAA AAAA AAA Low-level input voltage, VIL Operating free-air free air temperature, temperature TA NOM MAX 2.7 3 3.3 0.7 VCC UNIT V V 0.2 VCC TIR1000 0 70 TIR1000I -40 85 Supply voltage, VCC High-level input voltage, VIH MIN MIN NOM MAX 4.5 5 5.5 0.7 VCC V C UNIT V V AAAAAAAAAAAAA AAA AAA AAAA AAA AAAAAAAAAAAAA AAA AAA AAAAA AAA AAA 0.2 VCC TIR1000 0 70 TIR1000I -40 85 V C electrical characteristics over recommended operating free-air temperature range (unless otherwise noted) PARAMETER TEST CONDITIONS TYP MAX High level output voltage High-level VOL Low level output voltage Low-level IOL = +4 mA IOL = +1.8 mA VCC = 5 V VCC = 3 V 0.5 II Input current VI = 0 to VCC, VCC = 5.25 V, All inputs at 0.2 V, No load on outputs All other pins floating 3 A 1 mA 2 MHz Supply current Ci(16XCLK) Clock input capacitance f(16XCLK) Clock frequency 2 VCC - 0.8 VCC - 0.55 UNIT VOH ICC VCC = 5 V VCC = 3 V MIN IOH = - 4 mA IOH = - 1.8 mA V 0.5 TA = 25C, 16XCLK at 2 MHz, 5 POST OFFICE BOX 655303 * DALLAS, TEXAS 75265 V pF TIR1000, TIR1000I STANDALONE IrDA ENCODER AND DECODER SLLS228F - DECEMBER 1995 - REVISED JULY 1999 switching characteristics PARAMETER tr tf TEST CONDITIONS MIN TYP MAX UNIT Output rise time C(LOAD) = 15 pF (10% to 90%) 1.3 ns Output fall time C(LOAD)= 15 pF (90% to 10%) 1.8 ns Typical values are at TA = 25C. APPLICATION INFORMATION Optoelectronics TIR1000, TIR1000I TL16C550C UART U_TXD SOUT U_RXD SIN IR_TXD To LED From TERMINAL IR_RXD 16XCLK RESET BAUDOUT RESET Figure 1. Typical application of the TIR1000, TIR1000I PRINCIPLES OF OPERATION IrDA overview The Infrared Data Association (IrDA) defines several protocols for sending and receiving serial infrared data, including rates of 115.2 kbps, 0.576 Mbps, 1.152 Mbps, and 4 Mbps. The low rate of 115.2 kbps was specified first and the others must maintain downward compatibility with it. At the 115.2 kbps rate, the protocol implemented in the hardware is fairly simple. It primarily defines a serial infrared data word to be surrounded by a start bit equal to 0 and a stop bit equal to 1. Individual bits are encoded or decoded the same whether they are start, data, or stop bits. The TIR1000 and TIR1000I evaluate only single bits and only follow the 115.2 kbps protocol. The 115.2 kbps rate is a maximum rate. When both ends of the transfer are set up to a lower but matching speed, the protocol (with the TIR1000 and TIR1000I) still works. The clock used to code or sample the data is 16 times the baud rate, or 1.843 Mhz maximum. To code a 1, no pulse is sent or received for 1-bit time period, or 16 clock cycles. To code a 0, one pulse is sent or received within a 1-bit time period, or 16 clock cycles. The pulse must be at least 1.6 s wide and 3 clock cycles long at 1.843 Mhz. At lower baud rates the pulse can be 1.6 s wide or as long as 3 clock cycles. The transmitter output, IR_TXD, is intended to drive a LED circuit to generate an infrared pulse. The LED circuits work on positive pulses. A terminal circuit is expected to create the receiver input, IR_RXD. Most, but not all, PIN circuits have inversion and generate negative pulses from the detected infrared light. Their output is normally high. The TIR1000 and TIR1000I can decode either negative or positive pulses on IR_RXD. POST OFFICE BOX 655303 * DALLAS, TEXAS 75265 3 TIR1000, TIR1000I STANDALONE IrDA ENCODER AND DECODER SLLS228F - DECEMBER 1995 - REVISED JULY 1999 PRINCIPLES OF OPERATION IrDA encoder function Serial data from a UART is encoded to transmit data to the optoelectronics. While the serial data input to this block (U_TXD) is high, the output (IR_TXD) is always low, and the counter used to form a pulse on IR_TXD is continuously cleared. After U_TXD resets to 0, IR_TXD rises on the falling edge of the seventh 16XCLK. On the falling edge of the tenth 16XCLK pulse, IR_TXD falls, creating a 3-clock-wide pulse. While U_TXD stays low, a pulse is transmitted during the seventh to tenth clocks of each 16-clock bit cycle. IIIIIIIIIIIIII NNNNNNNNNNNN NNNNNNNNNNNN 16 Cycles 16 Cycles 16 Cycles 16 Cycles 16XCLK U_TXD 16XCLK U_TXD 1 2 3 4 5 6 7 8 10 12 14 16 IR_TXD IR_TXD Figure 2. IrDA-SIR Encoding Scheme - Detailed Timing Diagram Figure 3. Encoding Scheme - Macro View IrDA decoder function After reset, U_RXD is high and the 4-bit counter is cleared. When a falling edge is detected on IR_RXD, U_RXD falls on the next rising edge of 16XCLK with sufficient setup time. U_RXD stays low for 16 cycles (16XCLK) and then returns to high as required by the IrDA specification. As long as no pulses (falling edges) are detected on IR_RXD, U_RXD remains high. NNNNNNNNNNNN NNNNNNNNNNNN 16 Cycles IR_RXD 16XCLK 16XCLK 16 Cycles 16 Cycles IR_RXD 1 2 3 4 5 6 7 8 10 12 14 16 U_RXD U_RXD Figure 4. IrDA-SIR Decoding Scheme - Detailed Timing Diagram 4 16 Cycles POST OFFICE BOX 655303 Figure 5. Decoding Scheme - Macro View * DALLAS, TEXAS 75265 TIR1000, TIR1000I STANDALONE IrDA ENCODER AND DECODER SLLS228F - DECEMBER 1995 - REVISED JULY 1999 PRINCIPLES OF OPERATION IrDA encoder function (continued) It is possible for jitter or slight frequency differences to cause the next falling edge on IR_RXD to be missed for one 16XCLK cycle. In that case, a 1-clock-wide pulse appears on U_RXD between consecutive zeroes. It is important for the UART to strobe U_RXD in the middle of the bit time to avoid latching this 1-clock-wide pulse. The TL16C550C UART already strobes incoming serial data at the proper time. Otherwise, note that data is required to be framed by a leading zero and a trailing one. The falling edge of that first zero on U_RXD synchronizes the read strobe. The strobe occurs on the eighth 16XCLK pulse after the U_RXD falling edge and once every 16 cycles thereafter until the stop bit occurs. IR_RXD 16XCLK 1 2 3 4 5 6 7 8 10 12 14 16 1 2 3 4 5 6 7 8 10 12 14 16 U_RXD Figure 6. Timing Causing 1-clock-wide Pulse Between Consecutive Ones 16 Cycles 16XCLK 16 Cycles NNNNNNNNNNNNNNNN IR_RXD U_RXD External Strobe 16 Cycles 7 Cycles Figure 7. Recommended Strobing For Decoded Data POST OFFICE BOX 655303 * DALLAS, TEXAS 75265 5 TIR1000, TIR1000I STANDALONE IrDA ENCODER AND DECODER SLLS228F - DECEMBER 1995 - REVISED JULY 1999 PRINCIPLES OF OPERATION IrDA encoder function (continued) The TIR1000 and TIR1000I can decode positive pulses on IR_RXD. The timing is different, but the variation is invisible to the UART. The decoder, which works from the falling edge, now recognizes a zero on the trailing edge of the pulse rather than on the leading edge. As long as the pulse width is fairly constant, as defined by the specification, the trailing edges should also be 16 clock cycles apart and data can readily be decoded. The zero appears on U_RXD after the pulse rather than at the start of it. IR_RXD 16XCLK 1 2 3 4 5 6 7 8 10 12 14 16 U_RXD Figure 8. Positive IR_RXD Pulse Decode - Detailed View 16 Cycles 16XCLK 16 Cycles 16 Cycles 16 Cycles NNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNN IR_RXD U_RXD Figure 9. Positive IR_RXD Pulse Decode - Macro View 6 POST OFFICE BOX 655303 * DALLAS, TEXAS 75265 PACKAGE OPTION ADDENDUM www.ti.com 2-Jul-2010 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Drawing Pins Package Qty Eco Plan (2) Lead/ Ball Finish MSL Peak Temp (3) Samples (Requires Login) TIR1000IPS ACTIVE SO PS 8 80 Green (RoHS & no Sb/Br) CU NIPDAU Level-1-260C-UNLIM Purchase Samples TIR1000IPSR ACTIVE SO PS 8 2000 Green (RoHS & no Sb/Br) CU NIPDAU Level-1-260C-UNLIM Purchase Samples TIR1000IPW ACTIVE TSSOP PW 8 150 Green (RoHS & no Sb/Br) CU NIPDAU Level-1-260C-UNLIM Contact TI Distributor or Sales Office TIR1000IPWG4 ACTIVE TSSOP PW 8 150 Green (RoHS & no Sb/Br) CU NIPDAU Level-1-260C-UNLIM Contact TI Distributor or Sales Office TIR1000IPWR ACTIVE TSSOP PW 8 2000 Green (RoHS & no Sb/Br) CU NIPDAU Level-1-260C-UNLIM Purchase Samples TIR1000IPWRG4 ACTIVE TSSOP PW 8 2000 Green (RoHS & no Sb/Br) CU NIPDAU Level-1-260C-UNLIM Purchase Samples TIR1000PSLE OBSOLETE SO PS 8 TIR1000PSR ACTIVE SO PS 8 2000 TIR1000PSRG4 ACTIVE SO PS 8 2000 TIR1000PWLE OBSOLETE TSSOP PW 8 TIR1000PWR ACTIVE TSSOP PW 8 2000 TIR1000PWRG4 ACTIVE TSSOP PW 8 2000 TBD Call TI Replaced by TIR1000PSR Green (RoHS & no Sb/Br) CU NIPDAU Level-1-260C-UNLIM Request Free Samples Green (RoHS & no Sb/Br) CU NIPDAU Level-1-260C-UNLIM Request Free Samples TBD Call TI Call TI Call TI Replaced by TIR1000PWR Green (RoHS & no Sb/Br) CU NIPDAU Level-1-260C-UNLIM Request Free Samples Green (RoHS & no Sb/Br) CU NIPDAU Level-1-260C-UNLIM Request Free Samples (1) The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Addendum-Page 1 PACKAGE OPTION ADDENDUM www.ti.com 2-Jul-2010 Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above. Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) (3) MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature. Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis. Addendum-Page 2 PACKAGE MATERIALS INFORMATION www.ti.com 14-Jul-2012 TAPE AND REEL INFORMATION *All dimensions are nominal Device Package Package Pins Type Drawing SPQ Reel Reel A0 Diameter Width (mm) (mm) W1 (mm) B0 (mm) K0 (mm) P1 (mm) W Pin1 (mm) Quadrant 12.0 16.0 Q1 TIR1000IPSR SO PS 8 2000 330.0 16.4 8.2 6.6 2.5 TIR1000IPWR TSSOP PW 8 2000 330.0 12.4 7.0 3.6 1.6 8.0 12.0 Q1 TIR1000PSR SO PS 8 2000 330.0 16.4 8.2 6.6 2.5 12.0 16.0 Q1 TIR1000PWR TSSOP PW 8 2000 330.0 12.4 7.0 3.6 1.6 8.0 12.0 Q1 Pack Materials-Page 1 PACKAGE MATERIALS INFORMATION www.ti.com 14-Jul-2012 *All dimensions are nominal Device Package Type Package Drawing Pins SPQ Length (mm) Width (mm) Height (mm) TIR1000IPSR SO PS 8 2000 367.0 367.0 38.0 TIR1000IPWR TSSOP PW 8 2000 367.0 367.0 35.0 TIR1000PSR SO PS 8 2000 367.0 367.0 38.0 TIR1000PWR TSSOP PW 8 2000 367.0 367.0 35.0 Pack Materials-Page 2 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46C and to discontinue any product or service per JESD48B. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All semiconductor products (also referred to herein as "components") are sold subject to TI's terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI's terms and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily performed. TI assumes no liability for applications assistance or the design of Buyers' products. Buyers are responsible for their products and applications using TI components. To minimize the risks associated with Buyers' products and applications, Buyers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in safety-critical applications. In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI's goal is to help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and requirements. Nonetheless, such components are subject to these terms. No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties have executed a special agreement specifically governing such use. Only those TI components which TI has specifically designated as military grade or "enhanced plastic" are designed and intended for use in military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI has specifically designated certain components which meet ISO/TS16949 requirements, mainly for automotive use. Components which have not been so designated are neither designed nor intended for automotive use; and TI will not be responsible for any failure of such components to meet such requirements. Products Applications Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers DLP(R) Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps DSP dsp.ti.com Energy and Lighting www.ti.com/energy Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial Interface interface.ti.com Medical www.ti.com/medical Logic logic.ti.com Security www.ti.com/security Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com OMAP Mobile Processors www.ti.com/omap TI E2E Community e2e.ti.com Wireless Connectivity www.ti.com/wirelessconnectivity Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright (c) 2012, Texas Instruments Incorporated