User manual
Installation and Operation
© 2012 Microchip Technology Inc. DS52057A-page 15
FIGURE 2-2: VISUAL BASIC APPLICATION WINDOW
The PC GUI shows typical sections for each of the SPI slave devices present on the
MCP2210 SPI Slave Motherboard.
2.3.5 MCP23S08 GPIO Expander controls
The GUI provides specific controls in order to assist the user in exploring the I/O
expander features. The control for this chip shows eight color-coded buttons, each
representing an I/O option.
FIGURE 2-3: MCP23S08 GPIO EXPANDER SECTION
By double-clicking on any of the buttons, the assigned I/O pin will toggle from being a
digital input to digital output and back.
For the I/Os designated as digital inputs, any change on the pins will be shown on the
GUI in yellow (for a logic high value) or in blue (for a logic low value).
For the I/Os designated as digital outputs, a single click on any of the I/O circles will
toggle their output value from logic low (in red) to logic high (in green). When a digital
output is set to logic high, the corresponding LED will be lit.
2.3.6 EEPROM 25LC02 Controls
The EEPROM GUI section presents a data-grid control and three buttons (see
Figure 2-4). The data-grid is organized in eight columns and sixty-four rows. The
EEPROM addresses are read from left to right, top to bottom, starting at location 0 (in
I/O Expander
Section
Temperature
Sensor
Section
ADC Section
I/O Expander Section
Selected EEPROM Address
I/O buttons
Color coded
reference table
for I/O option