Information
MCP2120/22 DEVELOPER’S BOARD
USER’S GUIDE
© 2009 Microchip Technology Inc. DS51842A-page 15
Chapter 2. Installation and Operation
2.1 INTRODUCTION
To demonstrate the operation of the MCP2120/22 Developer’s Board, a second
Encoder/Decoder board (MCP212XDM, MCP212XEV-DB plus PICDem Board, or the
MCP2120 Developer’s Board from the MCP2120/50 Developer’s Kit (DM163008)) is
required.
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).
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:
• Demo #1 Operation - Direct IR / UART (DB-9) Mode
• Demo #2 Operation - Echo Character Received (Change Case)
• Demo #3 Operation - Data Stream Mode
• Demo #4 Operation - Pass Through Mode 1
The component layout floor plan of the MCP2120/22 Developer’s Board
(MCP2120/22DM) PCB is shown in Figure 2-1 while Table 2-1 shows the hardware
requirements to demonstrate the MCP2120/22 Developer’s Board.
TABLE 2-1: DEMO SYSTEM HARDWARE REQUIREMENTS
Qty Hardware Purpose
2
(1)
PC with:
a) One serial port to
communicate to the
MCP2120/22 Developer’s
Board.
b) One USB port to power the
MCP2120/22 Developer’s
Board
Each MCP2120/22 Developer’s Board is an encoder/decoder
and can “talk” to the PC’s UART port. The PC’s USB port will
power the MCP2120/22 Developer’s Board.
Also:
Each PC’s UART port will “talk” with the MCP2120/22’s UART
interface.
The PC will run two instances of HyperTerminal, one connected
to each of the PC’s serial ports (UARTs).
2 Serial Cable To connect the PC serial ports to the MCP2120/22 Developer’s
Board serial port.
2 USB Cable To power the MCP2120/22 Developer’s Board from the PC’s
USB port.
2 MCP2120/22 Developer’s Board These are the units to program and test.
Note 1: Depending on the features of the PC, only one PC may be required. The PC would be required
to have two Serial Ports (UARTs) and two USB ports (see Figure 2-1).
Note: To keep the board’s cost low, only a portion of the MCP2120/22 Developer’s
Board is tested. This test covers the major portions of the system. The
portions that are and are not tested are shown in Appendix C. “Board
Testing”.