MCP212XDM Microchip Technology, MCP212XDM Datasheet

BOARD DEVELOPMENT IRDA

MCP212XDM

Manufacturer Part Number
MCP212XDM
Description
BOARD DEVELOPMENT IRDA
Manufacturer
Microchip Technology
Datasheet

Specifications of MCP212XDM

Main Purpose
Interface, IrDA
Utilized Ic / Part
MCP2120, MCP2122
Silicon Manufacturer
Microchip
Silicon Core Number
MCP2120, MCP2122
Core Architecture
PIC
Core Sub-architecture
PIC18
Kit Contents
MCP2120/22 Developers Board, Important Information Read First
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Secondary Attributes
-
Embedded
-
Primary Attributes
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

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

Related parts for MCP212XDM

MCP212XDM 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.1 What is Tested ............................................................................................. 45 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 ...

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

... HyperTerminal application. • 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 ® ...

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

... Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: http://support.microchip.com. DOCUMENT REVISION HISTORY Revision A (June 2009) • Initial Release of this Document. DS51842A-page 4 © 2009 Microchip Technology Inc. ...

Page 9

... 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). When using the power test points, if JP2 is shorted, the DD USER’ ...

Page 10

... 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. DS51842A-page 6 CAUTION and GND Test Points, then care must be taken DD © 2009 Microchip Technology Inc. ...

Page 11

... Jumper to select source of MCP2120/22 Reset signal. 17. Jumper to select source of MCP2120 MODE signal. 18. MCP2120/22 SOIC and DIP Footprints (DIP package is the default installation). Note: A schematic of the MCP2120/22 Developer’s Board is shown in Section A.2 “Board - Schematic” © 2009 Microchip Technology Inc. Product Overview DS51842A-page 7 ...

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

... V planes are connected DD V planes are issolated DD © 2009 Microchip Technology Inc. This jumper isolates the PIC18 These two jumpers select the optical CCP pin (Clock) from the transceiver logic. Both jumpers should MCP2120/22 crystal circuit. connect the same pin positions. ...

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

... DS51842A-page 12 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 & UART2 at same Baud Rate 16XCLK Only © 2009 Microchip Technology Inc. ...

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

... MHz clock or the MCP2120 will use an external crystal (not installed). The program expects the crystal frequency to be 7.3728 MHz. Although the MCP212XDM board supports many operational configurations, only a few will be described. The other modes are left for the customer to experiment with. The configurations described are: • ...

Page 20

... All the other I/O pins will either be left as an input so not to conflict with other signals, or will be configured as an output and driven high or low. Note: The connectivity of these PIC18F65J50 signals to the MCP2120/22 is dependant on the configuration of the Jumpers JP1 and JMP1 through JMP5. DS51842A-page 16 © 2009 Microchip Technology Inc. ...

Page 21

... Baud rate would be dependant on the state of the MCP2120’s BAUD2:0 pins 7.3728 MHz external crystal must be used. 3: This exceeds the device’s maximum specification. 4: The MCP2122 16XCLK signal is static. © 2009 Microchip Technology Inc. Installation and Operation MCP2120 Comment Baud Note 1 Designed for use with MCP2122 only ...

Page 22

... MCP2120/22 Developer’s Board User’s Guide TABLE 2-3: MCP212XDM FIRMWARE PROGRAM SELECTION MODE Program 7 3 6:4 1 Generate Clock only (determined by RD0:RD2 Clock Generation Generate Clock only (determined by RD0:RD2 Generate Clock only (@ 3.6864 MHz Pass Data Through (UART1 <---> UART2 Pass Data Through (UART1 --> UART2) with UART2 fixed at 115,200 Baud Echo Data Received and change case (A --> ...

Page 23

... SP3238 device). Data received on RX1 (UART1) is transmitted on TX2 (UART2). Data received on RX2 (UART2) is transmitted on TX1 (UART1). This allows the PIC24 to monitor all data that is sent across the link. UART1 operate at the selected baud rate and UART2 operates at a fixed 115,200 baud. © 2009 Microchip Technology Inc. Installation and Operation DS51842A-page 19 ...

Page 24

... HyperTerminal Program Window B (2) (Com 2) Monitor Note 1: The PC may be a Notebook with an Integrated IR port. 2: Serial cable. Connects MCP212XDM to PC. 3: USB cable (for power only). Hyperterminal to Serial Port Settings The com port settings should be configured as: • 115200 Baud • 8-bits • No Parity • ...

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

... 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. Bill Of Materials (BOM) Description Manufacturer Panasonic - ECG ® ...

Page 48

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

Page 49

... JP1 and JP2 open • JMP6 (RD0, RD0, RD2, RD3, RD7) • JMP5 (P2 – P3) • JMP7 (P1 – P2) • JP1A1, JP2A1, JP1B1, JP2B1 • USB Data Lines • Switch S1 © 2009 Microchip Technology Inc. MCP2120/22 DEVELOPER’S BOARD USER’S GUIDE DS51842A-page 45 ...

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

... Appendix F. Programming the MCP212XDM Note: The MCP212XDM is shipped with the default demonstration firmware programmed into the PIC18F65J50. The user may reprogram the PIC18F65J50 with their application firmware or the supplied demo firmware. The programming will require the following items: • USB port for programming • ...

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