MCP215XDM Microchip Technology, MCP215XDM Datasheet

BOARD DEMO FOR MCP215X

MCP215XDM

Manufacturer Part Number
MCP215XDM
Description
BOARD DEMO FOR MCP215X
Manufacturer
Microchip Technology
Datasheets

Specifications of MCP215XDM

Main Purpose
Interface, IrDA
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
MCP2150, MCP2155
Primary Attributes
IrDA Controller with PIC18F MCU
Secondary Attributes
Set up as a Data Logger with LCD, GUI, Socket for EEPROM, Battery Powerable
Processor To Be Evaluated
MCP2150
Silicon Manufacturer
Microchip
Silicon Core Number
MCP2150, MCP2155
Kit Application Type
Interface
Application Sub Type
Standard Protocol Stack Controller
Kit Contents
Board
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
MCP215XDMR
MCP215XDMR

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP215XDM
Manufacturer:
MICROCHIP
Quantity:
12 000
MCP215X Data Logger
Demo Board
User’s Guide
 2004 Microchip Technology Inc.
DS51516A

Related parts for MCP215XDM

MCP215XDM Summary of contents

Page 1

... Microchip Technology Inc. MCP215X Data Logger Demo Board User’s Guide DS51516A ...

Page 2

... PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel and Total Endurance 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

... A.1 Introduction .................................................................................................. 45 A.2 Schematics and PCB Layout ....................................................................... 45 Appendix B. Bill-Of-Materials (BOM) ......................................................................... 49 Appendix C. MCP215X Connection Sequence Overview ........................................ 51 Appendix D. MCP215X 250-byte Data Transmit Table ............................................. 53 Worldwide Sales and Service .................................................................................... 54  2004 Microchip Technology Inc. MCP215X DATA LOGGER DEMO BOARD USER’S GUIDE Table of Contents DS51516A-page iii ...

Page 4

... MCP215X Data Logger Demo Board User’s Guide NOTES: DS51516A-page iv  2004 Microchip Technology Inc. ...

Page 5

... MCP215X Data Logger Demo Board User’s Guide. Items discussed in this chapter include: • About This Guide • Recommended Reading • The Microchip Web Site • Customer Support  2004 Microchip Technology Inc. MCP215X DATA LOGGER DEMO BOARD USER’S GUIDE Preface ® IDE ...

Page 6

... Primary device and the MCP215X (Secondary device). This connection sequence is shown at an overview level and does not show exact operation. • Appendix D: 250 Byte Transmit Table – Shows the data that is transmitted by the program when in 250-Byte Transmit mode. DS51516A-page 2  2004 Microchip Technology Inc. ...

Page 7

... Text in angle brackets < > Courier font: Plain Courier Italic Courier 0xnnnn Square brackets [ ] Curly brackets and pipe character Ellipses...  2004 Microchip Technology Inc. Represents Referenced books MPLAB Emphasized text ...is the only compiler... A window the Output window A dialog the Settings dialog ...

Page 8

... IrDA standard device using IrCOMM. AN941, “Programming Windows This application note discusses the programming of a Windows interface to an IrDA standard device using IrCOMM. DS51516A-page 4 ® for Embedded IR Applications” (DS00888) ® XP for Embedded IR Applications” (DS00941)  2004 Microchip Technology Inc. ...

Page 9

... Microchip's development systems software products. This line also provides information on how customers can receive currently available upgrade kits. The Development Systems Information Line numbers are: 1-800-755-2345 – United States and most of Canada 1-480-792-7302 – Other International Locations  2004 Microchip Technology Inc. Preface DS51516A-page 5 ...

Page 10

... MCP215X Data Logger Demo Board User’s Guide NOTES: DS51516A-page 6  2004 Microchip Technology Inc. ...

Page 11

