background image

MCP212X Developer’s Daughter Board User’s Guide

DS51571B-page 18

©

 2006 Microchip Technology Inc.

2.5

MCP212X DEVELOPER’S DAUGHTER BOARD DESCRIPTION

The following sections describe each element of this daughter board in further detail.

2.5.1

Power

The MCP212X Developer’s Daughter Board is powered by a 5V supply. This voltage 
supply may be sourced via the PCB headers.
When the device is used in conjunction with the appropriate PICDEM™ Demo Board, 
the power is supplied via the connector interface. If the MCP212X Developer’s 
Daughter Board is jumpered into an application circuit via the HD1 connector, the 
device power supply must be brought over as well.

2.5.2

MCP212X IrDA

®

 Standard Encoder/Decoder Device

This demo board highlights the MCP2122 device (U4) and MCP2120 device (U1) to 
demonstrate the implementation of an IR port in an embedded system application. The 
MCP2120 device handles the encoding/decoding of the UART/IR bit stream. 
Further Host Controller interface information is available in the device documentation:
• MCP2122 Data Sheet, “Infrared Encoder/Decoder” (DS21894)
• MCP2120 Data Sheet, “Infrared Encoder/Decoder” (DS21618)
• AN946, “Interfacing the MCP2122 to the Host Controller” (DS00946)

2.5.2.1

MCP2122 OPERATION

The MCP2122 (U4) implements an IrDA standard encoder/decoder. The baud rate is 
determined by the frequency of the 16XCLK input.
The key signals for the MCP2122-to-microcontroller (Host UART) interface are shown 
in Table 2-4. The key signals for the MCP2122-to-IR transceiver circuit are shown in 
Table 2-5

TABLE 2-4:

MCP2122 HOST UART INTERFACE PINS

TABLE 2-5:

MCP2122 IR INTERFACE PINS

In addition to the signals described in Table 2-4 and Table 2-5, the MCP2120 RESET 
input is connected to the RESET output of the Host Controller.

Pin

Name

Pin 

Number

(PDIP)

Pin 

Type

Buffer 

Type

Description

TX

2

I

TTL

Asynchronous receive; from Host Controller UART

RX

3

O

Asynchronous transmit; to Host Controller UART

16XCLK

1

I

TTL

16 x Clock

Legend:

TTL = TTL compatible input 

ST = Schmitt Trigger input with CMOS levels 

I = Input 

O = Output 

Pin Name

Pin 

Number

(PDIP)

Pin 

Type

Buffer 

Type

Description

TXIR

2

O

Asynchronous transmit to IrDA

®

 standard 

transceiver

RXIR

3

I

ST

Asynchronous receive from infrared transceiver

Legend:

A = Analog 

P = Power 

I  = Input 

O= Output 

Содержание MCP212X

Страница 1: ...2006 Microchip Technology Inc DS51571B MCP212X Developer s Daughter Board User s Guide...

Страница 2: ...is a service mark of Microchip Technology Incorporated in the U S A All other trademarks mentioned herein are property of their respective companies 2006 Microchip Technology Incorporated Printed in t...

Страница 3: ...Operation 9 2 1 Introduction 9 2 2 Features 10 2 3 Getting Started 11 2 4 Making a Demo System 16 2 5 MCP212X Developer s Daughter Board Description 18 Appendix A Schematic and Layouts 21 A 1 Introdu...

Страница 4: ...ology Inc Appendix E Using the MCP212X Developer s Daughter Board with the PICDEM FS USB Demo Board 37 E 1 Demonstration with the PICDEM FS USB Demo Board 37 Appendix F Configuring the HyperTerminal P...

Страница 5: ...story NOTICE TO CUSTOMERS All documentation becomes dated and this manual is no exception Microchip tools and documentation are constantly evolving to meet customer needs so some actual dialogs and or...

Страница 6: ...ppendix B Bill Of Materials BOM Lists the parts used to build the MCP212X Developer s Daughter Board Appendix C Board Testing Discusses the testing of the MCP212X Developer s Daughter Board in several...

Страница 7: ...ialog button Click OK A tab Click the Power tab N Rnnnn A number in verilog format where N is the total number of digits R is the radix and n is a digit 4 b0010 2 hF1 Text in angle brackets A key on t...

Страница 8: ...rd for IR Sniffing This technique can assist in the debugging of an IrDA standard system The following documents may be useful depending on which PICDEM demo board you are using with the MCP212X Devel...

Страница 9: ...oduct selector and ordering guides latest Microchip press releases listing of seminars and events listings of Microchip sales offices distributors and factory representatives CUSTOMER SUPPORT Users of...

Страница 10: ...MCP212X Developer s Daughter Board User s Guide DS51571B page 6 2006 Microchip Technology Inc NOTES...

Страница 11: ...CP2122 TX and RX signals can either be connected jumpered directly to the RS 232 line driver or to the PICmicro MCU s RX and TX signals The PICmicro MCU could process that data and then send it out of...

Страница 12: ...MCP212X Developer s Daughter Board Kit includes The MCP212X Developer s Daughter Board with MCP2122 installed A MCP2120 sample device MCP212X Developer s Daughter Board User s Guide Electronic versio...

Страница 13: ...ected to your system When the MCP212X Developer s Daughter Board is used in conjunction with one of the low cost PICDEM Demo Boards it demonstrates the implementation of an embedded system with an IrD...

Страница 14: ...nnector Jumpers which can be used by the PICDEM demo board firmware program to determine the mode of operation 8 pin DIP socket for the installation of the MCP2122 14 pin DIP socket for the installati...

Страница 15: ...Header HD1 7 Jumpers to route the TX RX and 16XCLK signals 8 Jumpers to select the baud rate and mode 9 Footprint for two different optional optical transceiver circuits Vishay TFDU 4100 and Agilent H...

Страница 16: ...MCP212X Developer s Daughter Board User s Guide DS51571B page 12 2006 Microchip Technology Inc FIGURE 2 1 MCP212X DEVELOPER S DAUGHTER BOARD COMPONENT FLOOR PLAN...

Страница 17: ...ons between the MCP2120 s RX TX and 16XCLK signals as well as the header s RX TX and 16XCLK signals FIGURE 2 2 JMP1 JP6 JMP2 AND JMP3 JP7 CONFIGURATIONS 16XCLK Source JMP1 JP6 RX RX to H1 RC7 RXD 16XC...

Страница 18: ...RA0 signal JP2 is connected to the header s RA1 signal JP3 is connected to the header s RC0 signal and JP4 is connected to the header s RC1 signal These signals are also connected to the MCP2120 s BAU...

Страница 19: ...gnal Connected to VDD JP3 Hardware control of Header RC0 signal and MCP2120 BAUD2 signal S Signal Connected to VSS O Signal Connected to VDD JP4 Hardware control of Header RC1 signal and MCP2120 MODE...

Страница 20: ...n be used to demonstrate the MCP212X Developer s Daughter Board System Setup The system setup requires a PC with two serial communication ports UARTs and HyperTerminal the system application program T...

Страница 21: ...yte that is received is echoed in the opposite case lowercase uppercase and uppercase lowercase The PICDEM FS USB Demo Board only supports Echo mode The source code for these programs are available fo...

Страница 22: ...CP2122 Data Sheet Infrared Encoder Decoder DS21894 MCP2120 Data Sheet Infrared Encoder Decoder DS21618 AN946 Interfacing the MCP2122 to the Host Controller DS00946 2 5 2 1 MCP2122 OPERATION The MCP212...

Страница 23: ...2 7 the MCP2120 RESET input is connected to the RESET output of the Host Controller The EN input can be either hard wired or controlled by the Host Controller Pin Name Pin Number PDIP Pin Type Buffer...

Страница 24: ...HSDL 3000 Jumpers are used to allow all three implementations to be installed but with only one connected to the MCP2120 TXIR and RXIR pins 2 5 4 Signal Header To allow easy access to many of the sys...

Страница 25: ...ION This appendix contains the following schematics and layouts for the MCP212X Developer s Daughter Board Board Schematic Headers and Jumpers Board Schematic Circuitry Board Component Layer Board Top...

Страница 26: ...MCP212X Developer s Daughter Board User s Guide DS51571B page 22 2006 Microchip Technology Inc A 3 BOARD SCHEMATIC PAGE 1 M PICDEM 2 PICtail Daughter Board PICtail Daughter Board...

Страница 27: ...hematic and Layouts 2006 Microchip Technology Inc DS51571B page 23 A 4 BOARD SCHEMATIC PAGE 2 M 6 TXIR 3 OSC2 9 BAUD1 12 TX 7 MODE 1 VDD 4 R E SE T 5 RXIR 8 BAUD2 10 BAUD0 11 RX 14 VSS 13 EN 2 OSC1 CL...

Страница 28: ...MCP212X Developer s Daughter Board User s Guide DS51571B page 24 2006 Microchip Technology Inc A 5 BOARD LAYOUT COMPONENT LAYER...

Страница 29: ...Schematic and Layouts 2006 Microchip Technology Inc DS51571B page 25 A 6 BOARD LAYOUT TOP LAYER...

Страница 30: ...MCP212X Developer s Daughter Board User s Guide DS51571B page 26 2006 Microchip Technology Inc A 7 BOARD LAYOUT BOTTOM LAYER...

