MCP2210 USB-to-SPI Protocol Converter with GPIO (Master Mode)

MCP2210
USB-to-SPI Protocol Converter with GPIO (Master Mode)
Features:
Package Types:
Universal Serial Bus (USB)
The device will be offered in the following packages:
• 20-lead QFN (5 x 5 mm)
• 20-lead SOIC
• 20-lead SSOP
MCP2210
SOIC, SSOP
EEPROM
• 256 Bytes of User EEPROM (accessible through
certain USB commands)
 2011 Microchip Technology Inc.
16 GP8
GP1 6
GP2 7
GP3 8
15 GP7
14 GP6
13 MISO
12 GP5
MOSI 9
GP4 10
11 SCK
D+
VSS
VDD
OSC1
OSC2
MCP2210
5x5 QFN*
SPI Master Peripheral
• Nine General Purpose I/O Pins
18 D17 VUSB
RST 4
GP0 5
• Uses Standard HID Drivers (built-in support on
Windows® XP, Vista, 7, Linux and Mac OS®)
• Configuration Utility for Device’s Power-up
Configuration
• Utility for USB-SPI Communication, GPIO
Manipulation and Miscellaneous Features Usage
General Purpose Input/Output (GPIO) Pins
19 D+
OSC1 2
OSC2 3
USB Driver and Software Support
20 19 18 17 16
15 D-
RST 1
GP0 2
14 VUSB
EP
21
GP1 3
13 GP8
12 GP7
GP2 4
11 GP6
8
9 10
MISO
7
GP5
6
SCK
GP3 5
GP4
• Supports all Four SPI modes (Mode 0, 1, 2, 3)
• Bit Rates from 1500 bps up to 12 Mbps
• Configurable Delays for SPI Transactions:
- Chip Select (assert) to 1st byte of data delay
- Data to data delay
- Data to Chip Select (de-assert) delay
• SPI Transactions Lengths of up to 65535 Bytes
Long
• Up to 9 Chip Select lines – to be used in any
combination for a given SPI transaction (the Chip
Select lines are shared between GPIOs and
alternate function pins; certain GPs – up to 9 of
them – can be assigned with the Chip Select
functionality)
20 VSS
VDD 1
MOSI
• Supports Full-Speed USB (12 Mb/s)
• Human Interface Device (HID) device
• 128-Byte Buffer to Handle Data Throughput:
- 64-byte transmit
- 64-byte receive
• Fully Configurable VID, PID Assignments and
String Descriptor (factory programming also available)
• Bus Powered (factory default) or Self-Powered
(can be selected through special USB
commands)
• USB 2.0 Compliant
* Includes Exposed Thermal Pad (EP); see Table 1-1.
Other
• USB Activity LED Output
• SSPND Output Pin (to signal USB Suspend state)
• USBCFG Output Pin (indicates when the
enumeration is completed)
• Operating Voltage: 3.3-5.5V
• Oscillator Input: 12 MHz
• Industrial Operating Temperature: -40°C to +85°C
DS22288A-page 1
MCP2210
Block Diagram
Dedicated
function pins
CS8:0
GP8-GP0
GPIO
Chip
Select
Control
SCK
MISO
MOSI
USB
Protocol
Controller
Control
SPI
(Master)
USB
XCVR
3.3V
LDO
Baud
Generator
State
Clock
VSS
Vss
DS22288A-page 2
Configuration
and Control
Regs
256-Byte
EEPROM
USB
Clock
OSC
OSC1
OSC2
D+
D-
VUSB
Reset
RST
VDD
 2011 Microchip Technology Inc.
MCP2210
1.0
FUNCTIONAL DESCRIPTION
The MCP2210 also has 256 bytes of integrated user
EEPROM.
The MCP2210 device is a USB-to-SPI Master
converter which enables USB connectivity in
applications that have an SPI interface. The device
reduces external components by integrating the USB
termination resistors.
QFN
SOIC,
SSOP
Symbol
Type
Alternate Function 1
(Chip Selects)
Alternate Function 2
(dedicated functions)
PINOUT DESCRIPTION
Standard Function
(GPIO)
TABLE 1-1:
The MCP2210 has nine general purpose input/output
pins. Seven pins have alternate functions to indicate
USB and communication status. See Table 1-1 and
Section 1.6 “GP Module” for details about the pin
functions.
1
4
RST
I
—
—
—
Reset input
2
5
GP0
I/O
GPIO0
CS0
—
General Purpose I/O
3
6
GP1
I/O
GPIO1
CS1
—
General Purpose I/O
4
7
GP2
I/O
GPIO2
CS2
USB Suspend
General Purpose I/O
5
8
GP3
I/O
GPIO3
CS3
6
9
MOSI
O
—
—
—
7
10
GP4
I/O
GPIO4
CS4
USB Low Power
8
11
SCK
O
—
—
—
MCP2210
Description
SPI Transfer Traffic LED General Purpose I/O
9
12
GP5
I/O
GPIO5
CS5
USB Configured
10
13
MISO
I
—
—
—
SPI Master output
General Purpose I/O
SPI Clock output
General Purpose I/O
SPI Master input
11
14
GP6
I/O
GPIO6
CS6
External Interrupt
General Purpose I/O
12
15
GP7
I/O
GPIO7
CS7
SPI Bus Release ACK
General Purpose I/O
13
16
GP8
I/O
GPIO8
CS8
SPI Bus Release REQ
General Purpose I/O
14
17
VUSB
USB
—
—
—
USB Regulator output
15
18
D-
USB
—
—
—
USB D-
16
19
D+
USB
—
—
—
USB D+
17
20
VSS
GND
—
—
—
Ground
18
1
VDD
P
—
—
—
Power
19
2
OSC1
I
—
—
—
Oscillator input
20
3
OSC2
O
—
—
—
Oscillator output
 2011 Microchip Technology Inc.
DS22288A-page 3
MCP2210
1.1
Supported Operating Systems
The following operating systems are supported:
• Windows XP/Vista/7
• Linux
• Mac OS
1.1.1
1.3.2
SPI MODULE POWER-UP
CONFIGURATION
Default parameters:
• 1 Mbit
• 4 bytes to transfer per SPI transaction
• GP1 as Chip Select line
ENUMERATION
The MCP2210 will enumerate as a USB device after
Power-on Reset (POR). The device enumerates as a
Human Interface Device (HID) only.
1.4
1.1.1.1
• HID only device used for:
- SPI transfers
- I/O control
- EEPROM access
- Chip configuration manipulation
• 128-byte buffer to handle data for SPI transfers
- 64-byte transmit
- 64-byte receive
• Fully configurable VID, PID assignments, string
descriptors (stored on-chip) and chip power-up
settings (default chip settings and SPI transfer
parameters)
• Bus powered or self-powered
Human Interface Device (HID)
The MCP2210 enumerates as an HID, so the device
can be configured and all the other functionalities can
be controlled. A DLL package that facilitates I/O control
through a custom interface is supplied by Microchip
and is available on the product landing page.
1.2
Control Module
The control module is the heart of the MCP2210. All
other modules are tied together and controlled via the
control module. The control module manages the data
transfers between the USB and the SPI, as well as
command requests generated by the USB host
controller, and commands for controlling the function of
the SPI and I/O.
1.2.1
SPI INTERFACE
The control module interfaces to the SPI and USB
modules.
1.2.2
INTERFACING TO THE DEVICE
The MCP2210 can be accessed for reading and writing
via USB host commands. The device cannot be
accessed and controlled via the SPI interface.
1.3
SPI Module
The MCP2210 SPI module provides the MOSI, MISO
and SCK signals to the outside world. The module has
the ability to control the GP pins (as Chip Select) only if
these pins are configured for Chip Select operation.
1.3.1
SPI MODULE FEATURES
The SPI module has the following configurable
features:
• Bit rates
• Delays
• Chip Select pin assignments (up to 9 Chip Select
lines)
All the above features are available for customization
using certain USB commands.
DS22288A-page 4
USB Protocol Controller
The USB controller in the MCP2210 is full-speed USB
2.0 compliant.
1.4.1
DESCRIPTORS
The string descriptors are stored internally in the
MCP2210 and they can be changed so when the chip
enumerates, the host gets the customer’s own product
and manufacturer names. They can be customized to
the user’s needs by using the Microchip provided configuration utility or a custom built application that will
send the proper USB commands for storing the new
descriptors into the chip.
1.4.2
USB EVENTS
The MCP2210 provides support for signaling important
USB-related events such as:
• USB Suspend and Resume – these states are
signaled on the GP2, if the pin is configured for its
dedicated function
- USB Suspend mode is entered when a
suspend signaling event is detected on the
USB bus
- USB Resume is signaled when one of the
following events is occurring:
a) Resume signaling is detected or generated
b) A USB Reset signal is detected
c) A device Reset occurs
• USB device enumerated successfully (this state is
signaled if the GP4 is configured for its dedicated
function)
• USB Low-Power mode
 2011 Microchip Technology Inc.
MCP2210
1.5
USB Transceiver
FIGURE 1-1:
The MCP2210 has a built-in, USB 2.0, full-speed
transceiver internally connected to the USB module.
VDD
The USB transceiver obtains power from the VUSB pin,
which is internally connected to a 3.3V internal
regulator. The best electrical signal quality is obtained
when VUSB is locally bypassed with a high-quality
ceramic capacitor.
The internal 3.3V regulator draws power from the VDD
pin. In certain scenarios, where VDD is lower than
3.3V+ internal LDO dropout, the VUSB pin must be tied
to an external regulated 3.3V. This will allow the USB
transceiver to work correctly, while the I/O voltage in
the rest of the system can be lower than 3.3V. As an
example, in a system where the MCP2210 is used and
the I/O required is of 2.2V, the VDD of the chip will be
tied to the 2.2V digital power rail, while the VUSB pin
must be connected to a regulated 3.3V power supply.
1.5.1
MCP2210 POWER OPTIONS
The following are the main power options for the
MCP2210:
• USB Bus Powered (5V)
• Self Powered (from 3.3V to 5V), while the VUSB
pin is supplied with 3.3V (regulated). If the VDD is
powered with 5V, then the VUSB will be powered
by the internal regulator and the VUSB pin will
need only a decoupling capacitor
1.5.2.1
IN
LDO
3.3V
OUT
VUSB
D+
USB
Transceiver
D-
INTERNAL PULL-UP RESISTORS
The MCP2210 device has built-in pull-up resistors
designed to meet the requirements for full-speed USB.
1.5.2
MCP2210 INTERNAL
POWER SUPPLY DETAILS
Internal Power Supply Details
MCP2210 offers various options for power supply. To
meet the required USB signaling levels, MCP2210
device incorporates an internal LDO used solely by the
USB transceiver, in order to present the correct D+/D
voltage levels.
Figure 1-1 shows the internal connections of the USB
transceiver LDO in relation with the VDD power supply
rail. The output of the USB transceiver LDO is tied to
the VUSB line.
A capacitor connected to the VUSB pin is required if the
USB transceiver LDO provides the 3.3V supply to the
transceiver.
The provided VDD voltage has a direct influence on the
voltage levels present on the GPIO and SPI module
pins (GP8-GP0, MOSI, MISO and SCK). When VDD is
5V, all of these pins will have a logical ‘1’ around 5V
with the variations specified in Section 4.1 “DC Characteristics”.
For applications that require a 3.3V logical ‘1’ level,
VDD must be connected to a power supply providing
the 3.3V voltage. In this case, the internal USB
transceiver LDO cannot provide the required 3.3V
power. It is necessary to also connect the VUSB pin of
the MCP2210 to the 3.3V power supply rail. This way,
the USB transceiver is powered up directly from the
3.3V power supply.
1.5.2.2
USB Bus Powered (5V)
In Bus Power Only mode, the entire power for the
application is drawn from the USB (see Figure 1-2).
This is effectively the simplest power method for the
device.
FIGURE 1-2:
VBUS
BUS POWER ONLY
VDD
VUSB
VSS
 2011 Microchip Technology Inc.