... Application Note 926) - Windows XP Primary device application program (and related Application Note 941) - Demo board firmware that can be conditionally assembled for either the MCP2150 or the MCP2155.  2004 Microchip Technology Inc. MCP215X DATA LOGGER DEMO BOARD USER’S GUIDE Chapter 1. Overview ® ...

Page 12

... MCP215X Data Logger Demo Board User’s Guide NOTES: DS51516A-page 8  2004 Microchip Technology Inc. ...

Page 13

... Host Controller and a MCP215X device. A discussion of the host UART interface is given in the following application note: • AN858, “Interfacing the MCP215X to a Host Controller”, DS00858  2004 Microchip Technology Inc. MCP215X DATA LOGGER DEMO BOARD USER’S GUIDE Pocket PC 2003 Windows XP ® ...

Page 14

... Variable resistor connected to PICmicro MCU A/D input • 8-pin DIP socket for the installation of an optional serial EEPROM (24LC256) DS51516A-page 10 ® In-Circuit Debugger (ICD) interface  2004 Microchip Technology Inc. ...

Page 15

... MCP215X DATA LOGGER DEMO BOARD BLOCK DIAGRAM 9V Battery Power Power LED Power Supply 3 ICD PICmicro SW3 SW2 RESET J4 VR1  2004 Microchip Technology Inc. Installation and Operation Optional LCD Module Not (2 Line x 16 Character) Installed VR2 RD7 ® MCU CTS RTS (40-pin) ...

Page 16

... TFDS 4500 TXD and RXD NOT Connected to MCP215x (Header 1 and 2 can be used) RD0 JP4 DSR JP7 RI DTR Discrete Transceiver Header JP2 JP1 U3 J5 JP5 Header 2 JP6 Ground/Float PORTD LEDs Cathode LED Cathode Grounded LED Cathode Floating (LEDs will not illuminate)  2004 Microchip Technology Inc. ...

Page 17

... ICD PICmicro MCU SW3 (40-pin) SW2 RESET MCP215X Header J4 VR1 MCP215X Enable MCP215X Enabled (Normal Operation) MCP215X in low-power state  2004 Microchip Technology Inc. Installation and Operation LCD Module (2 Line x 16 Character) RD7 ® CTS RTS JP3 Encoder / Decoder MCP215X U1 Header 1 and Header 2 ...

Page 18

... MCP215X BAUD1:BAUD0 pins are pulled up MCP215X BAUD1:BAUD0 pins are pulled down MCP215X BAUD1:BAUD0 pins are controlled by PIC16F877 I/O pins (R37 and R38 must be installed) RD0 JP4 DSR JP7 DTR Discrete Transceiver Header JP2 JP1 U3 J5 JP5 Header 2 JP6  2004 Microchip Technology Inc. ...

Page 19

... To connect V 4500 Legend Jumper is shorted (Closed) Note 1: This is the jumper settings for using the integrated transceiver where the PIC16F877 controls the baud rate and the PORTD LEDs are used.  2004 Microchip Technology Inc. Installation and Operation Description integrated optical transceiver (U5) - TFDS ...

Page 20

... MCP2155 device with only a change of the PIC16F877 firmware. The MCP2140 can be supported with some hardware modifications and changes to the PIC16F877 firmware. DS51516A-page 16 P data throughput P data throughput. DEMO PROGRAM SELECTION — = Not depressed  2004 Microchip Technology Inc. ...

Page 21

... FIGURE 2-5: SW3 Machine Program Selected  2004 Microchip Technology Inc. Installation and Operation PIC16F877 FIRMWARE FLOW - MAIN RESET Display Firmware Revision Information Display Program Selection Switch SW2 or SW2+SW3 SW2+SW3 Depressed? SW2 Display Vending Vending Machine Routine Display 250-byte S->P Transfer Program Selected 250-byte S-> ...

Page 22

