MCP2122-E/P Microchip Technology, MCP2122-E/P Datasheet

no-image

MCP2122-E/P

Manufacturer Part Number
MCP2122-E/P
Description
IC ENCODER/DECODER IRDA 8-DIP
Manufacturer
Microchip Technology
Type
Infrared Encoder/Decoderr
Datasheets

Specifications of MCP2122-E/P

Applications
Data-Logging, Data Exchange
Voltage - Supply, Analog
1.8 V ~ 5.5 V
Voltage - Supply, Digital
1.8 V ~ 5.5 V
Mounting Type
Through Hole
Package / Case
8-DIP (0.300", 7.62mm)
Ic Function
Encoder / Decoder IC
Supply Voltage Range
1.8V To 5.5V
Operating Temperature Range
-40°C To +125°C
Digital Ic Case Style
DIP
No. Of Pins
8
Peak Reflow Compatible (260 C)
Yes
Leaded Process Compatible
Yes
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MCP212XDM - BOARD DEVELOPMENT IRDA
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP2122-E/P
Manufacturer:
MICROCHIP
Quantity:
12 000
MCP2120/22
Developer’s Board
User’s Guide
© 2009 Microchip Technology Inc.
DS51842A

Related parts for MCP2122-E/P

MCP2122-E/P Summary of contents

Page 1

... Microchip Technology Inc. MCP2120/22 Developer’s Board User’s Guide DS51842A ...

Page 2

... PICDEM, PICDEM.net, PICtail, PIC Select Mode, Total Endurance, TSHARC, 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 3

... C.2 What is NOT Tested .................................................................................... 45 Appendix D. Configuring the HyperTerminal D.1 Configuring the Hyperterminal® Program .................................................... 47 Appendix E. Continously Transmitted Data Table ................................................... 51 Appendix F. Programming the MCP212XDM ............................................................ 53 Worldwide Sales and Service .................................................................................... 54 © 2009 Microchip Technology Inc. MCP2120/22 DEVELOPER’S BOARD Table of Contents ........................................................................ 35 ...................................................... 36 ® Program ......................................... 47 USER’ ...

Page 4

... MCP2120/22 Developer’s Board User’s Guide NOTES: DS51842A-page iv © 2009 Microchip Technology Inc. ...

Page 5

... Document Layout • Conventions Used in this Guide • Recommended Reading • The Microchip Web Site • Customer Support • Document Revision History © 2009 Microchip Technology Inc. MCP2120/22 DEVELOPER’S BOARD Preface NOTICE TO CUSTOMERS USER’S GUIDE ® IDE on-line help. ...

Page 6

... Appendix E. “Continously Transmitted Data Table” – Shows the data table that the MCP2120/22 Developer’s Board transmits. • Appendix F. “Programming the MCP212XDM” – Gives information to assist in the programming of the MCP2120/22 Developer’s Board. DS51842A-page 2 ® Program” – Gives aid in the © 2009 Microchip Technology Inc. ...

Page 7

... N‘Rnnnn Text in angle brackets < > Courier New font: Plain Courier New Italic Courier New Square brackets [ ] Curly brackets and pipe character Ellipses... © 2009 Microchip Technology Inc. Represents Referenced books MPLAB Emphasized text ...is the only compiler... A window the Output window A dialog ...

Page 8

... You can also find important information in the following Microchip documents: • AN946 - “Interfacing the MCP2122 to the Host Controller”, DS00946. • AN923 - “Using the MCP2120 Developer's Board for IR Sniffing", DS00923. • AN756 - “Using the MCP2120 for Infrared Communications”, DS00756. ...

Page 9

... The USB interface signals are fully connected to the PIC18F65J50. So programs can be created where the PIC18F65J50 can communicate to the USB Host and to the MCP2122. This would allow the board to be used as an IrDA to USB converter. © 2009 Microchip Technology Inc. MCP2120/22 DEVELOPER’S BOARD and GND) ...

Page 10

... A MAX3238 compatible level-shifting IC with all the necessary hardware to support connection of a RS-232 host through the DB-9 connector. The port can be connected using a straight through cable. Refer to the MCP2122 Data Sheet (DS21894) or MCP2120 Data Sheet (DS21618) for more information on the Host Interface signals ...

Page 11

