MCP2140A-I/SO Microchip Technology, MCP2140A-I/SO Datasheet
![IC IRDA CONTROLLR DTE/DCE 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
MCP2140A-I/SO
Specifications of MCP2140A-I/SO
Available stocks
Related parts for MCP2140A-I/SO
MCP2140A-I/SO Summary of contents
Page 1
... RI SSOP RXPDREF 1 20 TXIR 2 19 PHACT RESET Block Diagram MCP2140A Encode and TX Protocol Handler Logic Baud PHACT Rate Generator Protocol + RX Handler - and Decode RTS CTS UART DSR Control DTR CD RI RXPD CD OSC1/CLKI OSC2 V DD RTS CTS DTR DSR RXPD CD OSC1/CLKI ...
Page 2
... Microcontroller SO SI RTS I/O CTS I/O DSR I/O DTR I/O CD I/O RI I/O PHACT I/O Note 1: Not all microcontroller I/O pins are required to be connected to the MCP2140A. DS22050A-page 2 MCP2140A TX TXIR Encode Baud Rate Generator RXPD RX + Decode - RXPDREF UART Control 0.1 µF Logic ...
Page 3
... IrDA standard operation requires a device frequency of 3.6864 MHz. The MCP2140A will specify the IR baud rate to the Primary Device during the Discover phase. The MCP2140A can operate in Data Communication Equipment (DCE) and Data Terminal Equipment (DTE) applications, and resides between a UART and an infrared optical transceiver ...
Page 4
... Microcontroller SO SI RTS I/O CTS I/O DSR I/O DTR I/O CD I/O RI I/O PHACT I/O Note 1: Not all microcontroller I/O pins are required to be connected to the MCP2140A. DS22050A-page 4 MCP2140A TX TXIR Encode Baud Rate Generator RXPD RX + Decode - RXPDREF UART Control 0.1 µF Logic ...
Page 5
... Protocol Handler Active. Indicates the state of the MCP2140A Protocol Handler. This output is an open collector external pull-up resistor may be required Protocol Handler is in the Discovery or NRM state 0 = Protocol Handler is in NDM state or the MCP2140A is in Low Power mode I ST Resets the Device — ...
Page 6
... Type Type I TTL Request to Send. Indicates that a Host Controller is ready to receive data from the MCP2140A. This signal is locally emulated and not related to the CTS/RTS bit of the IrDA Primary device Host Controller not ready to receive data 0 = Host Controller ready to receive data — ...
Page 7
... Microchip Technology Inc. 2.2 Device Reset The MCP2140A is forced into the reset state when the RESET pin is in the low state. Once the RESET pin is brought to a high state, the Device Reset sequence occurs. Once the sequence completes, functional operation begins ...
Page 8
... DS22050A-page 8 2.3.1.2 External Clock For applications where a clock is already available elsewhere, users may directly drive the MCP2140A provided that this external clock source meets the AC/ DC timing requirements listed in Diagrams and how an external clock circuit should be configured. FIGURE 2-2: ...
Page 9
... Host Controller is ready to receive serial data. several Once an IR packet with “data“ has been received by the MCP2140A, the RTS signal will need to be low for the received data to be transferred to the Host Controller. If the RTS signal remains high link timeout will ...
Page 10
... CTS WAVEFORM FROM HOST CONTROLLER STREAMING OF 250 BYTES TO THE MCP2140A CTS DS22050A-page 10 Receive Buffer IR Data Packet Transmitted Full (60 Bytes) Receive Buffer Empty MCP2140A Can Receive Data Receive Buffer Has 59 Bytes, CTS Pin Driven High IR Data Packet Starts Transmission © 2007 Microchip Technology Inc. ...
Page 11
... FIGURE 2-5: HOST UART CTS FLOW CONTROL FLOWCHART No Transmit? Return © 2007 Microchip Technology Inc. IR Flow Start Host Transmit No Buffer Avail? Yes Yes More No Bytes To DTR Low? Yes CTS Low? Yes Transmit Byte MCP2140A No DS22050A-page 11 ...
Page 12
... IrDA Standard format data and the decoder converts IrDA Standard format data into UART format data. 2.5.1 ENCODER (MODULATION) The data that the MCP2140A UART received (on the TX pin) that needs to be transmitted (on the TXIR pin) is modulated. This modulated signal drives the IR transceiver module. ...
Page 13
... Microchip Technology Inc. 2.6 IR Port Baud Rate The baud rate for the MCP2140A IR port (the TXIR and RXIR pins) is fixed at the default rate of 9600 baud. The Primary device will be informed of this parameter during NDM. The Host UART baud rate and the IR port baud rate are the same ...
Page 14
... Physical Signaling Layer (PHY) • Link Access Protocol (IrLAP) • Link Management Protocol/Information Access Service (IrLMP/IAS) The MCP2140A also supports some of the optional protocols for IrDA standard data. The optional protocols implemented by the MCP2140A are: • Tiny TP • IrCOMM ...
Page 15
... The device will exit the Low Power mode when the RXPD pin voltage crosses the REPDREF pin reference voltage. A device reset will also cause the MCP2140A to exit Low Power mode. After device initialization activity occurs for about 10 seconds, the device returns to the Low Power mode ...
Page 16
... MCP2140A 2.10 Buffers and Throughput The IR data rate of the MCP2140A is fixed at 9.6 kbaud. The actual throughput will be less due to several factors. Many significant factors are under the control of the developer. One factor beyond the control of the designer is the overhead associated with the IrDA standard ...
Page 17
... Microchip Technology Inc. Secondary Device Primary Device Responds to Decodes Secondary Open Link Frame Device Response Primary Device Primary Device Decodes Received Responds to Data Secondary Device Primary Device Primary Device Decodes Received Responds to Data Secondary Device MCP2140A Primary Device Responds to Secondary Device DS22050A-page 17 ...
Page 18
... MCP2140A HOST CONTROLLER RECEPTION (P → 250 BYTE PACKET FIGURE 2-13: (FROM PIC IRDA STANDARD STACK) DS22050A-page 18 © 2007 Microchip Technology Inc. ...
Page 19
... HOST CONTROLLER TRANSMISSION (S → 250 BYTE PACKET FIGURE 2-14: (TO PC WITH IRDA PORT) © 2007 Microchip Technology Inc. MCP2140A DS22050A-page 19 ...
Page 20
... MCP2140A FIGURE 2-15: HOST CONTROLLER TRANSMISSION (S (TO PDA HP IPAQ H2495B) DS22050A-page 20 → 250 BYTE PACKET © 2007 Microchip Technology Inc. ...
Page 21
... Note 2 2.12 Device ID Note 3, Note 4 The MCP2140A has a fixed Device ID. This Device ID is “MCP2140A XX”, with the xx indicating the silicon revision of the device. MCP2140A Table 2-4. Figure 2-10 shows the CTS ...
Page 22
... The MCP2140A was designed to interface to a integrated Optical Transceiver, although it can interface to a discrete solution as long as the MCP2140A specifications are meet. The MCP2140 required a wave shaping circuit to inter- face to typical integrated optical transceivers. An Example circuit is shown in the user guides of the MCP2140 Demo and evaluation boards ...
Page 23
... FIGURE 2-18: MCP2140A “BLUE WIRE” MODIFICATIONS OF MCP2140 WAVE SHAPING CIRCUIT RXD FIGURE 2-19: MCP2140A MODIFICATIONS OF MCP2140 WAVE SHAPING CIRCUIT © 2007 Microchip Technology Inc. +5V R16 (Open) R13 optional Q1 C19 R11 optional R20 (MCP2140A 4.7 kΩ “Blue Wire” +5V R14 10 kΩ ...
Page 24
... MCP2140, components of the circuit can be replaced to effectively remove the waveshaping circuit. See Section 2.13 “Optical Interface”. 2: The MCP2140A will drive the CTS signal active after the UART Receive Buffer has 59 bytes. The Receive buffer supports the reception of a 60th byte for systems that have 0 delay between UART data bytes ...
Page 25
... MCP2140 Wireless Temperature Sensor Demo Board These boards have not been tested with the MCP2140A, but the supplied device can easily be replaced with the MCP2140A. The waveshaping circuit of the MCP2140 will need to be modified. See Section 2.13 “Optical Interface” for additional infor- mation on modifing the MCP2140 wave shaping circuit ...
Page 26
... MCP215X/40 Developer's Daughter Board Part Number: MCP215X/40EV-DB Devices Supported: MCP2150, MCP2155, MCP2140, and MCP2140A The MCP215X/40 Developer’s Daughter Board is used to evaluate and demonstrate the MCP2150, MCP2155 or the MCP2140 IrDA® Standard Protocol Handler with Encoder/Decoder devices. Headers allow the MCP215X/40 Developer’s Daughter Board to be easily jumpered into systems for develop- ment purposes ...
Page 27
... FIGURE 3-3: MCP2140 IRDA WIRELESS TEMPERATURE SENSOR DEMO BOARD © 2007 Microchip Technology Inc. MCP2140A Features: • Demonstrates the MCP2140 IrDA Protocol Controller in a data logging application • Communicates directly to a laptop computer, Palm or Pocket PC PDA • Primary device application programs are provided ...
Page 28
... MCP2140A NOTES: DS22050A-page 28 © 2007 Microchip Technology Inc. ...
Page 29
... Thus, a series resistor 100Ω should be used when applying a “low” level to the RESET pin rather than pulling this pin directly to V © 2007 Microchip Technology Inc. ...................................................................................................... -0.3V to +14V ................................................................................. –0. ................................................................................................................... ± )............................................................................................................. ± ∑ DIS the RESET pin, inducing currents greater than 80 mA, may cause latch-up MCP2140A + 0.3V ∑ {( ∑( DS22050A-page 29 ) ...
Page 30
... MCP2140A VOLTAGE-FREQUENCY GRAPH, -40°C ≤ T FIGURE 4-1: 6.0 5.5 5.0 4.5 V 4.0 DD (Volts) 3.5 3.0 2.5 2 3.6864 DS22050A-page 30 ≤ +85° Frequency (MHz) © 2007 Microchip Technology Inc. 20 ...
Page 31
... RAM data. DD measurements are made when device is: DD MCP2140A ≤ +85°C (industrial) A Conditions See Figure 4-1 Device Oscillator/Clock stopped V = 2.0V, PHACT = 3.0V, PHACT = 5.0V, PHACT = ...
Page 32
... MCP2140A 4.1 DC Characteristics (Continued) DC Specifications Param Sym Characteristic No. Input Low Voltage V Input pins IL D030 TX, RI, DTR, RTS, and CD D030A D032 RESET D033 OSC1 Input High Voltage V Input pins IH D040 TX, RI, DTR, RTS, and CD D042 RESET D043 OSC1 Input Leakage Current (Notes 1, 2) ...
Page 33
... TppS T Time osc Oscillator tx Transmit RST Reset P Period R Rise V Valid Z High-impedance ≤ +85°C (industrial) A range as described in DC spec for all pins except OSC2 for OSC2 when external clock is used to drive OSC1 MCP2140A Section 4.1 “DC DS22050A-page 33 ...
Page 34
... MCP2140A 4.3 Timing Diagrams and Specifications FIGURE 4-3: EXTERNAL CLOCK TIMING Q4 OSC1 TABLE 4-3: EXTERNAL CLOCK TIMING REQUIREMENTS AC Specifications Param. Sym Characteristic No External CLKIN Period OSC (3) Oscillator Period 1A F External CLKIN OSC (3, 4) Frequency Oscillator Frequency 1B F Error in Frequency ERR 1C E External Clock Error ...
Page 35
... Standard Operating Conditions (unless otherwise specified): Operating Temperature: -40°C ≤ T ≤ +85°C (industrial) A Operating Voltage V range is described in DD Characteristics” (1) Min Typ Max Units 2000 — — 1024 — 1024 T OSC (2) ( 132 (2) — — 2.0 µs MCP2140A 34 Section 4.1 “DC Conditions = 5.0V = 5.0V DS22050A-page 35 ...
Page 36
... Transmit Baud rate TXBIT IR101 E Transmit (TX pin) Baud rate TXBIT Error (into MCP2140A) IR102 E Transmit (TXIR pin) Baud rate TXIRBIT Error (out of MCP2140A) Note 1: This error is not additive to IR101 parameter. DS22050A-page 36 Start Bit Data Bit IR100 IR100 IR103 IR103 Electrical Characteristics: Standard Operating Conditions (unless otherwise specified): Operating Temperature: -40° ...
Page 37
... Standard Operating Conditions (unless otherwise specified): Operating Temperature: -40°C ≤ T Operating Voltage V range is described in DD Characteristics” Min Typ 384 — — — — — MCP2140A Data Bit Data Bit IR110 IR110 ≤ +85×C (industrial) A Section 4.1 “DC Max Units Conditions 384 T OSC ±1 % ± ...
Page 38
... MCP2140A FIGURE 4-7: TXIR WAVEFORMS Start Bit Data bit 7 IR100A BITCLK IR122 TXIR IR121 0 TABLE 4-7: TXIR REQUIREMENTS AC Specifications Param. Sym Characteristic No. IR100A T Transmit Baud Rate TXIRBIT IR121 T PW TXIR pulse width TXIR IR122 T P TXIR bit period TXIR Note /16. ...
Page 39
... RXPD transitions from V DD MCP2140A IR132 IR132 1 0 Data bit ... ≤ +85°C (industrial) A Section 4.1 “DC Units Conditions T BAUD = 9600 OSC T BITCLK mV mV RXPD signal must cross ...
Page 40
... RXPD pulse edge to valid RXPD OSC device oscillator Note 1: At 9600 Baud bytes (of the 11 byte repeated SOF character). This allows the MCP2140A to recognize a SOF character and properly receive the IR packet. DS22050A-page 40 IR140 Electrical Characteristics: Standard Operating Conditions (unless otherwise specified): Operating Temperature: -40°C ≤ T ...
Page 41
... V (Volts) DD © 2007 Microchip Technology Inc 5.5V FIGURE 5- 125°C 85°C 10 25°C 5 0°C -40°C 0 5.0 5.5 2 2.5 MCP2140A = -40°C to +125°C. I (PHACT = L) VS. DD TEMPERATURE 125°C 85°C 25°C 0°C -40°C 3 3.5 4 4.5 5 5.5 V (Volts) DD DS22050A-page 41 ...
Page 42
... MCP2140A NOTES: DS22050A-page 42 © 2007 Microchip Technology Inc. ...
Page 43
... In the event the full Microchip part number cannot be marked on one line, it will be carried over to the next line, thus limiting the number of available characters for customer-specific information. © 2007 Microchip Technology Inc. MCP2140A Example MCP2140A-I/P ^^ XXXXX0724256 Example: MCP2140A e 3 I/SO ^^ XXXXX0724256 Example: ...
Page 44
... MCP2140A 18-Lead Plastic Dual In-Line (P) – 300 mil Body [PDIP] Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging N NOTE Number of Pins Pitch Top to Seating Plane Molded Package Thickness Base to Seating Plane Shoulder to Shoulder Width ...
Page 45
... BSC E1 7.50 BSC D 11.55 BSC h 0.25 – L 0.40 – L1 1.40 REF φ 0° – c 0.20 – b 0.31 – α 5° – β 5° – Microchip Technology Drawing C04-051B MCP2140A c MAX 2.65 – 0.30 0.75 1.27 8° 0.33 0.51 15° 15° DS22050A-page 45 ...
Page 46
... MCP2140A 20-Lead Plastic Shrink Small Outline (SS) – 5.30 mm Body [SSOP] Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging D N NOTE Number of Pins Pitch Overall Height Molded Package Thickness Standoff Overall Width Molded Package Width ...
Page 47
... The rules of how and when these packets are sent constitute the IrDA protocol. The MCP2140A supports elements of this IrDA standard protocol to communicate with other IrDA standard compatible devices. When a wired connection is used, the assumption is made that both sides have the same communications parameters and features ...
Page 48
... During NDM, the MCP2140A handles all responses to the Primary Device (Figure B-1) communication with the Host Controller. The Host Con- troller is inhibited by the CTS signal of the MCP2140A from sending data to the MCP2140A. © 2007 Microchip Technology Inc. without any ...
Page 49
... The MCP2140A identifies itself to the Primary Device as a modem. Note: The MCP2140A identifies itself as a modem to ensure that it is identified as a serial device with a limited amount of memory. However, the MCP2140A is not a modem, and the non- data circuits are not handled in a modem fashion. B-1) with- MCP2140A DS22050A-page 49 ...
Page 50
... No Response to Broadcast ID UA response with parameters using connect address Confirm channel open for IAS Provide IAS responses Confirm channel open for data (MCP2140A DSR pin driven low) Send Data or Status Send Data or Status Confirm shutdown (back to NDM state) PHACT pin driven Low ...
Page 51
... Figure C-1 shows the ISO Network Reference Model. The shaded areas are implemented by the MCP2140A, while the cross-hatched area is implemented by an infrared transceiver. The unshaded areas should be implemented by the Host Controller. FIGURE C-1: ISO REFERENCE LAYER MODEL OSI REFERENCE LAYERS Application ...
Page 52
... Physical Signaling Layer (PHY) • Link Access Protocol (IrLAP) • Link Management Protocol/Information Access Service (IrLMP/IAS) The MCP2140A also supports some of the optional protocols for IrDA data. The optional protocols that the MCP2140A implements are: • Tiny TP • IrCOMM ...
Page 53
... Device discover procedures • Hidden node handling. 115.2 kbaud Note: Not supported by MCP2140A. Figure C-3 identifies the key parts and hierarchy of the IrDA protocols. The bottom layer is the Physical layer, IrPHY. This is the part that converts the serial data to and from pulses of IR light. IR transceivers can’ ...
Page 54
... The IrCOMM standard is a syntax that allows the Primary Device to consider the Secondary Device a serial device. IrCOMM allows for emulation of serial or parallel (printer) connections of various capabilities. Note: The MCP2140A supports the 9-wire “cooked” service class of IrCOMM. Other service classes supported by IrCOMM are shown in IrCOMM Services ...
Page 55
... Also how call control and real-time voice are handled (RTCON). Note: Not supported by MCP2140A. C.1.7.5 IrDA Lite IrDA Lite describes how to reduce the application code requirements, while maintaining compatibility with the full implementation. Note: Not supported by MCP2140A. © 2007 Microchip Technology Inc. MCP2140A DS22050A-page 55 ...
Page 56
... MCP2140A APPENDIX D: DB-9 PIN INFORMATION Table D-1 shows the DB-9 pin information and the direction of the MCP2140A signals. The MCP2140A is designed for use in Data Communications Equipment (DCE) applications. TABLE D-1: DB-9 SIGNAL INFORMATION DB-9 Signal Direction Pin No. HC → MCP2140A MCP2140A → ...
Page 57
... Plastic DIP (300 mil, Body), 18-lead SO = Plastic SOIC (300 mil, Body), 18-lead SS = Plastic SSOP (209 mil, Body), 20-lead © 2007 Microchip Technology Inc. MCP2140A . Examples: a) MCP2140A-I/P: Industrial Temp., PDIP packaging b) MCP2140A-I/SO: Industrial Temp., SOIC package c) MCP2140AT-I/SS: Tape and Reel, Industrial Temp., SSOP package DS22050A-page 57 ...
Page 58
... MCP2140A NOTES: DS22050A-page 58 © 2007 Microchip Technology Inc. ...
Page 59
... PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...
Page 60
... Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2007 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...