... Once the command has been processed, the PIC16F877 waits for the next command to be received. The program flow for the vending machine demo is shown in Figure 2-6. DS51516A-page 18 VENDING MACHINE COMMANDS Command ASCII Code Hex Code 5 0x35 6 0x36  2004 Microchip Technology Inc. ...

Page 23

... Candy Information Switch Yes SW2 or SW3 Depressed? No Data Byte Yes Received from Primary Device 0x35? = 0x36?  2004 Microchip Technology Inc. Installation and Operation Which SW3 Switch is Depressed? SW2 Increment Soda Counter Data Yes Byte No Data Yes Byte Clear Soda and Candy ...

Page 24

... Transfer routine (routine has label S2Pxfer), there is a #define for the TableCNTR. This is set to ‘1’, but can be changed to allow the data table to be transmitted “TableCNTR” time. TableCNTR should not be greater than D’255’ (8-bit value) DS51516A-page 20  2004 Microchip Technology Inc. ...

Page 25

... Display Xfer 64B/Window Waiting Message Data Byte Yes Received from Primary Device? No Transfer Table Using 64B/Window Method  2004 Microchip Technology Inc. Installation and Operation Display Xfer if CTS Low Waiting Message Data Byte Yes Received from Primary Device? No Transfer Table Using ...

Page 26

... Demo Board with a Pocket PC PDA” or Section 2.4.3 “Running the MCP215X Data Logger Demo Board with a Window XP PC with an IrDA Standard Port”). FIGURE 2-8: PRIMARY DEVICE GUIS Palm™ PDA DS51516A-page 22 Pocket PC PDA ® Windows XP PC  2004 Microchip Technology Inc. ...

Page 27

... Other third-party programs may be used to communicate with the MCP215X Data Logger Demo Board, though these methods will not be discussed in this document. If additional information is desired, refer to the MCP2140 IrDA Sensor Demo Board User’s Guide (DS51487).  2004 Microchip Technology Inc. Installation and Operation ® for Embedded ® ...

Page 28

... The Send File button is used to send a file. 9. The 123 and ABC button opens a keyboard for data entry. The 123 button will open the numeric keyboard, while the ABC button will open the alpha keyboard. DS51516A-page 24 PALM PDA MAIN FORM Send File  2004 Microchip Technology Inc. ...

Page 29

... LCD. Depress Switch 2 until the soda counter displays 7 and depress Switch 3 until the candy counter displays 12. For demonstration purposes nice when the two counter values are different.  2004 Microchip Technology Inc. Installation and Operation Result — — — ...

Page 30

... LCD. — On the PDA: This will disconnect (close) the IR link. The Connect button will change to the Disconnect button. On the MCP215X Data Logger Demo Board: The CD and the CTS LEDs will turn off.  2004 Microchip Technology Inc. ...

Page 31

... Tap on the 123 button the PDA: Tap on the number (5) button the PDA: Tap on the Done button.  2004 Microchip Technology Inc. Installation and Operation Result — — — On the MCP215X Data Logger Demo Board: The green power LED (D10) will turn on, the DTR LED will be on, while all the other UART flow control signals (CTS, RTS, CD, RI and DSR) will be off ...

Page 32

... This will disconnect (close) the IR link. When the IR link is disconnected, the PC icon will change to indicate that the IR link is disconnected (has a red X). On the MCP215X Data Logger Demo Board: The CD and the CTS LEDs will turn off.  2004 Microchip Technology Inc. ...

Page 33

... Within this window is the capability to clear the trace buffer. 8. The Keyboard button opens a keyboard for data entry. The 123 button will open the numeric keyboard, while the ABC button will open the alpha keyboard.  2004 Microchip Technology Inc. Installation and Operation POCKET PC PDA WINDOW ...

Page 34

... On the MCP215X Data Logger Demo Board: The CD LED will turn on and the CTS LED will strobe rapidly and then return to the normal rate. This indicates that an IR link is established between the PDA and the demo board.  2004 Microchip Technology Inc. ...

Page 35