... DB-9 connector and associated hardware for direct connection to MCP2120 or MCP2122 UART (DB-9 interface requires RS-232 signal levels). 6. Twelve-pin header connection to Host UART interface. 7. Four jumpers (3-pin) to select source of UART signals. Either DB-9 connector or the PIC18F65J50. 8. External Clock (from PIC18F65J50’ ...

Page 12

... MCP2120/22 Developer’s Board User’s Guide FIGURE 1-1: MCP2120/22 DEVELOPER’S BOARD HARDWARE DS51842A-page © 2009 Microchip Technology Inc. ...

Page 13

... Board has a power plane for the PIC18F65J50 and related circuitry, and a second power plane for all other circuitry. Removing the jumper allows the MCP2120/22 portion to operate through the full voltage range of the MCP2120 (2.5V to 5.5V) or MCP2122 (1.8V to 5.5V). When JP2 is connected, then the maximum voltage is restricted to the maximum voltage of the PIC18F65J50 device (3.6V). See A.6 “ ...

Page 14

... MODE signal driven from PIC18’s RB1 pin DS51842A-page 10 This jumper selects the source of the MCP2120/22’s Reset signal JMP5 MCP2120/22 RST signal driven from DB-9 interface MCP2120/22 RST signal driven from PIC18’s RB0 pin © 2009 Microchip Technology Inc. ...

Page 15

... MCP2120/22 HOST UART INTERFACE CONNECTION These four jumpers connect the MCP2120/22’s Host UART Signals to either the PIC18F65J50 or the UART Driver device (U5) JMP1:JMP2:JMP3:JMP4:JMP5 © 2009 Microchip Technology Inc. MCP2120/22 Host UART Signals connected to PIC18F65J50 MCP2120/22 Host UART Signals connected to UART Driver (U5) Product Overview DS51842A-page 11 ...

Page 16

... MCP2120/22 Developer’s Board User’s Guide 1.3.3 Firmware Program Jumper Descriptions for MCP2122 Figure 1-5 shows the MCP2122 JMP6 program setting for the MCP2120/22 board. FIGURE 1-5: MCP2122 JMP6 FIRMWARE OPERATION Jumper to specify operation of PIC18F65J50 firmware JMP6 Device: N.A. MCP2122 ...

Page 17

... Baud (Crystal clock source only) Reserved Reserved 28800 Baud 57600 Baud 115200 Baud (Crystal clock source only) © 2009 Microchip Technology Inc. Product Overview Program Reserved Reserved Reserved PIC streams data from table PIC echos received Data Data Passes through PIC, UART1 Baud determined by JMP8, UART2 @ 115200 Data Passes through PIC, UART1 & ...

Page 18

... Developments Boards product page. This material can include such items as: • User’s Guide • Firmware • GUI programs • Schematic Capture and PCB Layout files DS51842A-page 14 ® compatible model with Windows Operating System (OS) ® OS includes a terminal emulation NOTICE © 2009 Microchip Technology Inc. ...

Page 19

... The MCP2120/22 Developer’s Board default firmware program can be used with either the MCP2122 (default device) or the MCP2120. The MCP2122 uses the PIC’s PWM pin to generate the 16XCLK signal. If the MCP2120 is used, the program will either source a 3.6864 MHz clock or the MCP2120 will use an external crystal (not installed). ...

Page 20

... The firmware may also generate a clock source which will be used by the MCP2122 and can be used by the MCP2120. Table 2-2 shows the state of the MODE7, MODE3 and MODE2:0 signals which are used to create the clock source for the MCP2120/22 device ...

Page 21

... Note 1 Designed for use with MCP2122 only Note 1 Designed for use with MCP2122 only Designed for use with MCP2122 only Designed for use with MCP2122 only Note 1 Designed for use with MCP2122 only Note 1 Designed for use with MCP2122 only Note 1 ...

Page 22

... PIC drives the MCP2120’s BAUD2:0 signals with the selected baud rate from the state of the RD2:0 signals. If the device is the MCP2122, then the PWM output frequency is determined from the state of the RD2:0 signals. This mode requires that the MCP2122’s TX and RX signals are directly connected to the MAX3238 compatible device ...

Page 23

... MCP2120 and to use a crystal as the clock source, then the PIC will control the state of the MCP2120’s MODE2:0 pins based on the state of the RD2:0 signals. This mode requires that the MCP2122’s TX and RX signals are directly connected to the MAX3238 compatible device. 2.2.1.4 ...

Page 24

... The com port settings should be configured as: • 115200 Baud • 8-bits • No Parity • One Stop • No Flow Control DS51842A-page 20 (1) (3) PC (2) Com 1 (1) System #1 MCP2120/22 Developer’s Board (2) (3) Com 2 System #2 MCP2120/22 Developer’s Board © 2009 Microchip Technology Inc. ...

Page 25

... FIGURE 2-2: DEMO #1 CONFIGURATION - DIRECT TO UART (DB-9) MODE DB-9 Connector Note: This is the board configuration shipped to customers. © 2009 Microchip Technology Inc. Installation and Operation Data Flow IR Transceivers DS51842A-page 21 ...

Page 26

... In the selected HyperTerminal program window, the displayed data is transmitted and is received and displayed by the other HyperTerminal program window. On the PC: In the selected HyperTerminal program window, the displayed data is transmitted, being received and displayed by the other HyperTerminal program window. — © 2009 Microchip Technology Inc. ...

Page 27

... USB cable (for power only). Hyperterminal to Serial Port Settings The com port settings should be configured as: • 115200 Baud • 8-bits • No Parity • One Stop • No Flow Control © 2009 Microchip Technology Inc. Installation and Operation (1) (3) PC (2) Com 1 (1) System #1 MCP2120/22 Developer’ ...

Page 28

... MCP2120/22 Developer’s Board User’s Guide FIGURE 2-4: DEMO #2 CONFIGURATION - ECHO CHARACTER RECEIVED MODE These jumpers can be in this configuration or removed. DS51842A-page 24 PIC18F65J50 © 2009 Microchip Technology Inc. IR Transceivers ...

Page 29

... On the PC: In the HyperTerminal program window (COM 1), type some alpha characters, such as “kLwtGh”. 8 Continue typing any alpha characters (upper or lower case) © 2009 Microchip Technology Inc. Installation and Operation Result — — — On the MCP2120/22 Developer’s Boards: The green power LED (D1) will turn on. ...

Page 30

... Hyperterminal to Serial Port Settings The com port settings should be configured as: • 115200 Baud • 8-bits • No Parity • One Stop • No Flow Control DS51842A-page 26 (1) (3) PC (2) Com 1 (1) System #1 MCP2120/22 Developer’s Board (3) System #2 MCP2120/22 Developer’s Board © 2009 Microchip Technology Inc. ...

Page 31

... FIGURE 2-6: DEMO #3 CONFIGURATION - DATA STREAM MODE These jumpers can be in this configuration or removed. © 2009 Microchip Technology Inc. Installation and Operation PIC18F65J50 IR Transceivers DS51842A-page 27 ...

Page 32

... On the MCP2120/22 Developer’s Board: — On the PC: The HyperTerminal window will indicate “connected” and the selected Baud rate settings. On the PC: The HyperTerminal program window will display a continuos data table stream. The Data Table is Figure E-1 shown in . © 2009 Microchip Technology Inc. ...

Page 33

... USB cable (for power only). Hyperterminal to Serial Port Settings The com port settings should be configured as: • 115200 Baud • 8-bits • No Parity • One Stop • No Flow Control © 2009 Microchip Technology Inc. Installation and Operation (1) (3) PC (2) Com 1 (1) System #1 MCP2120/22 Developer’ ...

Page 34

... MCP2120/22 Developer’s Board User’s Guide FIGURE 2-8: DEMO #4 CONFIGURATION - PASS THROUGH MODE DB-9 Connector DS51842A-page 30 PIC18F65J50 RX1 TX2 RX2 TX1 © 2009 Microchip Technology Inc. IR Transceivers ...

Page 35

... Open the PC: Make this file transfer transmitting from the other HyperTerminal program window. 12 Continue steps for as long as desired. © 2009 Microchip Technology Inc. Installation and Operation Result — — — On the MCP2120/22 Developer’s Boards: The green power LED (D1) will turn on. ...

Page 36

... MCP2120/22 Developer’s Board User’s Guide NOTES: DS51842A-page 32 © 2009 Microchip Technology Inc. ...

Page 37

... Board - Top layer plus Silk and Pads • Board - Bottom Layer • Board - V DD • Board - Ground Layer The layer order is shown in Figure A-1. FIGURE A-1: © 2009 Microchip Technology Inc. MCP2120/22 DEVELOPER’S BOARD NOTICE TO CUSTOMERS Layer LAYER ORDER USER’S GUIDE Top Layer ...

Page 38

... MCP2120/22 Developer’s Board User’s Guide A.2 BOARD - SCHEMATIC DS51842A-page 34 © 2009 Microchip Technology Inc. ...

Page 39

... A.3 BOARD - TOP SILK AND PADS © 2009 Microchip Technology Inc. Schematic and Layouts DS51842A-page 35 ...

Page 40

... MCP2120/22 Developer’s Board User’s Guide A.4 BOARD - TOP LAYER PLUS SILK AND PADS DS51842A-page 36 © 2009 Microchip Technology Inc. ...

Page 41

... A.5 BOARD - BOTTOM LAYER © 2009 Microchip Technology Inc. Schematic and Layouts DS51842A-page 37 ...

Page 42

... MCP2120/22 Developer’s Board User’s Guide A.6 BOARD - POWER LAYER DS51842A-page 38 © 2009 Microchip Technology Inc. ...

Page 43

... A.7 BOARD - GROUND LAYER © 2009 Microchip Technology Inc. Schematic and Layouts DS51842A-page 39 ...

Page 44

... MCP2120/22 Developer’s Board User’s Guide NOTES: DS51842A-page 40 © 2009 Microchip Technology Inc. ...

Page 45

... Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components. 2: This connector can be made by cutting a single .100 Single R/A 36POS into six pieces. © 2009 Microchip Technology Inc. MCP2120/22 DEVELOPER’S BOARD NOTICE TO CUSTOMERS ...

Page 46

... Mill-Max Manufacturing Corp. JAMECO VALUEPRO Part Number ® 10-89-1161 22-03-2021 NLV25T-100J-PF 104-00239 TC1108-3.3VDB ERJ-6GEYJ103V ERJ-3GEYJ103V ERJ-6GEY0R00V ERJ-6GEYJ470V ERJ-6GEYJ471V EVQ-PE104K PIC18F86J50-I/PT TFDU4300-TR3 SP3238EEY-L 110-99-314-41-001000 MUN2211T1G 110-99-308-41-001000 MCP2122-E/P ® 5016 ECS-147.4-20-5P-TR 0667-0-15-01-30-27-10-0 SJ-5003 (BLACK) ® 2012JH-R SJ-5003 (BLACK) © 2009 Microchip Technology Inc. ...

Page 47

... IC SOCKET 18PIN MS TIN/TIN .300 0 U8 MCP2120 in SOIC 0 U10 MCP2122 in SOIC 0 Y2 CRYSTAL 3.6864 MHZ 20PF 49US Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components. © 2009 Microchip Technology Inc. ...

Page 48

... MCP2120/22 Developer’s Board User’s Guide NOTES: DS51842A-page 44 © 2009 Microchip Technology Inc. ...

Page 49

... WHAT IS TESTED The MCP2120/22 Developer’s Board can be used in multiple configurations. Only a subset of these configurations will be tested. The following portions of the board are tested: • MCP2122 • TFDU-4300 (U5) and circuitry (JP1C1, JP2C1) • USB Power circuitry • DB-9 Interface and circuitry • ...

Page 50

... MCP2120/22 Developer’s Board User’s Guide NOTES: DS51842A-page 46 © 2009 Microchip Technology Inc. ...

Page 51

... Next, in the HyperTerminal program window, select File -> Properties. The window in Figure D-2 is shown. Ensure that the appropriate COM port is selected for both the “Golden” unit and the “Testing” unit. Then select the Configure button. FIGURE D-1: © 2009 Microchip Technology Inc. MCP2120/22 DEVELOPER’S BOARD ® PROGRAM ® ...

Page 52

... Figure D-3 with the “Bits per second” selected with 115200. After configuring the port settings, select OK. The Figure D-2 window will be shown. Select the Settings tab. FIGURE D-3: DS51842A-page 48 ® HyperTerminal PROGRAM PROPERTIES CONNECT TO WINDOW ® HyperTerminal PROGRAM PROPERTIES CONFIGURATION WINDOW © 2009 Microchip Technology Inc. ...

Page 53

... Translation Button window (Figure D-6). Click OK and close each window. After these “property” windows are closed, you may wish to save each configuration with a name that you can remember (one for COM1 and the other for COM2). FIGURE D-5: © 2009 Microchip Technology Inc. ® HyperTerminal PROGRAM PROPERTIES SETTINGS WINDOW ® ...

Page 54

... MCP2120/22 Developer’s Board User’s Guide FIGURE D-6: DS51842A-page 50 ® HyperTerminal PROGRAM INPUT TRANSLATION WINDOW © 2009 Microchip Technology Inc. ...

Page 55

... NOTE: 0x0D = Carriage Return, 0x0A = Line Feed © 2009 Microchip Technology Inc. MCP2120/22 DEVELOPER’S BOARD ; 10 Characters - Characters - Characters - Characters - 40 ...

Page 56

... MCP2120/22 Developer’s Board User’s Guide NOTES: DS51842A-page 52 © 2009 Microchip Technology Inc. ...

Page 57

... Converts RJ-11 connector of ICD 2 to pins to use for programming the (AC164110) PICkit interface on the MCP2120/22 Developer’s Board. — MCP2120/22 Devel- The board to program oper’s Board © 2009 Microchip Technology Inc. MCP2120/22 DEVELOPER’S BOARD ICD 2 USB Cable MCP2120/22 Developer’s Board USER’S GUIDE RJ-11 to ICSP Cable ...

Page 58

... Fax: 886-3-6578-370 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 © 2009 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 ...

Related keywords