MCP2210 MICROCHIP [Microchip Technology], MCP2210 Datasheet - Page 9

no-image

MCP2210

Manufacturer Part Number
MCP2210
Description
USB-to-SPI Protocol Converter with GPIO (Master Mode)
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP2210-I/MQ
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2210-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2210-I/SS
Manufacturer:
ON
Quantity:
4 300
Part Number:
MCP2210-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2210T-I/MQ
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2210T-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
2.0
The MCP2210 uses NVRAM to store relevant chip
settings. These settings are loaded by the chip during
the power-up process and they are used for GP
designation and SPI transfers.
The NVRAM settings at power-up (or Reset) are
loaded into the RAM portion of the chip and they can be
altered through certain USB commands. This is very
useful since it allows dynamic reconfiguring of the GPs
or SPI transfer parameters. A practical example to
illustrate this mechanism is a system which uses at
least two SPI slave chips and the GPs in the MCP2210
for various GPIO purposes. The default SPI settings
might be ok for one of the SPI slave chips, but not for
the 2
transfer to the first chip, using the NVRAM copy of the
SPI settings. Then, by sending a certain USB
command, the SPI transfer settings residing in RAM
will be altered in order to fit the SPI transfer
requirements of the second chip.
Also, if the altered SPI transfer settings are needed to
be the default power-up (or Reset) settings for SPI, the
user can send a series of USB commands in order to
store the current (RAM) SPI settings into NVRAM. In
this way, these new settings will be the power-up
default SPI settings.
The NVRAM settings and EEPROM contents can be
protected by password access means, or they can be
permanently locked without any possible further
modification.
2.1
The chip settings that can be stored in the NVRAM
area are as follows:
• SPI transfer parameters:
• GP designation:
• GPIO default direction (applies only to those GPs
• GPIO default output value (applies only to those
 2011 Microchip Technology Inc.
- SPI bit rate
- SPI mode
- Idle Chip Select values
- Active Chip Select values
- SPI transfer configurable delays
- Number of bytes to read/write for the given
- GPIO
- Chip Select
- Dedicated function
designated as GPIOs)
GPs designated as output GPIOs)
SPI transfer
nd
. At first, the PC application will make an SPI
MCP2210 FUNCTIONAL
DESCRIPTION
MCP2210 NVRAM Settings
• Chip mode flags:
• NVRAM Access mode:
• Password (relevant when password protection
The specified settings are loaded at power-up or Reset
moments, and they can be altered through certain USB
commands.
When a NVRAM conditional access method is already
in place, such as password protection, the NVRAM
settings modification is permitted only when the user
has supplied the correct password for the chip. The
RAM settings can be altered even when a password
protection or permanent lock mechanism are in place.
This allows the user to communicate with various SPI
slave chips without knowing the password, but it will not
allow the modification of the power-up default settings
in NVRAM.
2.2
The
communication features such as configurable delays
and multiple Chip Select support.
The configurable delays are related to certain aspects
of the SPI transfer:
• The delay between the assertion of Chip Select(s)
FIGURE 2-1:
- Remote wake-up capability
- External Interrupt Pin mode (applies only
- SPI bus release enable/disable – enable/
- Full access (no protection – factory default)
- Password protection
- Permanently locked
mechanism is active)
and the first data byte
when GP6 is designated for this function)
disable the release of the SPI bus when there
is no SPI transfer (useful when more than
one SPI master on the bus)
MCP2210 device provides advanced SPI
SPI Transfers
SCK
CS
MOSI
MISO
T
CHIP SELECT TO DATA
DELAY
CS2DATA
(Figure
MCP2210
2-1)
DS22288A-page 9

Related parts for MCP2210