Страница 31: ...X14SG 1 H2 2x10 Male connector Header Jameco Valuepro 7000 2X10SG 1 HD1 1x14 Male connector Header Jameco Valuepro 7000 1x14SG 3 JMP1 JMP2 JMP3 1x3 Jumper Stakes Male Jameco Valuepro 7000 1x3SG 7 JP1...

Страница 32: ...um SMT 0 C8 4 7 F 16V SMT 0 C9 0 1 F SMT Panasonic ECG ECJ 2VB1C104K 0 JP1A JP1B JP1C JP2A JP2B JP2C 1x2 Jumper Stakes Male Jameco Valuepro 7000 1x2SG 0 R8 6 8 SMT 0 R9 14 SMT 0 R10 47 SMT 0 R11 0 SMT...

Страница 33: ...nd RXD signals Header 1 16XCLK signal Header 2 TX2 and RX2 signals JP4 JP6 JP7 C 2 WHAT IS NOT TESTED The following portions of the board are NOT tested MCP2120 and crystal circuitry TFDU 4100 and cir...

Страница 34: ...MCP212X Developer s Daughter Board User s Guide DS51571B page 30 2006 Microchip Technology Inc NOTES...

Страница 35: ...D 1 SYSTEM BLOCK DIAGRAM The firmware for these demos is available on the Microchip web site as well as on the AIPD Evaluation Board CD ROM The filename is 00063 HPC asm This code must be programmed i...

Страница 36: ...18 Note 1 Shaded values indicate a error that is larger than should be used 2 The following shows the PICDEM Demo Board device frequencies PICDEM HPC Explorer Demo Board has a 10 MHz crystal installed...

Страница 37: ...o Board s DB 9 connector and then to the PC The PICDEM HPC Explorer Demo Board is used to determine the communication baud rate 9600 via the JP3 JP2 and JP1 jumper states Given this state the PICmicro...

Страница 38: ...Unit Apply power to the unit via the 9V power supply On the System 2 Unit The green power LED D will turn on 7 On the System 2 Unit Connect the PC serial port cable that is connected to COM2 8 On the...

Страница 39: ...to the PC while the System 2 unit is not connected though it still needs to be powered The PICDEM HPC Explorer Demo Board is used to determine the communication baud rate 9600 via the JP3 JP2 and JP1...

Страница 40: ...ived Alpha character changing the case uppercase to lowercase and lowercase to uppercase 6 On the System 2 Unit Apply power to the unit via the 9V power supply On the System 2 Unit The green power LED...

Страница 41: ...DM163025 This system operates in a stand alone mode and will echo the characters it receives changing the case of the received alpha character Figure E 1 shows a block diagram of the demonstration sys...

Страница 42: ...d values indicate a error that is larger then should be used 2 The following shows the PICDEM Demo Board device frequencies PICDEM HPC Explorer Demo Board has a 10 MHz crystal installed 4xPLL 40 MHz P...

Страница 43: ...needs to be powered The PICDEM FS USB Demo Board is used to determine the communication baud rate 9600 via the JP3 JP2 and JP1 jumper states Given this state the PICmicro MCU can then supply the 16XC...

Страница 44: ...e 6 On the System 2 Apply power to the unit via the 9V power supply On the System 2 The green power LED D will turn on 7 On the System 1 Unit Depress and release Switch 2 S2 MCLR 8 On the System 2 Dep...

Страница 45: ...settings of the HyperTerminal program in the Windows operating system You should save each configuration of the HyperTerminal program in order to easily distinguish which HyperTerminal program window...

Страница 46: ...nal PROGRAM PROPERTIES CONNECT TO WINDOW This will open up the Port Settings window The port settings should be configured as shown in Figure F 3 After configuring the port settings select OK The Figu...

Страница 47: ...minal PROGRAM PROPERTIES SETTINGS WINDOW Ensure that your settings match the settings shown Select the OK button The window in Figure F 4 will again be shown Select the Input Translation button This w...

Страница 48: ...MCP212X Developer s Daughter Board User s Guide DS51571B page 44 2006 Microchip Technology Inc FIGURE F 6 HyperTerminal PROGRAM INPUT TRANSLATION WINDOW...

Страница 49: ...Configuring the HyperTerminal Program 2006 Microchip Technology Inc DS51571B page 45 NOTES...

Страница 50: ...21 5407 5066 China Shenyang Tel 86 24 2334 2829 Fax 86 24 2334 2393 China Shenzhen Tel 86 755 8203 2660 Fax 86 755 8203 1760 China Shunde Tel 86 757 2839 5507 Fax 86 757 2839 5571 China Wuhan Tel 86 2...

Страница 51: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Microchip MCP212XEV DB...

Отзывы: