1. Catalogs
  2. Microchip Technology Inc.
  3. Infrared Encoder/Decoder
video corpo

Infrared Encoder/Decoder

Infrared Encoder/Decoder
1 / 36 PagesView full catalog

Infrared Encoder/Decoder

Product catalog summary
Device Overview
The MCP2120 is a cost-effective infrared encoder/decoder designed to interface between a UART and an infrared optical transceiver. It encodes and decodes data according to the IrDA standard, making it ideal for wireless infrared communication applications.
Features
- Complies with IrDA Physical Layer Specification (version 1.3)
- Compatible with any UART, including standard 16550 and microcontroller UARTs
- Supports baud rates up to 115.2 kbaud (standard) and 312.5 kbaud (at 20 MHz)
- Low power consumption with CMOS technology
- Available in Pb-free packaging
Device Operation
The MCP2120 modulates and demodulates data for infrared communication, with baud rate selection via hardware pins or software commands. It can enter a low power mode using the EN pin.
Applications
Used in systems requiring infrared communication, such as portable computing devices, providing a reliable and economical connectivity solution.
Development Tools
The MCP212X Developer’s Daughter Board is available for evaluation and demonstration, compatible with various PICDEM demo boards.
Electrical Characteristics
Operates within -40°C to +125°C and supports a voltage range of 0 to +7V on VDD, with specific current and power dissipation limits.
Power Dissipation
Calculated using the formula: PDIS = VDD x {IDD - ∑ IOH} + ∑ {(VDD-VOH) x IOH} + ∑(VOL x IOL). Exceeding maximum ratings may cause permanent damage.
DC Characteristics
Standard operating conditions include a temperature range of -40°C to +85°C and a supply voltage range of 2.5V to 5.5V. Key parameters include supply current, device disabled current, and input/output voltage levels.
AC Characteristics
Focuses on timing parameters such as external clock timing, I/O timing, reset timing, and USART asynchronous transmission and reception requirements, with detailed timing diagrams and tables.
Graphs and Tables
Includes statistical summaries for design guidance, highlighting typical, maximum, and minimum values.
Important Notes
Data in the typical column is based on characterization results at +25°C and is for design guidance only. Exceeding specified limits may result in unstable operation.
Specifications
Operates within -40°C to +85°C, available in 14-lead PDIP and SOIC packages, with detailed electrical characteristics and packaging dimensions.
Packaging Information
Provides dimensions for PDIP and SOIC packages, including mold flash and tolerances, and embossed carrier dimensions for tape and reel packaging.
Product Identification System
Identified by part numbers specifying device, temperature range, and packaging type, such as MCP2120-I/P for PDIP and MCP2120-I/SL for SOIC.
Code Protection
Emphasizes robust code protection features, advising use within specified conditions to maintain security.
Revisions
Notes updates in February 2007, including changes to development tools and packaging outline drawings.
Contact Information
Lists worldwide sales and service contacts, including offices in the Americas, Asia/Pacific, and Europe.
See more

Catalog excerpts

Infrared Encoder/Decoder-1

© 2007 Microchip Technology Inc. DS21618B-page 1 MCP2120 Features • Supports with IrDA® Physical Layer Specification (version 1.3) • UART to IR Encoder/Decoder - Interfaces with IrDA Compliant Transceivers - Used with any UART, including standard 16550 UART and microcontroller UART • Transmit/Receive formats supported: - 1.63ìs • Hardware or Software Baud rate selection - Up to IrDA standard 115.2 kbaud operation - Up to 312.5 kbaud operation (at 20 MHz) - Low power mode • Pb-free packaging CMOS Technology • Low-power, high-speed CMOS technology • Fully static design • Low voltage operation • Commercial and Industrial temperature ranges • Low power consumption - < 1 mA @ 3.3V, 8 MHz (typical) - 3 mA typical @ 5.0V when disabled Pin Diagrams Block Diagram PDIP, SOIC MCP2120 VDD OSC1/CLKIN OSC2 RESET RXIR TXIR MODE VSS EN TX RX BAUD0 BAUD1 BAUD2 1234567 14 13 12 11 10 98 Decode TX TXIR RX RXIR EN MCP2120 Logic Baud Rate BAUD2 Generator BAUD1 BAUD0 MODE Encode Infrared Encoder/Decoder

 Open the catalog to page 1
Infrared Encoder/Decoder-2

MCP2120 DS21618B-page 2 © 2007 Microchip Technology Inc. NOTES:

 Open the catalog to page 2
Infrared Encoder/Decoder-3

© 2007 Microchip Technology Inc. DS21618B-page 3 MCP2120 1.0 DEVICE OVERVIEW This document contains device specific information for the following device: • MCP2120 This device is a low-cost, high-performance, fully-static infrared encoder/decoder. This device sits between a UART and an infrared (IR) optical transceiver. The data received from a standard UART is encoded (modulated), and output as electrical pulses to the IR Transceiver. The IR Transceiver also receives data which it outputs as electrical pulses. The MCP2120 decodes (demodulates) these electrical pulses and then the data is transmitted...

 Open the catalog to page 3
Infrared Encoder/Decoder-4

MCP2120 DS21618B-page 4 © 2007 Microchip Technology Inc. TABLE 1-2: PIN DESCRIPTION USER MODE Pin Name Pin Number Pin Type Buffer PDIP SOIC Type Description VDD 1 1 — P Positive supply for logic and I/O pins OSC1/CLKIN 2 2 I CMOS Oscillator crystal input/external clock source input OSC2 3 3 O — Oscillator crystal Output RESET 4 4 I ST Resets the Device RXIR 5 5 I ST Asynchronous receive from infrared transceiver TXIR 6 6 O — Asynchronous transmit to infrared transceiver MODE 7 7 I TTL Selects the device mode (Data/Command) for Software Baud Rate operation. For more information see Section 2.4.1.2...

 Open the catalog to page 4