DS22288A-page 5
MCP2210
In order to meet the inrush current requirements of the
USB 2.0 specifications, the total effective capacitance
appearing across VBUS and ground must be no more
than 10 µF. If it is more than 10 µF, some kind of inrush
limiting is required. For more details on Inrush Current
Limiting, see the current Universal Serial Bus Specification.
According to the USB 2.0 specification, all USB devices
must also support a Low-Power Suspend mode. In the
USB Suspend mode, devices must consume no more
than 500 µA (or 2.5 mA for high powered devices that
are remote wake-up capable) from the 5V VBUS line of
the USB cable.
The host signals the USB device to enter Suspend
mode by stopping all USB traffic to that device for more
than 3 ms.
The USB bus provides a 5V voltage. However, the USB
transceiver requires 3.3V for the signaling (on D+ and
D- lines).
During USB Suspend mode, the D+ or D- pull-up resistor must remain active, which will consume some of the
allowed suspend current budget (500 µA/2.5 mA).
pin is required to have an external bypass
The
capacitor. It is recommended that the capacitor be a
ceramic cap, between 0.22 and 0.47 µF.
VUSB
Figure 1-3 shows a circuit where the MCP2210 internal
LDO is used to provide 3.3V to the USB transceiver.
1.5.2.3
3.3V – Self Powered
Typically, many embedded applications are using 3.3V
or lower power supplies. When such an option is available in the target system, MCP2210 can be powered
up (VDD) from the existing power supply rail. The typical connections for MCP2210 powered from 3.3V rail
are shown in Figure 1-4.
In this example MCP2210 has both VDD and VUSB lines
tied to the 3.3V rail. These tied connections disable the
internal USB transceiver LDO of the MCP2210 to
regulate the power supply on VUSB pin. Another
consequence is that the ‘1’ logical level on the GP and
SPI pins will be at the 3.3V level, in accordance with the
variations
specified
in
Section 4.1
“DC
Characteristics”.
FIGURE 1-4:
USING AN EXTERNALLY
PROVIDED 3.3V POWER
SUPPLY
5V (USB Bus)
or external
External
3.3V
power supply
LDO
VDD
IN
LDO
3.3V
VUSB
OUT
The voltage on the VDD affects the voltage levels onto
the GP and SPI module pins (GP8-GP0, MOSI, MISO
and SCK). With VDD at 5V, these pins will have a logic
‘1’ of 5V with the variations specified in Section 4.1
“DC Characteristics”.
D+
FIGURE 1-3:
5V (USB Bus)
or external
power supply
TYPICAL POWER SUPPLY
OPTION USING THE 5V
PROVIDED BY THE USB
USB
Transceiver
D-
VDD
IN
LDO
3.3V
VUSB
D+
D-
DS22288A-page 6
OUT
USB
Transceiver
 2011 Microchip Technology Inc.
MCP2210
1.6
GP Module
The GP module features nine I/O lines.
1.6.1
CONFIGURABLE PIN FUNCTIONS
The pins can be configured as:
• GPIO – individually configurable, general purpose
input or output
• Chip Select pins – used by the SPI module
• Alternate function pins – used for miscellaneous
features such as:
- SSPND – USB Suspend and Resume states
- USBCFG – indicates USB configuration
status
- LOWPWR – signals when the host does not
accept the requirements (presented during
enumeration) and the chip is not configured.
In this mode, the whole system powered from
the USB host should draw up to 100 mA.
- External Interrupt Input – used to count
external events
- SPI bus Release Request – used to request
SPI bus access from the MCP2210
- SPI bus Release Acknowledge – used to
acknowledge when the MCP2210 has
released the SPI bus
- LED – indicates SPI traffic led
1.6.1.1
GPIO Pins Function
The GP pins (if enabled for GPIO functionality) can be
used as digital inputs/outputs.
These pins can be read (both inputs and outputs) and
written (only the outputs).
1.6.1.2
Chip Select Pins Function
The GP pins (if enabled for the Chip Select functionality) are controlled by the SPI module. Their Idle/Active
value is determined by the SPI transfer parameters.
1.6.1.3
SSPND Pin Function
The GP2 pin (if enabled for this functionality) reflects
the USB state (Suspend/Resume). The pin is active
‘low’ when the Suspend state has been issued by the
USB host.
Likewise, the pin drives ‘high’ after the Resume state is
achieved.
This pin allows the application to go into Low-Power
mode when USB communication is suspended, and
switches to a full active state when USB activity is
resumed.
 2011 Microchip Technology Inc.
1.6.1.4
USBCFG Pin Function
The GP5 pin (if enabled for this functionality) starts out
‘high’ during power-up or after Reset, and goes ‘low’
after the device successfully configures to the USB.
The pin will go ‘high’ when in Suspend mode and ‘low’
when the USB resumes.
1.6.1.5
LOWPWR Pin Function
The GP4 pin (if enabled for this functionality) starts out
‘low’ during power-up or after Reset, and goes ‘high’
after the device successfully configures to the USB.
The pin will go ‘low’ when in Suspend mode and ‘high’
when the USB resumes.
1.6.1.6
External Interrupt Input Pin Function
The GP4 pin (if enabled for this functionality) is used as
an interrupt input pin and it will count interrupt events
such as:
•
•
•
•
Falling edges
Rising edges
Low-logic pulses
High-logic pulses
1.6.1.7
SPI Bus Release Request Pin
Function
The GP8 pin (if enabled for this functionality) is used by
an external device to request the MCP2210 to release
the SPI bus. This way, more than one SPI master can
have access to the SPI slave chips on the bus. When
this pin is driven ‘low’, the MCP2210 will examine the
request and, based on the conditions and internal logic,
it might release the SPI bus. If there is an ongoing SPI
transfer taking place at the moment when an external
device requests the bus, MCP2210 will release it after
the transfer is completed or if the USB host cancels the
current SPI transfer.
1.6.1.8
SPI Bus Release Acknowledge Pin
Function
The GP7 pin (if enabled for this functionality) is used by
the MCP2210 to signal back if the SPI bus was
released. When a SPI bus release request is registered
by the MCP2210, based on the condition and internal
logic, the chip might release the bus. The bus is
released immediately if there is no SPI transfer taking
place, or it will do so after the current SPI transfer is
finished or cancelled by the USB host.
1.6.1.9
LED Pin Function
The GP3 pin (if enabled for this functionality) is used as
an SPI traffic indication. When an SPI transfer is taking
place (active state for this pin), this pin will be driven
‘low’. When there is no SPI traffic taking place, the pin
is in its inactive state or logic ‘high’.
DS22288A-page 7
MCP2210
1.7
EEPROM Module
The EEPROM module is a 256-byte array of nonvolatile memory. The memory locations are accessed for
read/write operations solely via USB host commands.
The memory cells for data EEPROM are rated to
endure thousands of erase/write cycles, up to 100K for
EEPROM.
1.9
Oscillator
The input clock must be 12 MHz to provide the proper
frequency for the USB module. USB full-speed is
nominally 12 Mb/s. The clock input accuracy is ±0.25%
(2,500 ppm maximum).
FIGURE 1-5:
Data retention without refresh is conservatively
estimated to be greater than 40 years.
1.8
1.8.1
MCP2210
OSC1
Reset/POR
RF(2)
RESET PIN
The RST pin provides a method for triggering an
external Reset of the device. A Reset is generated by
holding the pin low. MCP2210 has a noise filter in the
Reset path which detects and ignores small pulses.
1.8.2
QUARTZ CRYSTAL
OPERATION
POR
A POR pulse is generated on-chip whenever VDD rises
above a certain threshold. This allows the device to
start in the initialized state when VDD is adequate for
operation.
To take advantage of the POR circuitry, tie the RST pin
through a resistor (1 k to 10 k) to VDD. This will
eliminate external RC components usually needed to
create a POR delay.
R (1) OSC2
Quartz Crystal S
12 MHz
Note 1:
A series resistor (RS) may be required for
quartz crystals with high drive level.
2:
The value of RF is typically between 2 M to
10 M..
FIGURE 1-6:
CERAMIC RESONATOR
OPERATION
Example: muRata®
CSTCE12M0G15L
MCP2210
When the device starts normal operation (i.e., exits the
Reset condition), the device operating parameters
(voltage, frequency, temperature, etc.) must be met to
ensure operation. If these conditions are not achieved,
the device must be held in Reset until the operating
conditions are met.
OSC1
OSC2
Resonator
12 MHz
DS22288A-page 8
 2011 Microchip Technology Inc.
MCP2210
2.0
MCP2210 FUNCTIONAL
DESCRIPTION
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 2nd. At first, the PC application will make an SPI
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
MCP2210 NVRAM Settings
The chip settings that can be stored in the NVRAM
area are as follows:
• SPI transfer parameters:
- 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
SPI transfer
• GP designation:
- GPIO
- Chip Select
- Dedicated function
• GPIO default direction (applies only to those GPs
designated as GPIOs)
• GPIO default output value (applies only to those
GPs designated as output GPIOs)
• Chip mode flags:
- Remote wake-up capability
- External Interrupt Pin mode (applies only
when GP6 is designated for this function)
- SPI bus release enable/disable – enable/
disable the release of the SPI bus when there
is no SPI transfer (useful when more than
one SPI master on the bus)
• NVRAM Access mode:
- Full access (no protection – factory default)
- Password protection
- Permanently locked
• Password (relevant when password protection
mechanism is active)
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
SPI Transfers
The MCP2210 device provides advanced SPI
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)
and the first data byte (Figure 2-1)
FIGURE 2-1:
CHIP SELECT TO DATA
DELAY
TCS2DATA
CS
SCK
MOSI
MISO
 2011 Microchip Technology Inc.
DS22288A-page 9
MCP2210
• The delay between subsequent data bytes
(Figure 2-2)
FIGURE 2-2:
DATA-TO-DATA DELAY
TDATA2DATA
CS
SCK
MOSI
MISO
• The delay between the end of the last byte (of the
SPI transfer) and the de-assertion of the Chip
Select(s)
FIGURE 2-3:
DATA TO CHIP SELECT
DELAY
TDATA2CS
CS
SCK
MOSI
MISO
For a particular SPI transfer, the user can choose any
number (out of the available ones) of Chip Select pins.
The SPI transfer parameters contain two fields where
the user will specify the Chip Select values when the
SPI transfer is active/idle. This mechanism allows the
user to specify any combination of Chip Select values
for the Idle mode and some other combination for the
Active mode (SPI transfer active).
DS22288A-page 10
 2011 Microchip Technology Inc.
MCP2210
3.0
USB COMMANDS/RESPONSES
DESCRIPTION
• Read/Write RAM Settings (copied from NVRAM
at power-up or Reset):
- Read/Write (volatile – RAM stored settings)
SPI transfer settings
- Read/Write (volatile – RAM stored settings)
chip settings
- Read/Write (volatile – RAM stored settings)
GPIO direction
- Read/Write (volatile – RAM stored settings)
GPIO output values
• Read/Write EEPROM Memory
• External Interrupt Pin (GP6) Event Status
• SPI Data Transfer:
- Read/Write SPI transfer data
- Cancels the ongoing SPI transfer
- SPI bus release manipulation
• Chip Status and Unsupported commands
MCP2210 implements the HID interface for all the
device-provided functionalities. The chip uses a
command/response mechanism for the USB engine.
This means that for every USB command sent (by the
USB host) to the MCP2210, it will always reply with a
response packet.
The MCP2210 USB commands can be grouped by
their provided features as follows:
• NVRAM Settings
- Read/Write NVRAM related parameters
- Send access password
3.1
NVRAM Settings
The commands in this category are related to the NVRAM settings manipulation.
3.1.1
SET CHIP SETTINGS POWER-UP DEFAULT
TABLE 3-1:
COMMAND STRUCTURE
Byte Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – command code
1
0x20 – Set Chip Settings Power-up Default – sub-command code
2
0x00 – Reserved
3
0x00 – Reserved
4
GP0 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
5
GP1 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
6
GP2 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
7
GP3 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
8
GP4 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
 2011 Microchip Technology Inc.
DS22288A-page 11
MCP2210
TABLE 3-1:
COMMAND STRUCTURE (CONTINUED)
Byte Index
Meaning
9
GP5 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
10
GP6 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
11
GP7 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
12
GP8 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
13
Default GPIO Output – 16-bit value (low byte):
• MSB
–
–
–
–
–
–
LSB
GP7VAL GP6VAL GP5VAL GP4VAL GP3VAL GP2VAL GP1VAL GP0VAL
14
Default GPIO Output – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
GP8VAL
where x = Don’t Care
15
Default GPIO Direction – 16-bit value (low byte):
• MSB
–
–
–
–
–
–
LSB
GP7DIR GP6DIR GP5DIR GP4DIR GP3DIR GP2DIR GP1DIR GP0DIR
16
Default GPIO Direction – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
GP8DIR
DS22288A-page 12
 2011 Microchip Technology Inc.