... Tap on the Read Data button. 14 Step 10 through Step 13 may be repeated the PDA: Tap on the Disconnect button.  2004 Microchip Technology Inc. Installation and Operation Result — On the MCP215X Data Logger Demo Board: The CTS LED will strobe rapidly and then return to the normal rate ...

Page 36

... On the MCP215X Data Logger Demo Board: The CD LED will turn on and the CTS LED will strobe rapidly and then return to the normal rate. This indicates that an IR link is established between the PDA and the demo board.  2004 Microchip Technology Inc. ...

Page 37

... Step 8 through Step 12 may be repeated the PDA: Tap on the Disconnect button.  2004 Microchip Technology Inc. Installation and Operation Result On the MCP215X Data Logger Demo Board: If Switch SW2 is depressed, then the Host Controller will only transmit data to the MCP2150 while the CTS signal is low ...

Page 38

... The Send File button allows the user to select a file on the PC and transfer it to the embedded system. 7. The Close button closes the application. DS51516A-page 34 WINDOWS XP PC WINDOW  2004 Microchip Technology Inc. ...

Page 39

... Place the mouse cursor over this icon the MCP215X Data Logger Demo Board: Depress Switch 2 (SW2 the IrDA standard demo PC program window: Depress and release the Connect button.  2004 Microchip Technology Inc. Installation and Operation ® XP Result — — — ...

Page 40

... This will disconnect (close) the IR link. When the IR link is disconnected, the PC icon will change to indicate that the IR link is disconnected (has a red X). On the MCP215X Data Logger Demo Board: The CD and the CTS LEDs will turn off. —  2004 Microchip Technology Inc. ...

Page 41

... On the MCP215X Data Logger Demo Board: Depress Switch 2 and Switch 3 (SW2 + SW3) simultaneously the MCP215X Data Logger Demo Board: Depress Switch 2 and Switch 3 to select which flavor of the program is executed.  2004 Microchip Technology Inc. Installation and Operation ® XP Result — — ...

Page 42

... This will disconnect (close) the IR link. When the IR link is disconnected, the PC icon will change to indicate that the IR link is disconnected (has a red X). On the MCP215X Data Logger Demo Board: The CD and the CTS LEDs will turn off. —  2004 Microchip Technology Inc. ...

Page 43

... MCP2150 data sheet, “IrDA Applications”, (DS21655) • MCP2155 data sheet, “IrDA Applications”, (DS21690) • Application Note 858, “Interfacing the MCP215X to a Host Controller”, (DS00858)  2004 Microchip Technology Inc. Installation and Operation ® Standard Protocol Stack Controller Supporting DTE ® ...

Page 44

... Carrier Detect. Indicates that the MCP2150 has established a valid link with a Primary Device link has not been established (No IR Link link has been established (IR link Schmitt Trigger input with CMOS levels O = Output Description ® standard Primary device.  2004 Microchip Technology Inc. ...

Page 45

... Legend: TTL = TTL compatible input I = Input Note 1: The state of the DTR output pin does not reflect the state of the DTR bit of the IrDA standard Primary device.  2004 Microchip Technology Inc. Installation and Operation MCP2155 HOST UART INTERFACE PINS Pin Pin ...

Page 46

... DS51516A-page 42 MCP2150 IR INTERFACE PINS Pin Pin Buffer Type Type (PDIP — Asynchronous transmit to IrDA transceiver Asynchronous receive from Infrared transceiver Power O = Output Description ® standard  2004 Microchip Technology Inc. ...

Page 47

... Signal Header To allow easy access to many of the system signals, a header (J4) was placed on one of the edges of the board. This allows the signals from the MCP2150 or MCP2155 to be accessed. FIGURE 2-12:  2004 Microchip Technology Inc. Installation and Operation ® Microcontroller Functions ® ...

Page 48

... Plug the discrete optical transceiver board into Header J1 and J5. Now the optical transceiver daughter board should be operational. FIGURE 2-13: DS51516A-page 44 to the integrated optical transceiver (U5)) DD from the integrated optical DD OPTICAL TRANSCEIVER DAUGHTER BOARD INTERFACE HEADER (J1 AND J5  2004 Microchip Technology Inc. ...

Page 49

... Figure A-2 shows the MCP215X Data Logger Demo Board schematic, while Figure A-3 and Figure A-4 show the layout for the two different layers. The layer order is shown in Figure A-1. FIGURE A-1:  2004 Microchip Technology Inc. MCP215X DATA LOGGER DEMO BOARD USER’S GUIDE LAYER ORDER ...

Page 50

... MCP215X Data Logger Demo Board User’s Guide FIGURE A-2: MCP215X DATA LOGGER DEMO BOARD SCHEMATIC DS51516A-page VDD 4 GND  2004 Microchip Technology Inc. ...

Page 51

... FIGURE A-3: MCP215X DATA LOGGER DEMO BOARD LAYOUT - TOP LAYER  2004 Microchip Technology Inc. DS51516A-page 47 ...

Page 52

... MCP215X Data Logger Demo Board User’s Guide FIGURE A-4: MCP215X DATA LOGGER DEMO BOARD LAYOUT - BOTTOM LAYER DS51516A-page 48  2004 Microchip Technology Inc. ...

Page 53

... Conn, Mod Jack, 6-6, R/A ,PCB, 50AU 1 VR1 Pot, 5 Thumbwheel Cerm ST 1 VR2 Do not populate 1 J4 Conn Header, 14POS, .100, VERT TIN  2004 Microchip Technology Inc. MCP215X DATA LOGGER DEMO BOARD USER’S GUIDE Description Manufacturer Panasonic Panasonic - ECG Panasonic - ECG Panasonic - ECG Fairchild ...

Page 54

... Omron Electronics, ® Inc -ECB Div ECS Inc. Aries Electronics CTS-Frequency Controls Mill-Max Manufacturing Corp. Part Number PIC18F452-I/P 110-93-640-41-001000 ® 24LC256 110-93-308-41-001000 MCP2150-I/P 110-93-318-41-001000 LM340T-5.0 TFDS4500-TR3 W02G ® CG-1621-SGR1C PCOG1602C-GNFD-C MV5464MP4B MV5064MP4B B3F-1000 ECS-100A-200 1107741 ATS111 0667-0-15-01-3027100  2004 Microchip Technology Inc. ...

Page 55

... Normal Response Mode (NRM) Send Data or Status Send Data or Status Shutdown link Return to NDM state  2004 Microchip Technology Inc. MCP215X DATA LOGGER DEMO BOARD USER’S GUIDE MCP215x (Secondary Device) No Response XID Response in timeslot y ...

Page 56

... MCP215X Data Logger Demo Board User’s Guide NOTES: DS51516A-page 52  2004 Microchip Technology Inc. ...

Page 57

... DT “9bcdefgh”, 0x0D, 0x0A 25 DT “a2345678”, 0x0D, 0x0A ; ; NOTE: 0x0D = Carriage Return, 0x0A = Line Feed ;  2004 Microchip Technology Inc. MCP215X DATA LOGGER DEMO BOARD USER’S GUIDE ; the first byte is the byte count ; 1 Characters ; 10 Characters ; 10 Characters ; 10 Characters ; 10 Characters ; 10 Characters ...

Page 58

... Fax: 65-6334-8850 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Taiwan - Hsinchu Tel: 886-3-572-9526 Fax: 886-3-572-6459  2004 Microchip Technology Inc. EUROPE Austria - Weis Tel: 43-7242-2244-399 Fax: 43-7242-2244-393 Denmark - Ballerup Tel: 45-4450-2828 Fax: 45-4485-2829 France - Massy Tel: 33-1-69-53-63-20 ...

Related keywords