Infrared Encoder/Decoder-5

© 2007 Microchip Technology Inc. DS21618B-page 5 MCP2120 2.0 DEVICE OPERATION The MCP2120 is a low cost infrared Encoder/Decoder. The baud rate is user selectable to standard IrDA baud rates between 9600 baud to 115.2 kbaud. The maximum baud rate is 312.5 kbaud. 2.1 Power-up Any time that the device is powered up, the Device Reset Timer delay (parameter 32) must occur before any communication with the device is initiated. This is from both the infrared transceiver side as well as the controller UART interface. 2.2 Device Reset The MCP2120 is forced into the reset state when the RESET pin is in...

 Open the catalog to page 5
Infrared Encoder/Decoder-6

MCP2120 DS21618B-page 6 © 2007 Microchip Technology Inc. 2.4.1.2 Software Selection When the BAUD2:BAUD0 pins are configured as ’111’ the MCP2120 defaults to a baud rate of FOSC / 768. To place the MCP2120 into Command Mode, the MODE pin must be at a low level. When in this mode, any data that is received by the MCP2120’s UART is "echoed" back to the controller and no encoding/ decoding occurs. The echoed data will be skewed less than 1 bit time (see parameter IR141). When the MODE pin goes high, the device is returned to Data Mode where the encoder/decoder is in operation. Table 2-2 shows the...

 Open the catalog to page 6
Infrared Encoder/Decoder-7

© 2007 Microchip Technology Inc. DS21618B-page 7 MCP2120 2.5 Modulation When the UART receives data to be transmitted, the data needs to be modulated. This modulated signal drives the IR transceiver module. Figure 2-2 shows the encoding of the modulated signal. Each bit time is comprised of 16-bit clocks. If the value to be transmitted (as determined by the TX pin) is a logic low, then the TXIR pin will output a low level for 7-bit clock cycles, a logic high level for 3-bit clock cycles, and then the remaining 6-bit clock cycles will be low. If the value to transmit is a logic high, then the...

 Open the catalog to page 7
Infrared Encoder/Decoder-8

MCP2120 DS21618B-page 8 © 2007 Microchip Technology Inc. 2.7 Encoding/Decoding Jitter and Offset Figure 2-4 shows the jitter and offset that is possible on the RX pin and the TXIR pin. Jitter is the possible variation of the desired edge. Offset is the propagation delay of the input signal (RXIR or TX) to the output signal (RX or TXIR). The first bit on the output pin (on RX or TXIR) will show jitter compared to the input pin (RXIR or TX), but all remaining bits will be a constant distance. 2.8 Minimizing Power The device can be placed in a low power mode by disabling the device (holding the...

 Open the catalog to page 8
Infrared Encoder/Decoder-9

© 2007 Microchip Technology Inc. DS21618B-page 9 MCP2120 3.0 DEVELOPMENT TOOLS The MCP212X Developer’s Daughter Board is used to evaluate and demonstrate the MCP2122 or the MCP2120 IrDA® Standard Encoder/Decoder devices. A header allows the MCP212X Developer’s Daughter Board to be jumpered easily into systems for development purposes. The MCP212X Developer’s Daughter Board is designed to interface to several of the “new” low cost PIC® Demo Boards. These include the PICDEM HPC Explorer Demo board, the PICDEM FS USB Demo board, and the PICDEM LCD Demo board. When the MCP212X Developer’s Daughter...

 Open the catalog to page 9
Infrared Encoder/Decoder-10

MCP2120 DS21618B-page 10 © 2007 Microchip Technology Inc. NOTES:

 Open the catalog to page 10
Infrared Encoder/Decoder-12

MCP2120 DS21618B-page 12 © 2007 Microchip Technology Inc. FIGURE 4-1: Voltage-Frequency Graph, -40°C TA +85°C 6.0 2.5 4.0 3.0 0 3.5 4.5 5.0 5.5 4 10 Frequency (MHz) VDD 20 (Volts) 2.0 8 12 16 FMAX = (8.0 MHz/V) (VDDAPPMIN -2.5V) + 4 MHz Note: VDDAPPMIN is the minimum voltage of the MCP2120 in the application.

 Open the catalog to page 12
Infrared Encoder/Decoder-13

© 2007 Microchip Technology Inc. DS21618B-page 13 MCP2120 4.1 DC Characteristics DC Characteristics Standard Operating Conditions (unless otherwise specified) Operating Temperature –40°C TA +85°C (industrial) Param. No. Sym Characteristic Min Typ(1) Max Units Conditions D001 VDD Supply Voltage 2.5 — 5.5 V See Figure 4-1 D002 VDR RAM Data Retention Voltage (2) 2.5 — — V Device Oscillator/Clock stopped D003 VPOR VDD Start Voltage to ensure Power-on Reset — VSS — V D004 SVDD VDD Rise Rate to ensure Power-on Reset 0.05 — — V/ms D010 IDD Supply Current (3) —————— 0.8 0.6 0.4 34 4.5 1.4 1.0 0.8 7 12...

 Open the catalog to page 13
*Prices are pre-tax. They exclude delivery charges and customs duties and do not include additional charges for installation or activation options. Prices are indicative only and may vary by country, with changes to the cost of raw materials and exchange rates.