MCP2210
TABLE 3-1:
COMMAND STRUCTURE (CONTINUED)
Byte Index
Meaning
17
Other Chip Settings – Enable/Disable Wake-up, Interrupt Counting, SPI Bus Release Options
• Bit 7 – Don’t Care
• Bit 6 – Don’t Care
• Bit 5 – Don’t Care
• Bit 4 – Remote Wake-up Enabled/Disabled
- 0 – Remote Wake-up Disabled
- 1 – Remote Wake-up Enabled
• Bit 3 – Dedicated Function – Interrupt Pin mode
• Bit 2 – Dedicated Function – Interrupt Pin mode
• Bit 1 – Dedicated Function – Interrupt Pin mode
- b111 – Reserved
- b110 – Reserved
- b101 – Reserved
- b100 – Count High Pulses
- b011 – Count Low Pulses
- b010 – Count Rising Edges
- b001 – Count Falling Edges
- b000 – No Interrupt Counting
• Bit 0 – SPI Bus Release Enable
- 0 = SPI Bus is Released Between Transfer
- 1 = SPI Bus is Not Released by the MCP2210 between transfers
18
NVRAM Chip Parameters Access Control
• 0x00 – Chip settings not protected
• 0x40 – Chip settings protected by password access
• 0x80 – Chip settings permanently locked
19
New Password Character 0 (Note 1)
20
New Password Character 1 (Note 1)
21
New Password Character 2 (Note 1)
22
New Password Character 3 (Note 1)
23
New Password Character 4 (Note 1)
24
New Password Character 5 (Note 1)
25
New Password Character 6 (Note 1)
26
New Password Character 7 (Note 1)
27-63
Note 1:
Reserved (fill with 0x00)
When the password does not need to change, this field must be filled with 0 (it applies to (byte index 19 to 26).
3.1.1.1
Responses
TABLE 3-2:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – echos back the given command code
1
0xFB – Blocked Access – The provided password is not matching the one stored in the chip, or the
settings are permanently locked.
2-63
Don’t Care
 2011 Microchip Technology Inc.
DS22288A-page 13
MCP2210
TABLE 3-3:
RESPONSE 2 STRUCTURE
Byte
Index
0
Meaning
0x60 – Set Chip NVRAM Parameters – echos back the given command code
1
0x00 – Command Completed Successfully – settings written
2
0x20 – Sub-command Echoed Back for Set Chip Settings Power-up Default code
3-63
Don’t Care
FIGURE 3-1:
SET CHIP SETTINGS POWER-UP DEFAULT LOGIC FLOW
Set NVRAM
Chip Settings
FALSE
Conditional
Access
TRUE
TRUE
TRUE
Response 2
DS22288A-page 14
Password
Protected
FALSE
Was access
FALSE
password previously
entered correctly?
Response 1
Response 1
Requested chip
Settings Not Written
Requested chip
Settings Not Written
Wrong Password
Permanent Lock
 2011 Microchip Technology Inc.
MCP2210
3.1.2
SET SPI POWER-UP TRANSFER SETTINGS
TABLE 3-4:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – command code
1
0x10 – Set SPI Power-up Transfer Settings – sub-command code
2
0x00 – Reserved
3
0x00 – Reserved
4
Bit Rate (Byte 3) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte = 0x00
5
Bit Rate (Byte 2) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte = 0x1B
6
Bit Rate (Byte 1) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte = 0xB7
7
Bit Rate (Byte 0) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte = 0x00
8
Idle Chip Select Value – 16-bit value (low byte):
• MSB –
–
–
–
–
–
LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
9
Idle Chip Select Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
CS8
10
Active Chip Select Value – 16-bit value (low byte):
• MSB –
–
–
–
–
–
LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
11
Active Chip Select Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
CS8
12
Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (low byte)
Example: If a 500 µs delay between the CS being asserted and the first byte of data is required,
the value will be 0x0005.
- Fill this byte position with: 0x05
13
Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (high byte)
Example: If a 500 µs delay between the CS being asserted and the first byte of data is required, the
value will be 0x0005.
- Fill this byte position with: 0x00
14
Last Data Byte to CS (de-asserted) delay (quanta of 100 µs) – 16-bit value (low byte)
Example: If a 500 µs delay between the last data byte sent and the CS being de-asserted is required,
the value will be 0x0005.
- Fill this byte position with: 0x05
15
Last Data Byte to CS (de-asserted) delay (quanta of 100 µs) – 16-bit value (high byte)
Example: If a 500 µs delay between the last data byte sent and the CS being de-asserted is required,
the value will be 0x0005.
- Fill this byte position with: 0x00
16
Delay Between Subsequent Data Bytes (quanta of 100 µs) – 16-bit value (low byte)
Example: If a 500 µs delay between two consecutive data bytes is required, the value will be 0x0005.
- Fill this byte position with: 0x05
 2011 Microchip Technology Inc.
DS22288A-page 15
MCP2210
TABLE 3-4:
COMMAND STRUCTURE (CONTINUED)
Byte
Index
Meaning
17
Delay Between Subsequent Data Bytes (quanta of 100 µs) – 16-bit value (high byte)
Example: If 500 µs delay between two consecutive data bytes is required, the value will be 0x0005.
- Fill this byte position with: 0x00
18
Bytes to Transfer per SPI Transaction – 16-bit value (low byte)
Example: If an SPI transaction of 1250 bytes long is required, the corresponding hex value will be
0x04E2.
- Fill this byte position with: 0xE2
19
Bytes to Transfer per SPI Transaction – 16-bit value (high byte)
Example: If an SPI transaction of 1250 bytes long is required, the corresponding hex value will be
0x04E2.
- Fill this byte position with: 0x04
20
SPI Mode
• 0x00 – SPI mode 0
• 0x01 – SPI mode 1
• 0x02 – SPI mode 2
• 0x03 – SPI mode 3
21 - 63
Reserved – fill with 0x00
3.1.2.1
Responses
TABLE 3-5:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – echos back the given command code
1
0xFB – Blocked Access – Access password has not been provided or the settings are permanently
locked.
2-63
Don’t Care
TABLE 3-6:
RESPONSE 2 STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – echos back the given command code
1
0xF8 – USB Transfer in Progress – settings not written
2
0x10 – Sub-command Echoed Back – set SPI power-up transfer settings
3-63
Don’t Care
TABLE 3-7:
RESPONSE 3 STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – echos back the given command code
1
0x00 – Command Completed Successfully – settings written
2
0x10 – Sub-command Echoed Back for Set SPI Power-up Transfer Settings code
3-63
Don’t Care
DS22288A-page 16
 2011 Microchip Technology Inc.
MCP2210
FIGURE 3-2:
SET SPI POWER-UP TRANSFER SETTINGS LOGIC FLOW
Set NVRAM SPI
Transfers Settings
FALSE
SPI Transfer
Ongoing
TRUE
Response 2
FALSE
Conditional
Access
TRUE
Requested NVRAM SPI
Settings Not Written
TRUE
TRUE
Password
Protected
Was access
FALSE
password
previously entered
correctly?
FALSE
Response 1
Requested NVRAM SPI
Settings Not Written
Permanent Lock
Response 1
Response 3
Requested NVRAM SPI
Settings Not Written
Wrong Password
 2011 Microchip Technology Inc.
DS22288A-page 17
MCP2210
3.1.3
SET USB POWER-UP KEY PARAMETERS
TABLE 3-8:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – command code
1
0x30 – Set USB Power-up Key Parameters – sub-command code
2
0x00 – Reserved
3
0x00 – Reserved
4
VID – 16-bit value (low byte)
5
VID – 16-bit value (high byte)
6
PID – 16-bit value (low byte)
7
VID – 16-bit value (high byte)
8
Chip Power Option (as per USB specs – Chapter 9)
• Bit 7 – Host Powered (1 = yes; 0 = no)
• Bit 6 – Self Powered (1 = yes; 0 = no)
• Bit 5 – Remote Wake-up Capable
• Bit 4 – Reserved – fill with 0
• Bit 3 – Reserved – fill with 0
• Bit 2 – Reserved – fill with 0
• Bit 1 – Reserved – fill with 0
• Bit 0 – Reserved – fill with 0
9
Requested Current Amount from USB Host (quanta of 2 mA)
Example: For 100 mA fill this byte index with 50 (in decimal) or 0x32.
Note:
10-63
Only bit 6 or bit 7 should be set, not both.
Reserved – fill with 0x00
3.1.3.1
Responses
TABLE 3-9:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – echo back the given command code
1
0xFB – Blocked Access – The provided password is not matching the one stored in the chip or the
settings are permanently locked.
2-63
Don’t Care
TABLE 3-10:
RESPONSE 2 STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – echo back the given command code
1
0x00 – Command Completed Successfully – Settings written
2
0x30 – Sub-command Echoed Back for Set USB Power-up Key Parameters code
3-63
Don’t Care
DS22288A-page 18
 2011 Microchip Technology Inc.
MCP2210
FIGURE 3-3:
SET USB POWER-UP KEY PARAMETERS LOGIC FLOW
Set NVRAM USB
Key Parameters
FALSE
TRUE
Conditional
Access
TRUE
TRUE
Response 2
 2011 Microchip Technology Inc.
Password
Protected
FALSE
Was access
password previously FALSE
entered correctly?
Response 1
Response 1
Requested USB
Parameters Not Written
Requested USB
Parameters Not Written
Wrong Password
Permanent Lock
DS22288A-page 19
MCP2210
3.1.4
SET USB MANUFACTURER NAME
TABLE 3-11:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – command code
1
0x50 – Set USB Manufacturer Name – sub-command code
2
0x00 – Reserved
3
0x00 – Reserved
4
Total USB String Descriptor Length (this is the length of the Manufacturer string, multiplied by 2 + 2)
Example: “Microchip Technology Inc.” has 25 Unicode characters.
- The value to be filled in is: (25 x 2) + 2 = 52 (decimal) = 0x34
5
USB String Descriptor ID – always fill with 0x03
6
Unicode Character Low Byte
Example: For the “Microchip Technology Inc.” Unicode string, place here the low byte of the Unicode
for character “M”.
- Fill this index with 0x4D
7
Unicode Character High Byte
Example: For the “Microchip Technology Inc.” Unicode string, place here the high byte of the Unicode
for character “M”.
- Fill this index with 0x00
8-63
3.1.4.1
Fill in the remaining Unicode characters in the string
Responses
TABLE 3-12:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – echos back the given command code
1
0xFB – Blocked Access – The provided password is not matching the one stored in the chip or the
settings are permanently locked.
2-63
Don’t Care
TABLE 3-13:
RESPONSE 2 STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – echos back the given command code
1
0x00 – Command Completed Successfully – settings written
2
0x50 – Sub-command Echoed Back for Set USB Manufacturer Name code
3-63
Don’t Care
DS22288A-page 20
 2011 Microchip Technology Inc.
MCP2210
FIGURE 3-4:
SET USB MANUFACTURER LOGIC FLOW
Set NVRAM USB
Manufacturer Name
FALSE
Conditional
Access
TRUE
TRUE
TRUE
Response 1
 2011 Microchip Technology Inc.
Password
Protected
FALSE
Was access
password previously FALSE
entered correctly?
Response 1
Response 1
Requested Manufacturer
Name Not Written
Requested Manufacturer
Name Not Written
Wrong Password
Permanent Lock
DS22288A-page 21
MCP2210
3.1.5
SET USB PRODUCT NAME
TABLE 3-14:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – command code
1
0x40 – Set USB Product Name – sub-command code
2
0x00 – Reserved
3
0x00 – Reserved
4
Total USB String Descriptor Length (this is the length of the Product string multiplied by 2 + 2)
Example: “MCP2210 USB to SPI Master” has 25 Unicode characters.
- The value to be filled in is: (25 * 2) + 2 = 52 (decimal) = 0x34
5
USB String Descriptor ID – always fill with 0x03
6
Unicode Character Low Byte
Example: For the “MCP2210 USB to SPI Master” Unicode string, place here the low byte of the
Unicode for character “M”.
- Fill this index with 0x4D
7
Unicode Character High Byte
Example: For the “MCP2210 USB to SPI Master” Unicode string, place here the high byte of the
Unicode for character “M”.
- Fill this index with 0x00
8-63
3.1.5.1
Fill in the remaining Unicode characters in the string
Responses
TABLE 3-15:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – echos back the given command code
1
0xFB – Blocked Access – The provided password is not matching the one stored in the chip or the
settings are permanently locked.
2-63
Don’t Care
TABLE 3-16:
RESPONSE 2 STRUCTURE
Byte
Index
Meaning
0
0x60 – Set Chip NVRAM Parameters – echos back the given command code
1
0x00 – Command Completed Successfully – settings written
2
0x40 – Sub-command Echoed Back for Set USB Product Name code
3-63
Don’t Care
DS22288A-page 22
 2011 Microchip Technology Inc.
MCP2210
FIGURE 3-5:
SET USB PRODUCT NAME LOGIC FLOW
Set NVRAM USB
Product Name
FALSE
Conditional
Access
TRUE
TRUE
TRUE
Response 2
 2011 Microchip Technology Inc.
Password
Protected
FALSE
Was access
FALSE
password previously
entered correctly?
Response 1
Response 1
Requested Product Name
Not Written
Requested Product Name
Not Written
Wrong Password
Permanent Lock
DS22288A-page 23
MCP2210
3.1.6
GET SPI POWER-UP TRANSFER SETTINGS
TABLE 3-17:
COMMAND STRUCTURE
Byte
Index
0
Meaning
0x61 – Get NVRAM Settings – command code
1
0x10 – Get SPI Power-up Transfer Settings – sub-command code
2
0x00 – Reserved
3-63
0x00 – Reserved
3.1.6.1
Responses
TABLE 3-18:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x61 – Get NVRAM Settings – echos back the given command code
1
0x00 – Command Completed Successfully
2
0x10 – Sub-command Echoed Back for Get SPI Power-up Transfer Settings code
3
Don’t Care
4
Bit Rate (Byte 3) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0x00
5
Bit Rate (Byte 2) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0x1B
6
Bit Rate (Byte 1) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0xB7
7
Bit Rate (Byte 0) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0x00
8
Idle Chip Select Value – 16-bit value (low byte):
• MSB –
–
–
–
–
–
LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
9
Idle Chip Select Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
CS8
10
Active Chip Select Value – 16-bit value (low byte):
• MSB –
–
–
–
–
–
LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
11
Active Chip Select Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
CS8
12
Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (low byte)
Example: If a 500 µs delay between the CS being asserted and the first byte of data is required, the
value will be 0x0005.
- This byte position will have a value of: 0x05
13
Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (high byte)
Example: If a 500 µs delay between the CS being asserted and the first byte of data is required, the
value will be 0x0005.
- This byte position will have a value of: 0x00
DS22288A-page 24
 2011 Microchip Technology Inc.
MCP2210
TABLE 3-18:
RESPONSE 1 STRUCTURE (CONTINUED)
Byte
Index
Meaning
14
Last Data Byte to CS (De-asserted) Delay (quanta of 100 µs) – 16-bit value (low byte)
Example: If a 500 µs delay between the last data byte sent and the CS being de-asserted is required,
the value will be 0x0005.
- This byte position will have a value of: 0x05
15
Last Data Byte to CS (De-asserted) Delay (quanta of 100 µs) – 16-bit value (high byte)
Example: If a 500 µs delay between the last data byte sent and the CS being de-asserted is required,
the value will be 0x0005.
- This byte position will have a value of: 0x00
16
Delay Between Subsequent Data Bytes (quanta of 100 µs) – 16-bit value (low byte)
Example: If a 500 µs delay between two consecutive data bytes is required, the value will be 0x0005.
- This byte position will have a value of: 0x05
17
Delay Between Subsequent Data Bytes (quanta of 100 µs) – 16-bit value (high byte)
Example: If a 500 µs delay between two consecutive data bytes is required, the value will be 0x0005.
- This byte position will have a value of: 0x00
18
Bytes to Transfer per SPI Transaction – 16-bit value (low byte)
Example: If an SPI transaction of 1250 bytes long is required, the corresponding hex value
will be 0x04E2.
- This byte position will have a value of: 0xE2
19
Bytes to Transfer per SPI Transaction – 16-bit value (high byte)
Example: If an SPI transaction of 1250 bytes long is required, the corresponding hex value
will be 0x04E2
- This byte position will have a value of: 0x04
20
SPI Mode
• 0x00 – SPI mode 0
• 0x01 – SPI mode 1
• 0x02 – SPI mode 2
• 0x03 – SPI mode 3
21 - 63
Don’t care
FIGURE 3-6:
GET SPI POWER-UP TRANSFER SETTINGS LOGIC FLOW
Get NVRAM SPI
Transfer Settings
Response 1
NVRAM SPI
Transfer Settings
Retrieved
 2011 Microchip Technology Inc.
DS22288A-page 25
MCP2210
3.1.7
GET POWER-UP CHIP SETTINGS
TABLE 3-19:
COMMAND STRUCTURE
Byte
Index
0
Meaning
0x61 – Get NVRAM Settings – command code
1
0x20 – Get Power-up Chip Settings – sub-command code
2
0x00 – Reserved
3-63
0x00 – Reserved
3.1.7.1
Responses
TABLE 3-20:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x61 – Get NVRAM Settings – echos back the given command code
1
0x00 – Command Completed Successfully
2
0x20 – Sub-command Echoed Back for Get Power-up Chip Settings code
3
Don’t Care
4
GP0 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
5
GP1 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
6
GP2 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
7
GP3 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
8
GP4 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
9
GP5 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
10
GP6 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
DS22288A-page 26
 2011 Microchip Technology Inc.
MCP2210
TABLE 3-20:
RESPONSE 1 STRUCTURE (CONTINUED)
Byte
Index
Meaning
11
GP7 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
12
GP8 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
13
Default GPIO Output – 16-bit value (low byte):
• MSB
–
–
–
–
–
–
LSB
GP7 GP6 GP5 GP4 GP3 GP2 GP1 GP0
14
Default GPIO Output – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
GP8
where x = Don’t Care
15
Default GPIO Direction – 16-bit value (low byte):
• MSB
–
–
–
–
–
–
LSB
GP7DIR GP6DIR GP5DIR GP4DIR GP3DIR GP2DIR GP1DIR GP0DIR
16
Default GPIO Direction – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
GP8DIR
17
Other Chip Settings – Enable/Disable Wake-up, Interrupt Counting, SPI Bus Release Options
• Bit 7 – Don’t Care
• Bit 6 – Don’t Care
• Bit 5 – Don’t Care
• Bit 4 – Remote Wake-up Enabled/Disabled
- 0 – Remote Wake-up Disabled
- 1 – Remote Wake-up Enabled
• Bit 3 – Dedicated Function – Interrupt Pin mode
• Bit 2 – Dedicated Function – Interrupt Pin mode
• Bit 1 – Dedicated Function – Interrupt Pin mode
- b111 – Reserved
- b110 – Reserved
- b101 – Reserved
- b100 – Count High Pulses
- b011 – Count Low Pulses
- b010 – Count Rising Edges
- b001 – Count Falling Edges
- b000 – No Interrupt Counting
• Bit 0 – SPI Bus Release Enable
- 0 = SPI Bus is Released Between Transfer
- 1 = SPI Bus is not released by the MCP2210 between transfers
18
NVRAM Chip Parameters Access Control
• 0x00 – Chip Settings Not Protected
• 0x40 – Chip Settings Protected By Password Access
• 0x80 – Chip Settings Permanently Locked
19 - 63
Don’t Care
 2011 Microchip Technology Inc.
DS22288A-page 27
MCP2210
FIGURE 3-7:
GET POWER-UP CHIP SETTINGS LOGIC FLOW
Get NVRAM
Chip Settings
Response 1
NVRAM
Chip Settings
Retrieved
DS22288A-page 28
 2011 Microchip Technology Inc.
MCP2210
3.1.8
GET USB KEY PARAMETERS
TABLE 3-21:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x61 – Get NVRAM Settings – command code
1
0x30 – Get USB Key Parameters – sub-command code
2
0x00 – Reserved
3-63
0x00 – Reserved
3.1.8.1
Responses
TABLE 3-22:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x61 – Get NVRAM Settings – echos back the given command code
1
0x00 – Command Completed Successfully
2
0x30 – Sub-command Echoed Back for Get USB Key Parameters code
3-11
Don’t care
12
VID low byte
13
VID high byte
14
PID low byte
15
PID high byte
16-28
Don’t care
29
Chip Power Option (as per USB specs – Chapter 9)
• Bit 7 – Host Powered
• Bit 6 – Self Powered
• Bit 5 – Remote Wake-up Capable
• Bit 4 – Don’t Care
• Bit 3 – Don’t Care
• Bit 2 – Don’t Care
• Bit 1 – Don’t Care
• Bit 0 – Don’t Care
30
Requested Current Amount from USB Host (quanta of 2 mA)
Example: For 100 mA this byte index will have a value of 50 (in decimal) or 0x32.
31-63
Don’t Care
FIGURE 3-8:
GET USB KEY PARAMETERS LOGIC FLOW
Get NVRAM USB
Key Parameters
Response 1
NVRAM USB
Key Parameters
Retrieved
 2011 Microchip Technology Inc.
DS22288A-page 29
MCP2210
3.1.9
GET USB MANUFACTURER NAME
TABLE 3-23:
COMMAND STRUCTURE
Byte
Index
0
Meaning
0x61 – Get NVRAM Settings – command code
1
0x50 – Get USB Manufacturer Name – sub-command code
2
0x00 – Reserved
3-63
0x00 – Reserved
3.1.9.1
Responses
TABLE 3-24:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x61 – Get NVRAM Settings – echos back the given command code
1
0x00 – Command Completed Successfully
2
0x50 – Sub-command Echoed Back for Get USB Manufacturer Name code
3
Don’t Care
4
Total USB String Descriptor Length (this is the length of the Manufacturer string multiplied by 2 + 2)
Example: “Microchip Technology Inc.” has 25 Unicode characters.
- The retrieved value is: (25 x 2) + 2 = 52 (decimal) = 0x34
5
USB String Descriptor ID – always 0x03
6
Unicode Character Low Byte
Example: For the “Microchip Technology Inc.” Unicode string, there will be the low byte of the Unicode
for character “M”.
- This byte index will have a value of 0x4D
7
Unicode Character High Byte
Example: For the “Microchip Technology Inc.” Unicode string, there will be the high byte of the
Unicode for character “M”.
- This byte index will have a value of 0x00
8-63
Remaining Unicode Characters
FIGURE 3-9:
GET USB MANUFACTURER NAME LOGIC FLOW
Get NVRAM USB
Manufacturer Name
Response 1
NVRAM USB
Manufacturer
Name Retrieved
DS22288A-page 30
 2011 Microchip Technology Inc.
MCP2210
3.1.10
GET USB PRODUCT NAME
TABLE 3-25:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x61 – Get NVRAM Settings – command code
1
0x40 – Get USB Product Name – sub-command code
2
0x00 – Reserved
3-63
0x00 – Reserved
3.1.10.1
Responses
TABLE 3-26:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x61 – Get NVRAM Settings – echos back the given command code
1
0x00 – Command Completed Successfully
2
0x40 – Sub-command Echoed Back for Get USB Product Name code
3
Don’t Care
4
Total USB String Descriptor Length (this is the length of the Product string multiplied by 2 + 2)
Example: “MCP2210 USB to SPI Master” has 25 Unicode characters
- The retrieved value is: (25 x 2) + 2 = 52 (decimal) = 0x34
5
USB String Descriptor ID – always 0x03
6
Unicode Character Low byte
Example: For the “MCP2210 USB to SPI Master” Unicode string, there will be the low byte of the
Unicode for character “M”.
- This byte index will have a value of 0x4D
7
Unicode Character High byte
Example: For the “MCP2210 USB to SPI Master” Unicode string, there will be the high byte of the
Unicode for character “M”.
- This byte index will have a value of 0x00
8-63
Remaining Unicode Characters
FIGURE 3-10:
GET USB PRODUCT NAME LOGIC FLOW
Get NVRAM USB
Product Name
Response 1
NVRAM USB
Product Name
Retrieved
 2011 Microchip Technology Inc.
DS22288A-page 31
MCP2210
3.1.11
SEND ACCESS PASSWORD
TABLE 3-27:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x70 – SEND ACCESS Password – command code
1
0x00 – Reserved
2
0x00 – Reserved
3
0x00 – Reserved
4
Password Character 0
5
Password Character 1
6
Password Character 2
7
Password Character 3
8
Password Character 4
9
Password Character 5
10
Password Character 6
11
Password Character 7
12-63
3.1.11.1
0x00 – Reserved
Responses
TABLE 3-28:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x70 – SEND ACCESS Password – echos back the given command code
1
0x00 – Command Completed Successfully – chip settings not protected
2
Don’t Care
3-63
Don’t Care
TABLE 3-29:
RESPONSE 2 STRUCTURE
Byte
Index
Meaning
0
0x70 – SEND ACCESS Password – echos back the given command code
1
0xFC – Access Not Allowed – access rejected
2
Don’t Care
3-63
Don’t Care
TABLE 3-30:
RESPONSE 3 STRUCTURE
Byte
Index
Meaning
0
0x70 – SEND ACCESS Password – echos back the given command code
1
0xFD – Access Not Allowed – Chip conditional access is on, the password does not match and the
number of attempts is less than the accepted threshold of 5.
2
Don’t Care
3-63
Don’t Care
DS22288A-page 32
 2011 Microchip Technology Inc.
MCP2210
TABLE 3-31:
RESPONSE 4 STRUCTURE
Byte
Index
Meaning
0
0x70 – SEND ACCESS Password – echos back the given command code
1
0xFB – Access Not Allowed – Chip conditional access is on, the password does not match and the
number of attempts is above the accepted threshold of 5. The Access Password mechanism is
temporarily blocked and no further password access will be accepted until the next power-up.
2
Don’t Care
3-63
Don’t Care
TABLE 3-32:
RESPONSE 5 STRUCTURE
Byte
Index
Meaning
0
0x70 – SEND ACCESS Password – echos back the given command code
1
0x00 – Command Completed Successfully – Chip conditional access is on, the supplied password is
matching the one stored in the chip’s NVRAM.
2
Don’t Care
3-63
Don’t Care
FIGURE 3-11:
SEND ACCESS PASSWORD LOGIC FLOW
Send Access
Password
FALSE
Chip Settings
Protected
Chip Settings
Not Protected
Response 1
TRUE
TRUE
Access Granted
FALSE
Password
Protected
Permanent Lock
TRUE
Password
Attempts
<5
Response 2
FALSE
Chip Access Rejected
Temporarily
Chip Access Lock
TRUE
Password
Matched
FALSE
Response 4
Chip Access Rejected
Response 5
Access Granted
 2011 Microchip Technology Inc.
Response 3
Chip Access Rejected
Increment
the Number of Attempts
DS22288A-page 33
MCP2210
3.2
Read/Write RAM Settings
The set of commands/responses described in this section relates to the manipulation of the RAM settings (volatile).
3.2.1
GET (VM) SPI TRANSFER SETTINGS
TABLE 3-33:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x41 – Get (VM) SPI Transfer Settings – command code
1
0x00 – Reserved
2
0x00 – Reserved
3-63
0x00 – Reserved
3.2.1.1
Responses
TABLE 3-34:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x41 – Get SPI Transfer Settings (volatile memory)
1
0x00 – Command Completed Successfully
2
Size in Bytes of the SPI Transfer Structure: 17 (in decimal) = 0x11
3
Don’t Care
4
Bit Rate (Byte 3) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0x00
5
Bit Rate (Byte 2) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0x1B
6
Bit Rate (Byte 1) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0xB7
7
Bit Rate (Byte 0) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0x00
8
Idle Chip Select Value – 16-bit value (low byte):
• MSB –
–
–
–
–
–
LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
9
Idle Chip Select Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
CS8
10
Active Chip Select Value – 16-bit value (low byte):
• MSB –
–
–
–
–
–
LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
11
Active Chip Select Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
CS8
12
Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (low byte)
Example: If we have 500 µs delay between the CS being asserted and the first byte of data, the value
will be 0x0005.
- This byte position will have a value of: 0x05
DS22288A-page 34
 2011 Microchip Technology Inc.
MCP2210
TABLE 3-34:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
13
Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (high byte)
Example: If we have 500 µs delay between the CS being asserted and the first byte of data, the value
will be 0x0005.
- This byte position will have a value of: 0x00
14
Last Data Byte to CS (de-asserted) Delay (quanta of 100 µs) – 16-bit value (low byte)
Example: If we have 500 µs delay between the last data byte sent and the CS being de-asserted, the
value will be 0x0005.
- This byte position will have a value of: 0x05
15
Last Data Byte to CS (de-asserted) Delay (quanta of 100 µs) – 16-bit value (high byte)
Example: If we have 500 µs delay between the last data byte sent and the CS being de-asserted, the
value will be 0x0005.
- This byte position will have a value of: 0x00
16
Delay Between Subsequent Data Bytes (quanta of 100 µs) – 16-bit value (low byte)
Example: If we have 500 µs delay between two consecutive data bytes, the value will be 0x0005.
- This byte position will have a value of: 0x05
17
Delay Between Subsequent Data Bytes (quanta of 100 µs) – 16-bit value (high byte)
Example: If we have 500 µs delay between two consecutive data bytes, the value will be 0x0005.
- This byte position will have a value of: 0x00
18
Bytes to Transfer per SPI Transaction – 16-bit value (low byte)
Example: If an SPI transaction of 1250 bytes long is required, the corresponding hex value
will be 0x04E2.
- This byte position will have a value of: 0xE2
19
Bytes to Transfer per SPI Transaction – 16-bit value (high byte)
Example: If an SPI transaction of 1250 bytes long is required, the corresponding hex value
will be 0x04E2.
- This byte position will have a value of: 0x04
20
SPI Mode
• 0x00 – SPI mode 0
• 0x01 – SPI mode 1
• 0x02 – SPI mode 2
• 0x03 – SPI mode 3
21 - 63
Don’t Care
FIGURE 3-12:
GET (VM) SPI TRANSFER SETTINGS LOGIC FLOW
Get RAM SPI
Transfer Settings
Response 1
RAM SPI
Transfer Settings
Retrieved
 2011 Microchip Technology Inc.
DS22288A-page 35
MCP2210
3.2.2
SET (VM) SPI TRANSFER SETTINGS
TABLE 3-35:
COMMAND 1 STRUCTURE
Byte
Index
Meaning
0
0x40 – Set (VM) SPI Transfer Settings (volatile memory)
1
0x00 – Reserved
2
0x00 – Reserved
3
0x00 – Reserved
4
Bit Rate (Byte 3) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0x00
5
Bit Rate (Byte 2) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0x1B
6
Bit Rate (Byte 1) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0xB7
7
Bit Rate (Byte 0) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0x00
8
Idle Chip Select Value – 16-bit value (low byte):
• MSB –
–
–
–
–
–
LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
9
Idle Chip Select Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
CS8
10
Active Chip Select Value – 16-bit value (low byte):
• MSB –
–
–
–
–
–
LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
11
Active Chip Select Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
CS8
12
Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (low byte)
Example: If we have 500 µs delay between the CS being asserted and the first byte of data, the value
will be 0x0005.
- This byte position will have a value of: 0x05
13
Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (high byte)
Example: If a 500 µs delay between the CS being asserted and the first byte of data is required, the
value will be 0x0005.
- This byte position will have a value of: 0x00
14
Last Data Byte to CS (de-asserted) Delay (quanta of 100 µs) – 16-bit value (low byte)
Example: If a 500 µs delay between the last data byte sent and the CS being asserted is required, the
value will be 0x0005.
- This byte position will have a value of: 0x05
15
Last Data Byte to CS (de-asserted) Delay (quanta of 100 µs) – 16-bit value (high byte)
Example: If a 500 µs delay between the last data byte sent and the CS being de-asserted is required,
the value will be 0x0005.
- This byte position will have a value of: 0x00
DS22288A-page 36
 2011 Microchip Technology Inc.
MCP2210
TABLE 3-35:
COMMAND 1 STRUCTURE (CONTINUED)
Byte
Index
Meaning
16
Delay Between Subsequent Data Bytes (quanta of 100 µs) – 16-bit value (low byte)
Example: If a 500 µs delay between two consecutive data bytes is required, the value will be 0x0005.
- This byte position will have a value of: 0x05
17
Delay Between Subsequent Data Bytes (quanta of 100 µs) – 16-bit value (high byte)
Example: If a 500 µs delay between two consecutive data bytes is required, the value will be 0x0005.
- This byte position will have a value of: 0x00
18
Bytes to Transfer per SPI Transaction – 16-bit value (low byte)
Example: If an SPI transaction of 1250 bytes long is required, the corresponding hex value
will be 0x04E2.
- This byte position will have a value of: 0xE2
19
Bytes to Transfer per SPI Transaction – 16-bit value (high byte)
Example: If an SPI transaction of 1250 bytes long is required, the corresponding hex value
will be 0x04E2.
- This byte position will have a value of: 0x04
20
SPI Mode
• 0x00 – SPI mode 0
• 0x01 – SPI mode 1
• 0x02 – SPI mode 2
• 0x03 – SPI mode 3
21-63
3.2.2.1
Don’t care
Responses
TABLE 3-36:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x40 – Echoes back the completed command for Set (VM) SPI Transfer Settings code
1
0x00 – Command Completed Successfully
2
Don’t Care
3
Don’t Care
4
Bit Rate (Byte 3) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0x00
5
Bit Rate (Byte 2) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0x1B
6
Bit Rate (Byte 1) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0xB7
7
Bit Rate (Byte 0) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte position will have a value of = 0x00
8
Idle Chip Select Value – 16-bit value (low byte):
• MSB –
–
–
–
–
–
LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
9
Idle Chip Select Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
CS8
 2011 Microchip Technology Inc.
DS22288A-page 37
MCP2210
TABLE 3-36:
RESPONSE 1 STRUCTURE (CONTINUED)
Byte
Index
Meaning
10
Active Chip Select Value – 16-bit value (low byte):
• MSB –
–
–
–
–
–
LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
11
Active Chip Select Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
CS8
12
Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (low byte)
Example: If we have 500 µs delay between the CS being asserted and the first byte of data, the
value will be 0x0005.
- This byte position will have a value of: 0x05
13
Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (high byte)
Example: If we have 500 µs delay between the CS being asserted and the first byte of data, the
value will be 0x0005.
- This byte position will have a value of: 0x00
14
Last Data Byte to CS (de-asserted) Delay (quanta of 100 µs) – 16-bit value (low byte)
Example: If we have 500 µs delay between the last data byte sent and the CS being de-asserted,
the value will be 0x0005.
- This byte position will have a value of: 0x05
15
Last Data Byte to CS (de-asserted) Delay (quanta of 100 µs) – 16-bit value (high byte)
Example: If we have 500 µs delay between the last data byte sent and the CS being de-asserted,
the value will be 0x0005.
- This byte position will have a value of: 0x00
16
Delay Between Subsequent Data Bytes (quanta of 100 µs) – 16-bit value (low byte)
Example: If we have 500 µs delay between two consecutive data bytes, the value will be 0x0005.
- This byte position will have a value of: 0x05
17
Delay Between Subsequent Data Bytes (quanta of 100 µs) – 16-bit value (low byte)
Example: If we have 500 µs delay between two consecutive data bytes, the value will be 0x0005.
- This byte position will have a value of: 0x00
18
Bytes to Transfer per SPI Transaction – 16-bit value (low byte)
Example: If an SPI transaction of 1250 bytes long is required, the corresponding hex value
will be 0x04E2.
- This byte position will have a value of: 0xE2
19
Bytes to Transfer per SPI Transaction – 16-bit value (high byte)
Example: If an SPI transaction of 1250 bytes long is required, the corresponding hex value
will be 0x04E2.
- This byte position will have a value of: 0x04
20
SPI Mode
• 0x00 – SPI mode 0
• 0x01 – SPI mode 1
• 0x02 – SPI mode 2
• 0x03 – SPI mode 3
21 - 63
Don’t Care
DS22288A-page 38
 2011 Microchip Technology Inc.
MCP2210
TABLE 3-37:
RESPONSE 2 STRUCTURE
Byte
Index
Meaning
0
0x40 – Set (VM) SPI Transfer Settings – echos back the given command code
1
0xF8 – USB transfer in progress – Settings not written
2
Don’t Care
3-63
Don’t Care
FIGURE 3-13:
SET (VM) SPI TRANSFER SETTINGS LOGIC FLOW
Set RAM SPI
Transfer Settings
FALSE
SPI Transfer
Ongoing
Response 1
TRUE
Response 2
Requested RAM SPI
Settings Not Written
3.2.3
GET (VM) CURRENT CHIP SETTINGS
TABLE 3-38:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x20 – Get (VM) GPIO Current Chip Settings
1
0x00 – Reserved
2
0x00 – Reserved
3-63
0x00 – Reserved
 2011 Microchip Technology Inc.
DS22288A-page 39
MCP2210
3.2.3.1
Responses
TABLE 3-39:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x20 – Get (VM) GPIO Current Chip Settings – echos back the given command code
1
0x00 – Command Completed Successfully
2
Don’t Care
3
Don’t Care
4
GP0 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
5
GP1 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
6
GP2 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
7
GP3 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
8
GP4 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
9
GP5 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
10
GP6 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
11
GP7 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
12
GP8 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
13
Default GPIO Output – 16-bit value (low byte):
• MSB –
–
–
–
–
–
LSB
GP7 GP6 GP5 GP4 GP3 GP2 GP1 GP0
DS22288A-page 40
 2011 Microchip Technology Inc.
MCP2210
TABLE 3-39:
RESPONSE 1 STRUCTURE (CONTINUED)
Byte
Index
14
Meaning
Default GPIO Output – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
GP8
where x = Don’t Care
15
Default GPIO Direction – 16-bit value (low byte):
• MSB
–
–
–
–
–
–
LSB
GP7DIR GP6DIR GP5DIR GP4DIR GP3DIR GP2DIR GP1DIR GP0DIR
16
Default GPIO Direction – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
GP8DIR
17
Other Chip Settings – Enable/Disable Wake-up, Interrupt Counting, SPI Bus Release Options
• Bit 7 – Don’t Care
• Bit 6 – Don’t Care
• Bit 5 – Don’t Care
• Bit 4 – Remote Wake-up Enabled/Disabled
- 0 – Remote Wake-up Disabled
- 1 – Remote Wake-up Enabled
• Bit 3 – Dedicated Function – Interrupt Pin mode
• Bit 2 – Dedicated Function – Interrupt Pin mode
• Bit 1 – Dedicated Function – Interrupt Pin mode
- b111 – Reserved
- b110 – Reserved
- b101 – Reserved
- b100 – Count High Pulses
- b011 – Count Low Pulses
- b100 – Count High Pulses
- b011 – Count Low Pulses
- b010 – Count Rising Edges
- b001 – Count Falling Edges
- b000 – No Interrupt Counting
• Bit 0 – SPI Bus Release Enable
- 0 = SPI Bus is Released between transfer
- 1 = SPI Bus is Not Released by the MCP2210 between transfers
18
NVRAM Chip Parameters Access Control
• 0x00 – Chip settings not protected
• 0x40 – Chip settings protected by password access
• 0x80 – Chip settings permanently locked
19-63
Don’t Care
 2011 Microchip Technology Inc.
DS22288A-page 41
MCP2210
FIGURE 3-14:
GET (VM) CURRENT CHIP SETTINGS LOGIC FLOW
Get RAM
Chip Settings
Response 1
RAM Chip
Settings
Retrieved
3.2.4
SET (VM) CURRENT CHIP SETTINGS
TABLE 3-40:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x21 – Set (VM) Current Chip Settings
1
0x00 – Reserved
2
0x00 – Reserved
3
0x00 – Reserved
4
GP0 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
5
GP1 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
6
GP2 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
7
GP3 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
8
GP4 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
DS22288A-page 42
 2011 Microchip Technology Inc.
MCP2210
TABLE 3-40:
COMMAND STRUCTURE (CONTINUED)
Byte
Index
Meaning
9
GP5 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
10
GP6 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
11
GP7 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
12
GP8 Pin Designation
• GPIO = 0x00
• Chip Selects = 0x01
• Dedicated Function pin = 0x02
13
Default GPIO Output – 16-bit value (low byte):
• MSB –
–
–
–
–
–
LSB
GP7 GP6 GP5 GP4 GP3 GP2 GP1 GP0
14
Default GPIO Output – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
GP8
where x = Don’t Care
15
Default GPIO Direction – 16-bit value (low byte):
• MSB
–
–
–
–
–
–
LSB
GP7DIR GP6DIR GP5DIR GP4DIR GP3DIR GP2DIR GP1DIR GP0DIR
16
Default GPIO Direction – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
GP8DIR
 2011 Microchip Technology Inc.
DS22288A-page 43
MCP2210
TABLE 3-40:
COMMAND STRUCTURE (CONTINUED)
Byte
Index
17
18-63
Meaning
Other Chip Settings – Enable/Disable Wake-up, Interrupt Counting, SPI Bus Release Options
• Bit 7 – Don’t Care
• Bit 6 – Don’t Care
• Bit 5 – Don’t Care
• Bit 4 – Remote Wake-up Enabled/Disabled
- 0 – Remote Wake-up Disabled
- 1 – Remote Wake-up Enabled
• Bit 3 – Dedicated Function – Interrupt Pin mode
• Bit 2 – Dedicated Function – Interrupt Pin mode
• Bit 1 – Dedicated Function – Interrupt Pin mode
- b111 – Reserved
- b110 – Reserved
- b101 – Reserved
- b100 – Count High Pulses
- b011 – Count Low Pulses
- b100 – Count High Pulses
- b011 – Count Low Pulses
- b010 – Count Rising Edges
- b001 – Count Falling Edges
- b000 – No Interrupt Counting
• Bit 0 – SPI Bus Release Enable
- 0 = SPI Bus is Released between transfer
- 1 = SPI Bus is Not Released by the MCP2210 between transfers
Reserved (fill in with 0x00)
DS22288A-page 44
 2011 Microchip Technology Inc.
MCP2210
TABLE 3-41:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x21 – Set (VM) Current Chip Settings – echos back the given command code
1
0x00 – Command Completed Successfully
2
Don’t Care
3-63
Don’t Care
FIGURE 3-15:
SET (VM) CURRENT CHIP SETTINGS LOGIC FLOW
Set RAM
Chip Settings
Response 1
RAM Chip
Settings Written
 2011 Microchip Technology Inc.
DS22288A-page 45
MCP2210
3.2.5
GET (VM) GPIO CURRENT PIN DIRECTION
TABLE 3-42:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x33 – Get (VM) GPIO Current Pin Direction
1
0x00 – Reserved
2
0x00 – Reserved
3-63
0x00 – Reserved
3.2.5.1
Responses
TABLE 3-43:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x33 – Get (VM) GPIO Current Pin Direction – echos back the given command code
1
0x00 – Command Completed Successfully
2
Don’t Care
3
Don’t Care
4
GPIO Direction – 16-bit value (low byte):
• MSB
–
–
–
–
–
–
LSB
GP7DIR GP6DIR GP5DIR GP4DIR GP3DIR GP2DIR GP1DIR GP0DIR
5
GPIO Direction – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
x
x
x
x
x
x
x
6-63
Note 1:
LSB
GP8DIR
Don’t Care
This command will only have an effect on those GPs previously configured as GPIOs.
FIGURE 3-16:
GET (VM) GPIO CURRENT PIN DIRECTION LOGIC FLOW
Get RAM GPIO
Direction
Response 1
RAM GPIO
Direction
Retrieved
DS22288A-page 46
 2011 Microchip Technology Inc.
MCP2210
3.2.6
SET (VM) GPIO CURRENT PIN DIRECTION
TABLE 3-44:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x32 – Set (VM) GPIO Current Pin Direction
1
0x00 – Reserved
2
0x00 – Reserved
3
0x00 – Reserved
4
GPIO Direction – 16-bit value (low byte):
• MSB
–
–
–
–
–
–
LSB
GP7DIR GP6DIR GP5DIR GP4DIR GP3DIR GP2DIR GP1DIR GP0DIR
5
GPIO Direction – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
x
x
x
x
x
x
x
6-63
3.2.6.1
LSB
GP8DIR
0x00 – Reserved
Responses
TABLE 3-45:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x32 – Set (VM) GPIO Current Pin Direction – echos back the given command code
1
0x00 – Command Completed Successfully
2
Don’t Care
3-63
Don’t Care
FIGURE 3-17:
SET (VM) GPIO CURRENT PIN DIRECTION LOGIC FLOW
Set RAM GPIO
Direction
Response 1
RAM GPIO
Direction Written
 2011 Microchip Technology Inc.
DS22288A-page 47
MCP2210
3.2.7
GET GPIO CURRENT PIN VALUE
TABLE 3-46:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x31 – Get (VM) GPIO Current Pin Value
1
0x00 – Reserved
2
0x00 – Reserved
3-63
0x00 – Reserved
3.2.7.1
Responses
TABLE 3-47:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x31 – Get (VM) GPIO Current Pin Value – echos back the given command code
1
0x00 – Command Completed Successfully
2
Don’t Care
3
Don’t Care
4
GPIO Pin Value – 16-bit value (low byte):
• MSB
–
–
–
–
–
–
LSB
GP7VAL GP6VAL GP5VAL GP4VAL GP3VAL GP2VAL GP1VAL GP0VAL
5
GPIO Pin Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
x
x
x
x
x
x
x
6-63
Note 1:
LSB
GP8VAL
Don’t Care
This command will only have an effect on those GPs previously assigned to a GPIO functionality.
FIGURE 3-18:
GET GPIO CURRENT PIN VALUE LOGIC FLOW
Get RAM GPIO
Value
Response 1
RAM GPIO
Value Retrieved
DS22288A-page 48
 2011 Microchip Technology Inc.
MCP2210
3.2.8
SET GPIO CURRENT PIN VALUE
TABLE 3-48:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x30 – Set (VM) GPIO Current Pin Value
1
0x00 – Reserved
2
0x00 – Reserved
3
0x00 – Reserved
4
GPIO Pin Value – 16-bit value (low byte):
• MSB
–
–
–
–
–
–
LSB
GP7VAL GP6VAL GP5VAL GP4VAL GP3VAL GP2VAL GP1VAL GP0VAL
5
GPIO Pin Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
x
x
x
x
x
x
x
6-63
Note 1:
3.2.8.1
LSB
GP8VAL
0x00 – Reserved
The GPIO pin value will have an effect only on those GPs previously configured as GPIOs.
Responses
TABLE 3-49:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x30 – Set (VM) GPIO Current Pin Value – echos back the given command code
1
0x00 - Command Completed Successfully
2
Don’t Care
3
Don’t Care
4
Read Back Actual GPIO Pin Value – 16-bit value (low byte):
• MSB
–
–
–
–
–
–
LSB
GP7VAL GP6VAL GP5VAL GP4VAL GP3VAL GP2VAL GP1VAL GP0VAL
5
Read Back Actual GPIO Pin Value – 16-bit value (high byte):
• MSB
–
–
–
–
–
–
LSB
x
x
x
x
x
x
x
GP8VAL
6-63
Don’t Care
FIGURE 3-19:
SET GPIO CURRENT PIN VALUE LOGIC FLOW
Set RAM GPIO
Output Value
Response 1
RAM GPIO
Output Value
Written
 2011 Microchip Technology Inc.
DS22288A-page 49
MCP2210
3.3
Read/Write EEPROM Memory
This set of commands/responses described in this section relates to the manipulation of the EEPROM memory.
3.3.1
READ EEPROM MEMORY
TABLE 3-50:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x50 – READ EEPROM Memory – command code
1
EEPROM Memory Address to be read
2
0x00 – Reserved
3-63
0x00 – Reserved
3.3.1.1
Responses
TABLE 3-51:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x50 – READ EEPROM Memory – echos back the given command code
1
0x00 – Command Completed Successfully
2
EEPROM Memory Address
3
EEPROM Memory content at the requested address
4-63
Don’t Care
FIGURE 3-20:
READ EEPROM MEMORY LOGIC FLOW
Read EEPROM
Memory Location
Response 1
EEPROM
Memory Location
Content Retrieved
DS22288A-page 50
 2011 Microchip Technology Inc.
MCP2210
3.3.2
WRITE EEPROM MEMORY
TABLE 3-52:
COMMAND STRUCTURE
Byte
Index
0
Meaning
0x51 – WRITE EEPROM Memory – command code
1
EEPROM Memory Address to be written
2
The value to be written to at the given address
3-63
3.3.2.1
0x00 – Reserved
Responses
TABLE 3-53:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x51 – WRITE EEPROM Memory – echos back the given command code
1
0x00 – Command Completed Successfully
2
Don’t Care
3-63
Don’t Care
TABLE 3-54:
RESPONSE 2 STRUCTURE
Byte
Index
Meaning
0
0x51 – WRITE EEPROM Memory – echos back the given command code
1
0xFA – EEPROM Write Failure
2
Don’t Care
3-63
Don’t Care
TABLE 3-55:
RESPONSE 3 STRUCTURE
Byte
Index
Meaning
0
0x51 – WRITE EEPROM Memory – echos back the given command code
1
0xFB – EEPROM is password protected or permanently locked
2
Don’t Care
3-63
Don’t Care
 2011 Microchip Technology Inc.
DS22288A-page 51
MCP2210
FIGURE 3-21:
WRITE EEPROM MEMORY LOGIC FLOW
Write EEPROM
Memory Location
FALSE
Conditional
Access
TRUE
TRUE
FALSE
Password
Protected
Permanent Lock
Response 3
TRUE
Was access
password previously FALSE
entered correctly?
Requested EEPROM
Memory Location
Not Written
Wrong Password
FALSE
EEPROM
Write Failure
TRUE
Response 1
Response 2
EEPROM
Memory Location
Written
Requested NVRAM SPI
Settings Not Written
DS22288A-page 52
Response 3
Requested EEPROM
Memory Location
Not Written
 2011 Microchip Technology Inc.
MCP2210
3.4
External Interrupt Pin (GP6) Event Status
The External Interrupt pin event status command is used by the USB host to query the external interrupt events recorded
by the MCP2210. In order to have the MCP2210 record the number of external interrupt events, GP6 must be configured
to have its dedicated function active.
3.4.1
GET (VM) THE CURRENT NUMBER OF EVENTS FROM THE INTERRUPT PIN
TABLE 3-56:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x12 – Get (VM) the Current Number of Events From the Interrupt Pin
1
Reset or Not the Event Counter
• 0x00 – reads, then resets the event counter
• Any other value – the event counter is read, however, the counter is not reset
2-63
3.4.1.1
0x00 - Reserved
Responses
TABLE 3-57:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x12 – Get (VM) the Current Number of Events from the Interrupt Pin – echos back the given
command code
1
0x00 – Command Completed Successfully
2
Don’t Care
3
Don’t Care
4
Interrupt Event Counter – 16-bit value (low byte)
5
Interrupt Event Counter – 16-bit value (high byte)
63-63
Don’t Care
FIGURE 3-22:
GET (VM) THE CURRENT NUMBER OF EVENTS FROM THE INTERRUPT PIN
LOGIC FLOW
Get External
Interrupt Pin Events
Counter
Response 1
External Interrupt
Pin Event Counter
Value Retrieved
 2011 Microchip Technology Inc.
DS22288A-page 53
MCP2210
3.5
SPI Data Transfer
The set of commands/responses described in this section relates to the SPI data transfer functionality.
3.5.1
TRANSFER SPI DATA
TABLE 3-58:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x42 – Transfer SPI Data – command code
1
The number of bytes to be transferred in this packet (from 0 to 60 inclusively)
2
0x00 – Reserved
3
0x00 – Reserved
4-63
3.5.1.1
The SPI Data to be sent on the data transfer
Responses
TABLE 3-59:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x42 – Transfer SPI Data – echos back the given command code
1
0xF7 – SPI Data Not Accepted – SPI bus not available (the external owner has control over it)
2
Don’t Care
3-63
Don’t Care
TABLE 3-60:
RESPONSES 2 STRUCTURE
Byte
Index
Meaning
0
0x42 – Transfer SPI Data – echos back the given command code
1
0x00 – SPI Data accepted – Command Completed Successfully – SPI data accepted
2
How many SPI received data bytes the chip is sending back to the host
3
SPI Transfer Engine Status
• 0x20 – SPI transfer started – no data to receive
4-63
SPI Received Data Bytes. The number of data bytes is specified at byte index 2
TABLE 3-61:
RESPONSE 3 STRUCTURE
Byte
Index
Meaning
0
0x42 – Transfer SPI Data – echos back the given command code
1
0xF8 – SPI Data Not Accepted – SPI transfer in progress – cannot accept any data for the moment
2
Don’t Care
3-63
Don’t Care
DS22288A-page 54
 2011 Microchip Technology Inc.
MCP2210
TABLE 3-62:
RESPONSE 4 STRUCTURE
Byte Index
Meaning
0
0x42 – Transfer SPI Data – echos back the given command code
1
0x00 – SPI Data accepted – Command Completed Successfully – SPI data accepted
2
How many SPI received data bytes the chip is sending back to the host
3
0x30 – SPI Transfer Engine Status: SPI transfer not finished; received data available
4-63
TABLE 3-63:
SPI received data bytes. The number of data bytes is specified at byte index 2
RESPONSE 5 STRUCTURE
Byte Index
Meaning
0
0x42 – Transfer SPI Data – echos back the given command code
1
0x00 – SPI Data accepted – Command Completed Successfully – SPI data accepted
2
How many SPI received data bytes the chip is sending back to the host
3
0x10 – SPI Transfer Engine Status: SPI transfer finished – no more data to send
4-63
FIGURE 3-23:
SPI received data bytes. The number of data bytes is specified at byte index 2
TRANSFER SPI DATA LOGIC FLOW
Transfer SPI Data
TRUE
FALSE
Ongoing
SPI Transfer
TRUE
TRUE
SPI Transfer
Waiting for More Data
Response 4
FALSE
Response 1
Response 2
SPI Bus owned
by an External Master
SPI Data Accepted
The SPI Transfer
will start afterwards
FALSE
TRUE
SPI Engine waiting
for more data packets
to complete the SPI Transfer
 2011 Microchip Technology Inc.
SPI Bus
used by External Master
SPI Transfer Ended
FALSE
Response 5
Response 3
SPI Transfer Ended
The response will contain
the last received SPI data
packet of the SPI Transfer
Ongoing SPI Transfer
cannot accept any data now
DS22288A-page 55
MCP2210
3.5.2
CANCEL THE CURRENT SPI TRANSFER
TABLE 3-64:
COMMAND STRUCTURE
Byte Index
Meaning
0
0x11 – CANCEL the current SPI transfer – command code
1
0x00 – Reserved
2
0x00 – Reserved
3-63
0x00 – Reserved
3.5.2.1
Responses
TABLE 3-65:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x11 – CANCEL the current SPI transfer – echos back the given command code
1
0x00 – Command Completed Successfully
2
SPI Bus Release External Request Status
• 0x01 – No External Request for SPI Bus Release
• 0x00 – Pending External Request for SPI Bus Release
3
SPI Bus Current Owner
• 0x00 – No Owner
• 0x01 – USB Bridge
• 0x02 – External Master
4
Attempted Password Accesses – informs the USB host on how many times the NVRAM password
was tried
5
Password Guessed
• 0x00 – Password Not Guessed
• 0x01 – Password Guessed
6-63
Don’t Care
FIGURE 3-24:
CANCEL THE CURRENT SPI TRANSFER LOGIC FLOW
Cancel Current
SPI Transfer
Response 1
SPI Transfer
Cancelled
DS22288A-page 56
 2011 Microchip Technology Inc.
MCP2210
3.5.3
REQUEST SPI BUS RELEASE
TABLE 3-66:
COMMAND STRUCTURE
Byte
Index
Meaning
0
0x80 – Request SPI bus Release – command code
1
The value of the SPI Bus Release ACK pin (only if GP7 is assigned to this dedicated function)
2
0x00 – Reserved
3-63
0x00 – Reserved
3.5.3.1
Responses
TABLE 3-67:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x80 – Request SPI bus Release – echos back the given command code
1
0x00 – Command Completed Successfully – SPI bus released
2
Don’t Care
3-63
Don’t Care
TABLE 3-68:
RESPONSES 2 STRUCTURE
Byte
Index
Meaning
0
0x80 – Request SPI bus Release – echos back the given command code
1
0xF8 – SPI Bus Not Released – SPI transfer in process
2
Don’t Care
3-63
Don’t Care
 2011 Microchip Technology Inc.
DS22288A-page 57
MCP2210
FIGURE 3-25:
REQUEST SPI BUS RELEASE LOGIC FLOW
Request
SPI Bus Release
TRUE
SPI Transfer
Ongoing
Response 2
SPI Bus Release Not Accepted
SPI Transfer Ongoing
DS22288A-page 58
FALSE
Response 1
SPI Bus Release
Accepted
 2011 Microchip Technology Inc.
MCP2210
3.6
Chip Status
The chip status command is used to retrieve status information regarding the state of the SPI transfer engine.
3.6.1
GET MCP2210 STATUS
TABLE 3-69:
COMMAND STRUCTURE
Byte Index
Meaning
0
0x10 – Get MCP2210 Status – command code
1
0x00 – Reserved
2
0x00 – Reserved
3-63
0x00 – Reserved
3.6.1.1
Responses
TABLE 3-70:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
0x10 – Get MCP2210 Status – echos back the given command code
1
0x00 – Command Completed Successfully
2
SPI Bus Release External Request Status
• 0x01 – No External Request for SPI Bus Release
• 0x00 – Pending External Request for SPI Bus Release
3
SPI Bus Current Owner
• 0x00 – No Owner
• 0x01 – USB Bridge
• 0x02 – External Master
4
Attempted Password Accesses – informs the USB host on how many times the NVRAM password
was tried
5
Password Guessed
• 0x00 – Password Not Guessed
• 0x01 – Password Guessed
6-63
Don’t Care
FIGURE 3-26:
GET MCP2210 STATUS LOGIC FLOW
Get MCP2210
Status
Response 1
MCP2210 Status
Information
Retrieved
 2011 Microchip Technology Inc.
DS22288A-page 59
MCP2210
3.6.2
UNSUPPORTED COMMAND CODES
TABLE 3-71:
COMMAND STRUCTURE
Byte
Index
Meaning
0
Usupported Command Code
1
Don’t Care
2-63
Don’t Care
3.6.2.1
Responses
TABLE 3-72:
RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
Unsupported Command Code Sent – echos back the given command code
1
0xF9 – Unknown Command – No effect
2-63
Don’t Care
DS22288A-page 60
 2011 Microchip Technology Inc.
MCP2210
NOTES:
 2011 Microchip Technology Inc.
DS22288A-page 61
MCP2210
4.0
ELECTRICAL CHARACTERISTICS
Absolute Maximum Ratings (†)
Ambient temperature under bias ......................................................................................................... -40°C to +85°C
Storage temperature ........................................................................................................................ -65°C to +150°C
Voltage on VDD with respect to VSS ................................................................................................... -0.3V to +6.0V
Voltage on MCLR with respect to Vss ................................................................................................. -0.3V to +9.0V
Voltage on VUSB pin with respect to VSS ............................................................................................ -0.3V to +4.0V
Voltage on D+ and D- pins with respect to VSS ...................................................................... -0.3V to (VUSB + 0.3V)
Voltage on all other pins with respect to VSS ............................................................................ -0.3V to (VDD + 0.3V)
Total power dissipation(1) ...............................................................................................................................800 mW
Maximum current out of VSS pin ...................................................................................................................... 95 mA
Maximum current into VDD pin ......................................................................................................................... 95 mA
Clamp current, IK (VPIN < 0 or VPIN > VDD)20 mA
Maximum output current sunk by any I/O pin.................................................................................................... 25 mA
Maximum output current sourced by any I/O pin............................................................................................... 25 mA
Maximum current sunk by all ports....................................................................................................................90 mA
Maximum current sourced by all ports ............................................................................................................. 90 mA
Note 1:
2:
Power dissipation is calculated as follows: PDIS = VDD x {IDD –  IOH} +  {(VDD – VOH) x IOH} + (VOl x IOL).
VUSB must always be  VDD + 0.3V
† NOTICE: Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the
device. This is a stress rating only and functional operation of the device at those or any other conditions above those
indicated in the operation listings of this specification is not implied. Exposure above maximum rating conditions for
extended periods may affect device reliability.
DS22288A-page 62
 2011 Microchip Technology Inc.
MCP2210
4.1
DC CHARACTERISTICS
DC Characteristics
Param
No.
D001
Characteristic
Operating Conditions (unless otherwise indicated):
3.0V VDD  5.5V at -40C  TA  +85C (I-Temp)
Sym
Min
Typ
Max
Units
Supply Voltage
VDD
3.3
—
5.5
V
Power-on Reset Release
Voltage
VPOR
Power-on Reset Rearm
Voltage
D003
VDD Rise Rate to Ensure
Power-on Reset
D004
Supply Current
V
0.8
V
0.05
—
—
VDD = 3.0V
—
10
12
mA
VDD = 5.0V
—
13
15
mA
—
9
—
µA
—
—
0.2 VDD
D005
Standby current
D031
Schmitt Trigger
(GP0–3, 6–8, MOSI, MISO,
SCK)
SVDD
1.6
Conditions
V/ms Design guidance only
Not tested
IDD
IDDS
FOSC = 12 MHz,
(330 nF on VUSB)
Input Low Voltage
TTL (GP4, GP5)
3.0V VDD  5.5V
V
VIL
—
—
0.8
0.8 VDD
—
VDD
4.5V VDD  5.5V
Input High Voltage
D041
Schmitt Trigger
(GP0–3, 6–8, MOSI, MISO,
SCK)
VIH
TTL (GP4, GP5)
2.0
—
VDD
—
±50
±100
3.0V VDD  5.5V
V
4.5V VDD  5.5V
Input Leakage Current
GP0–8, MOSI, MISO, SCK
D060
IIL
RST
±50
±200
OSC1
±50
±100
—
—
0.6
—
—
0.6
VDD – 0.7
—
—
– 0.7
—
—
nA
VSS VPIN VDD,
pin at Hi-Z
V
IOL = 8.0 mA, VDD = 5.0V
Output Low Voltage
D080
GP0–8, MOSI, MISO, SCK
VOL
IOL = 6.0 mA, VDD = 3.3V
Output High Voltage
D090
GP0–8, MOSI, MISO, SCK
VOH
VDD
V
IOH = -3.5 mA, VDD = 5.0V
IOH = -3.0 mA, VDD = 3.3V
Capacitive Loading Specs on Output Pins
D101
OSC2
D102
GP0–8, MOSI, MISO, SCK
Note 1:
COSC2
—
—
15
pF
Note 1
CIO
—
—
50
pF
Note 1
This parameter is characterized, but not tested.
 2011 Microchip Technology Inc.
DS22288A-page 63
MCP2210
FIGURE 4-1:
POR AND POR REARM WITH SLOW RISING VDD
VDD
VPOR
VPORR
VSS
NPOR(1)
POR REARM
VSS
TPOR(3)
TVLOW(2)
Note 1:
2:
3:
TABLE 4-1:
USB MODULE SPECIFICATIONS
DC Characteristics
Param
No.
When NPOR is low, the device is held in Reset.
TPOR 1 s typical.
TVLOW 2.7 s typical.
Characteristic
Operating Conditions (unless otherwise indicated):
3.0V VDD  5.5V at -40C  TA  +85C (I-Temp)
Sym
Min
Typ
Max
Units
Conditions
VUSB
3.0
—
3.6
V
Voltage on VUSB pin must be
in this range for proper USB
operation
IIL
—
—
±1
μA
VSS VPIN VDD pin at
high-impedance
D313
USB Voltage
D314
Input Leakage on Pin
D315
Input Low Voltage
for USB Buffer
VILUSB
—
—
0.8
V
For VUSB range
D316
Input High Voltage
for USB Buffer
VIHUSB
2.0
—
—
V
For VUSB range
D318
Differential Input
Sensitivity
VDIFS
—
—
0.2
V
The difference between D+
and D- must exceed this value
while VCM is met
D319
Differential Common
Mode Range
VCM
0.8
—
2.5
V
D320
Driver Output
Impedance(1)
ZOUT
28
—
44

D321
Voltage Output Low
VOL
0.0
—
0.3
V
1.5 kload connected to 3.6V
D322
Voltage Output High
VOH
2.8
—
3.6
V
1.5 kload connected to
ground
Note 1:
The D+ and D- signal lines have been built-in impedance matching resistors. No external resistors,
capacitors or magnetic components are necessary on the D+/D- signal paths between the MCP2210
family device and the USB cable.
DS22288A-page 64
 2011 Microchip Technology Inc.
MCP2210
TABLE 4-2:
THERMAL CONSIDERATIONS
Standard Operating Conditions (unless otherwise stated)
Operating temperature -40C  TA  +85C (I-Temp)
Param
No.
Sym
TH01
θJA
Thermal Resistance Junction to
Ambient
TH02
θJC
Thermal Resistance Junction to
Case
TH03
TH04
TJMAX
PD
Maximum Junction Temperature
Power Dissipation
TH05
TH06
TH07
Note 1:
2:
3:
Characteristic
PINTERNAL Internal Power Dissipation
PI/O
I/O Power Dissipation
Typ
Units
85.2
108.1
36.1
24
24
1.7
150
—
C/W
C/W
C/W
C/W
C/W
C/W
C
W
—
—
W
W
Conditions
20-pin SOIC package
20-pin SSOP package
20-pin QFN 5x5 mm package
20-pin SOIC package
20-pin SSOP package
20-pin QFN 5x5 mm package
PD = PINTERNAL + PI/O
PINTERNAL = IDD x VDD(1)
PI/O =  (IOL * VOL) +  (IOH * (VDD –
VOH))
PDER
Derated Power
—
W
PDER = PDMAX (TJ - TA)/θJA(2,3)
IDD is the current to run the chip alone without driving any load on the output pins.
TA = Ambient Temperature.
TJ = Junction Temperature.
 2011 Microchip Technology Inc.
DS22288A-page 65
MCP2210
4.2
AC Characteristics
4.2.1
TIMING PARAMETER SYMBOLOGY
The timing parameter symbols have been created in one of the following formats:
1. TppS2ppS
T
F
Frequency
E
Error
Lowercase letters (pp) and their meanings:
pp
io
Input or Output pin
rx
Receive
bitclk
RX/TX BITCLK
drt
Device Reset Timer
Uppercase letters and their meanings:
S
F
Fall
H
High
I
Invalid (high-impedance)
L
Low
4.2.2
2. TppS
T
Time
osc
tx
RST
Oscillator
Transmit
Reset
P
R
V
Z
Period
Rise
Valid
High-impedance
TIMING CONDITIONS
The operating temperature and voltage specified in
Table 4-3 apply to all timing specifications unless otherwise noted. Figure 4-2 specifies the load conditions for
the timing specifications.
TABLE 4-3:
TEMPERATURE AND VOLTAGE SPECIFICATIONS – AC
AC CHARACTERISTICS
FIGURE 4-2:
Standard Operating Conditions (unless otherwise stated)
Operating temperature -40C  TA  +85C
Operating voltage VDD range as described in DC spec,
Section 4.1 “DC Characteristics”.
LOAD CONDITIONS
FOR DEVICE TIMING
SPECIFICATIONS
Pin
50 pF (15 pF for OSC2)
DS22288A-page 66
 2011 Microchip Technology Inc.
MCP2210
4.2.3
TIMING DIAGRAMS AND
SPECIFICATIONS
TABLE 4-4:
RESET, OSCILLATOR START-UP TIMER AND POWER-UP TIMER PARAMETERS
Standard Operating Conditions (unless otherwise stated)
Operating Temperature -40°C TA +85°C
Param
No.
Sym
30
TRST
31
32
Characteristic
MCLR Pulse Width (low)
TPWRT Power-up timer
TOST
Oscillator start-up time
Min
Typ†
Max
Units
2
—
—
μs
40
65
140
ms
—
1024
—
TOST
Conditions
* These parameters are characterized but not tested.
† Data in “Typ” column is at 5V, 25°C unless otherwise stated. These parameters are for design guidance
only and are not tested.
 2011 Microchip Technology Inc.
DS22288A-page 67
MCP2210
5.0
PACKAGING INFORMATION
5.1
Package Marking Information
20-Lead 5x5 QFN
PIN 1
Example
PIN 1
20-Lead SOIC
MCP2210
I/MQ ^^
e3
1146256
Example
MCP2210
I/SO ^^
e3
1146256
20-Lead SSOP
Example
MCP2210
I/SS ^^
e3
1146256
Legend: XX...X
Y
YY
WW
NNN
e3
*
Note:
DS22288A-page 68
Customer-specific information
Year code (last digit of calendar year)
Year code (last 2 digits of calendar year)
Week code (week of January 1 is week ‘01’)
Alphanumeric traceability code
Pb-free JEDEC designator for Matte Tin (Sn)
This package is Pb-free. The Pb-free JEDEC designator ( e3 )
can be found on the outer packaging for this package.
In the event the full Microchip part number cannot be marked on one line, it will
be carried over to the next line, thus limiting the number of available
characters for customer-specific information.
 2011 Microchip Technology Inc.
MCP2210
20-Lead Plastic Quad Flat, No Lead Package (MQ) – 5x5x0.9 mm Body [QFN]
Note:
For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
Microchip Technology Drawing C04-120A
 2011 Microchip Technology Inc.
DS22288A-page 69
MCP2210
Note:
For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
DS22288A-page 70
 2011 Microchip Technology Inc.
MCP2210
Note:
For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
 2011 Microchip Technology Inc.
DS22288A-page 71
MCP2210
Note:
For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
DS22288A-page 72
 2011 Microchip Technology Inc.
MCP2210
Note:
For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
 2011 Microchip Technology Inc.
DS22288A-page 73
MCP2210
/HDG3ODVWLF6KULQN6PDOO2XWOLQH66±PP%RG\>6623@
1RWH
)RUWKHPRVWFXUUHQWSDFNDJHGUDZLQJVSOHDVHVHHWKH0LFURFKLS3DFNDJLQJ6SHFLILFDWLRQORFDWHGDW
KWWSZZZPLFURFKLSFRPSDFNDJLQJ
D
N
E
E1
NOTE 1
1 2
e
b
c
A2
A
φ
A1
L1
8QLWV
'LPHQVLRQ/LPLWV
1XPEHURI3LQV
L
0,//,0(7(56
0,1
1
120
0$;
3LWFK
H
2YHUDOO+HLJKW
$
±
%6&
±
0ROGHG3DFNDJH7KLFNQHVV
$
6WDQGRII
$
±
±
2YHUDOO:LGWK
(
0ROGHG3DFNDJH:LGWK
(
2YHUDOO/HQJWK
'
)RRW/HQJWK
/
)RRWSULQW
/
5()
/HDG7KLFNQHVV
F
±
)RRW$QJOH
ƒ
ƒ
ƒ
/HDG:LGWK
E
±
1RWHV
3LQYLVXDOLQGH[IHDWXUHPD\YDU\EXWPXVWEHORFDWHGZLWKLQWKHKDWFKHGDUHD
'LPHQVLRQV'DQG(GRQRWLQFOXGHPROGIODVKRUSURWUXVLRQV0ROGIODVKRUSURWUXVLRQVVKDOOQRWH[FHHGPPSHUVLGH
'LPHQVLRQLQJDQGWROHUDQFLQJSHU$60(<0
%6& %DVLF'LPHQVLRQ7KHRUHWLFDOO\H[DFWYDOXHVKRZQZLWKRXWWROHUDQFHV
5() 5HIHUHQFH'LPHQVLRQXVXDOO\ZLWKRXWWROHUDQFHIRULQIRUPDWLRQSXUSRVHVRQO\
0LFURFKLS 7HFKQRORJ\ 'UDZLQJ &%
DS22288A-page 74
 2011 Microchip Technology Inc.
MCP2210
Note:
For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
 2011 Microchip Technology Inc.
DS22288A-page 75
MCP2210
NOTES:
DS22288A-page 76
 2011 Microchip Technology Inc.
MCP2210
APPENDIX A:
REVISION HISTORY
Revision A (December, 2011)
• Original Release of this Document.
 2011 Microchip Technology Inc.
DS22288A-page 77
MCP2210
NOTES:
DS22288A-page 78
 2011 Microchip Technology Inc.
MCP2210
PRODUCT IDENTIFICATION SYSTEM
To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office.
PART NO.
X
/XX
Device
Temperature
Range
Package
Device:
MCP2210:
MCP2210T:
Examples:
a)
USB to SPI Protocol Converter with GPIO
USB to SPI Protocol Converter with GPIO
(Tape and Reel)
Temperature
Range:
I
=
Package:
MQ
= Plastic Quad Flat, No Lead Package
5x5x0.9 mm Body (QFN), 20-Lead
= Plastic Small Outline - Wide, 7.50 mm Body (SO),
20-Lead
= Plastic Shrink Small Outline - 5.30 mm Body (SS)
20-Lead
SO
SS
-40C to
 2011 Microchip Technology Inc.
+85C
MCP2210- I/MQ:
b)
Industrial temperature,
20LD QFN Package.
MCP2210T- I/MQ: Tape and Reel,
Industrial temperature,
20LD QFN Package.
a)
MCP2210- I/SO:
b)
MCP2210T- I/SO:
a)
MCP2210- I/SS:
b)
MCP2210T- I/SS:
(Industrial)
Industrial temperature,
20LD SOIC Package.
Tape and Reel,
Industrial temperature,
20LD SOIC Package.
Industrial temperature,
20LD SSOP Package.
Tape and Reel,
Industrial temperature,
20LD SSOP Package.
DS22288A-page 79
MCP2210
NOTES:
DS22288A-page 80
 2011 Microchip Technology Inc.
