Installation and Operation
© 2012 Microchip Technology Inc. DS52056A-page 13
FIGURE 2-1: SPI TERMINAL UTILITY WINDOW
After the application is started, the state of the connection with the MCP2210 is shown
in the Status Messages section (lower left corner of the screen).
The user can establish the GP configuration. The GPs can be used as chip select pins.
Each GP Active and Idle value can be established by selecting the appropriate check
boxes, or by directly supplying the correct value in the GP Direct Settings section. The
same behavior applies to the GP designation (the GP designation can be established
by clicking the appropriate radio button, or by directly supplying the GP designation
value in the GP Settings Direct Values section).
The SPI settings pertaining to the needed SPI transfer can be established in the SPI
Parameters section.
The data to be sent goes in the Tx Data field. To send the data to the SPI slave device,
click the SPI Transfer Data button on the lower-right side of the screen. The data
received from the SPI slave device is displayed in the Rx Data field.
The user data can be supplied in either HEX or Decimal mode. This can be accom-
plished by selecting the HEX mode check box. The data in the Tx and Rx Data fields
will be displayed in HEX or Decimal.
GP Settings Section
Transfer Data button
Status messages
SPI Transfer
Parameters
Section
HEX/Decimal
user data
mode
SPI user data
section
GP Direct
Settings section
MCP2210 Breakout Module User’s Guide
DS52056A-page 14 © 2012 Microchip Technology Inc.
A wider range of tests is available when using this board and the utility software with
the MCP2210 Evaluation Kit (ADM00421). This kit allows communication with several
SPI slave devices (I/O expander, EEPROM, ADC and temperature sensor). For more
details on examples using the SPI Terminal Utility software, see MCP2210 Evaluation
Kit User’s Guide (DS52057).
2.4 MCP2210 TYPICAL USAGE SCENARIOS
MCP2210 can be used in systems where an SPI bus is available. The MCP2210 can
be either the single master on the bus, or one of the masters sharing the bus, if a proper
master access arbitration scheme is in place.
A typical usage scenario is shown in Figure 2-2, where MCP2210 is the only master on
the SPI bus. This links the SPI slave chips in the system, while a few GPs (configured
for Chip Select function) can be used as Chip Select lines.
If SPI slave interrupt monitoring is required, the GP6 needs to be configured for its
dedicated function, in order to monitor the interrupts coming from the SPI slave chips.
The PC application will take care of all the details necessary for data transfer between
the MCP2210 and the SPI slave chips.
FIGURE 2-2: MCP2210 TYPICAL USAGE DIAGRAM
When a system requires more than one SPI master that share the same bus, an
arbitration scheme needs to be developed, in order to prevent the multiple SPI masters
from accessing the bus at the same time.
MCP2210 has support for an arbitration mechanism which uses GP7 and GP8
(configured for dedicated pin functionality) for this purpose.
MCP2210
SPI bus
Chip Select lines
MOSI, MISO, SCK
CS0-CS8
USB
USB-to-SPI
bridge
SPI slave chip #1 SPI slave chip #n
External
Interrupt
(GP6)
Interrupt
Interrupt
...
Installation and Operation
© 2012 Microchip Technology Inc. DS52056A-page 15
When GP8 is configured for its dedicated functionality, the pin can be used as a bus
release request for MCP2210 coming from another master. GP7 (configured for its
dedicated functionality) is used as an SPI bus release acknowledge signal towards the
requesting master. When an external SPI master requests the MCP2210 to release the
bus, the device completes the current SPI transfer (or it can be cancelled by the PC
application sending the proper USB command), then releases the bus and signals the
event on the acknowledge pin (GP7). The second master now has ownership of the
bus, and can keep it, as long as the SPI bus request pin (GP8) is kept asserted.
By using the dedicated functionality of the GP7 and GP8, the MCP2210 can be used
in a multiple SPI master system.
FIGURE 2-3: MCP2210 TYPICAL USAGE DIAGRAM
MCP2210
SPI bus
Chip-Select lines
MOSI, MISO, SCK
USB
USB-to-SPI
bridge
SPI slave chip #1 SPI slave chip #n
External
Interrupt
(GP6)
Interrupt
Interrupt
...
SPI Master #2
SPI Bus Release Request
SPI Bus Release
Acknowledge
External
Interrupt
GP8
GP7

ADM00419

Mfr. #:
Manufacturer:
Microchip Technology
Description:
Power Management IC Development Tools MCP2210 Breakout Module
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet