Installation and Operation
2.4
MCP23X17 EVALUATION BOARD DESCRIPTION
2.4.1
Major Board Components
1. MCP23017 and MCP23S17 - The two devices under evaluation/demonstration.
Both devices are connected to the same inputs and outputs and selector switch
is used to select which device the PICmicro controls. A mux is used to route the
serial (I 2 C or SPI) from the PICmicro to the MCP23X17.
2. LEDs - These are connected to the MCP23X17 GPIO configured as outputs.
3. Momentary Buttons - These are connected to the MCP23X17 configured as
inputs.
4. PIC16F818 - Reads the selector switch and controls the MCP23X17 devices.
5. Headers - There are two headers which are connected to the MCP23X17 pins to
allow off-board connections.
6. Jumpers - The jumpers are used to isolate the MCP23X17 pins so they can be
connected to an off-board circuit. The jumpers are not populated, however, they
are shorted by a trace on the bottom of the PCB.
7. Power - The boards can be powered by 9V via the power jack (J2) or by applying
5V directly to the power points (TP1 and TP2).
2.5
FIRMWARE DESCRIPTION
See Figure 2-2 for the main firmware flow diagram
1. The firmware first configures the PIC16F818 microcontroller.
2. The firmware configures the MCP23X17 devices (4-inputs, 12-outputs, enable
interrupts, etc.).
3. The firmware checks the selector switch to determine which MCP23X17 to
communicate with during the main loop.
4. The “other” MCP23X17 is configured to all inputs so that it does not cause
contention on LED connections.
5. The MCP23X17 inputs are sampled.
6. The LEDs light up in a pattern as defined by the button which was pressed. If no
button is pressed, the LEDs maintain the current sequence.
? 2006 Microchip Technology Inc.
DS51592B-page 9
相关PDF资料
MCP2515DM-PTPLS BOARD DAUGHTER PICTAIL MCP2515
MCP3905EV BOARD DEMO FOR MCP3905
MCP402XEV BOARD EVAL FOR MCP402X
MCP42XXEV BOARD EVALUATION MCP42XX
MCP43XXEV BOARD EVALUATION MCP43XX
MCP46XXDM-PTPLS BOARD PICTAIL DIGI POT MCP4XXX
MCP46XXEV EVAL BOARD FOR MCP46XX
MCP4XXXDM-DB BOARD DAUGHTER DIGIPOT MCP4XXX
相关代理商/技术参数
MCP-24 制造商:Taiyo Electric Ind. 功能描述:
MCP-240-00002-00 制造商:SUPER MICRO COMPUTER, INC. 功能描述:SPARE PARTS - Trays
MCP-240-00031-00 制造商:SUPER MICRO COMPUTER, INC. 功能描述:2U, REAR WINDOW ACCESSORY KITS, SC825'S (RISER CARD SOLUTION - Bulk
MCP-240-00032-00 制造商:SUPER MICRO COMPUTER, INC. 功能描述:2U, REAR WINDOW ACCESSORY KITS, SC825'S (RISER CARD SOLUTION - Bulk
MCP-240-00063-0N 制造商:Supermicro Computer Inc 功能描述:REAR WINDOW ACCESSORY KIT FOR 2U 825 制造商:SUPER MICRO COMPUTER, INC. 功能描述:3XFH ADD ON CARD REAR I/O PANEL FOR SC825 CHASSIS. - Bulk
MCP-240-00064-0N 制造商:SUPER MICRO COMPUTER, INC. 功能描述:BACK PANEL FOR THE CSE-825TQ-R700LPB - Bulk
MCP-240-00098-0N 制造商:SUPER MICRO COMPUTER, INC. 功能描述:WIO REAR WINDOW FOR SC113, SC815 REDUNDANT PWS - Bulk
MCP-240-00099-0N 制造商:SUPER MICRO COMPUTER, INC. 功能描述:1U WIO RISER CARD BRACKET - Bulk