Note the following details of the code protection feature on Microchip devices:
•
Microchip products meet the specification contained in their particular Microchip Data Sheet.
•
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
•
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
•
Microchip is willing to work with the customer who is concerned about the integrity of their code.
•
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART,
PIC32 logo, rfPIC and UNI/O are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,
MXDEV, MXLAB, SEEVAL and The Embedded Control
Solutions Company are registered trademarks of Microchip
Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, chipKIT,
chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net,
dsPICworks, dsSPEAK, ECAN, ECONOMONITOR,
FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP,
Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB,
MPLINK, mTouch, Omniscient Code Generation, PICC,
PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE,
rfLAB, Select Mode, Total Endurance, TSHARC,
UniWinDriver, WiperLock and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2011, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
ISBN: 978-1-61341-902-1
Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
 2011 Microchip Technology Inc.
DS22288A-page 81
Worldwide Sales and Service
AMERICAS
ASIA/PACIFIC
ASIA/PACIFIC
EUROPE
Corporate Office
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:
http://www.microchip.com/
support
Web Address:
www.microchip.com
Asia Pacific Office
Suites 3707-14, 37th Floor
Tower 6, The Gateway
Harbour City, Kowloon
Hong Kong
Tel: 852-2401-1200
Fax: 852-2401-3431
India - Bangalore
Tel: 91-80-3090-4444
Fax: 91-80-3090-4123
India - New Delhi
Tel: 91-11-4160-8631
Fax: 91-11-4160-8632
Austria - Wels
Tel: 43-7242-2244-39
Fax: 43-7242-2244-393
Denmark - Copenhagen
Tel: 45-4450-2828
Fax: 45-4485-2829
India - Pune
Tel: 91-20-2566-1512
Fax: 91-20-2566-1513
France - Paris
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
Japan - Osaka
Tel: 81-66-152-7160
Fax: 81-66-152-9310
Germany - Munich
Tel: 49-89-627-144-0
Fax: 49-89-627-144-44
Atlanta
Duluth, GA
Tel: 678-957-9614
Fax: 678-957-1455
Boston
Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088
Chicago
Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075
Cleveland
Independence, OH
Tel: 216-447-0464
Fax: 216-447-0643
Dallas
Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924
Detroit
Farmington Hills, MI
Tel: 248-538-2250
Fax: 248-538-2260
Indianapolis
Noblesville, IN
Tel: 317-773-8323
Fax: 317-773-5453
Los Angeles
Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
Santa Clara
Santa Clara, CA
Tel: 408-961-6444
Fax: 408-961-6445
Toronto
Mississauga, Ontario,
Canada
Tel: 905-673-0699
Fax: 905-673-6509
Australia - Sydney
Tel: 61-2-9868-6733
Fax: 61-2-9868-6755
China - Beijing
Tel: 86-10-8569-7000
Fax: 86-10-8528-2104
China - Chengdu
Tel: 86-28-8665-5511
Fax: 86-28-8665-7889
China - Chongqing
Tel: 86-23-8980-9588
Fax: 86-23-8980-9500
Korea - Daegu
Tel: 82-53-744-4301
Fax: 82-53-744-4302
China - Hangzhou
Tel: 86-571-2819-3187
Fax: 86-571-2819-3189
Korea - Seoul
Tel: 82-2-554-7200
Fax: 82-2-558-5932 or
82-2-558-5934
China - Hong Kong SAR
Tel: 852-2401-1200
Fax: 852-2401-3431
Malaysia - Kuala Lumpur
Tel: 60-3-6201-9857
Fax: 60-3-6201-9859
China - Nanjing
Tel: 86-25-8473-2460
Fax: 86-25-8473-2470
Malaysia - Penang
Tel: 60-4-227-8870
Fax: 60-4-227-4068
China - Qingdao
Tel: 86-532-8502-7355
Fax: 86-532-8502-7205
Philippines - Manila
Tel: 63-2-634-9065
Fax: 63-2-634-9069
China - Shanghai
Tel: 86-21-5407-5533
Fax: 86-21-5407-5066
Singapore
Tel: 65-6334-8870
Fax: 65-6334-8850
China - Shenyang
Tel: 86-24-2334-2829
Fax: 86-24-2334-2393
Taiwan - Hsin Chu
Tel: 886-3-5778-366
Fax: 886-3-5770-955
China - Shenzhen
Tel: 86-755-8203-2660
Fax: 86-755-8203-1760
Taiwan - Kaohsiung
Tel: 886-7-536-4818
Fax: 886-7-330-9305
China - Wuhan
Tel: 86-27-5980-5300
Fax: 86-27-5980-5118
Taiwan - Taipei
Tel: 886-2-2500-6610
Fax: 886-2-2508-0102
China - Xian
Tel: 86-29-8833-7252
Fax: 86-29-8833-7256
Thailand - Bangkok
Tel: 66-2-694-1351
Fax: 66-2-694-1350
Italy - Milan
Tel: 39-0331-742611
Fax: 39-0331-466781
Netherlands - Drunen
Tel: 31-416-690399
Fax: 31-416-690340
Spain - Madrid
Tel: 34-91-708-08-90
Fax: 34-91-708-08-91
UK - Wokingham
Tel: 44-118-921-5869
Fax: 44-118-921-5820
China - Xiamen
Tel: 86-592-2388138
Fax: 86-592-2388130
China - Zhuhai
Tel: 86-756-3210040
Fax: 86-756-3210049
DS22288A-page 82
Japan - Yokohama
Tel: 81-45-471- 6166
Fax: 81-45-471-6122
11/29/11
 2011 Microchip Technology Inc.