0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
MCP2210-I/MQ

MCP2210-I/MQ

  • 厂商:

    ACTEL(微芯科技)

  • 封装:

    20-VQFN裸露焊盘

  • 描述:

    USB Bridge, USB to SPI USB 2.0 SPI Interface 20-QFN (5x5)

  • 数据手册
  • 价格&库存
MCP2210-I/MQ 数据手册
MCP2210 USB-to-SPI Protocol Converter with GPIO (Host 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-2021 Microchip Technology Inc. and its subsidiaries 16 GP8 15 GP7 14 GP6 13 MISO 12 GP5 MOSI 9 GP4 10 11 SCK D+ VSS VDD OSC1 OSC2 MCP2210 5x5 QFN* 20 19 18 17 16 SPI Host Peripheral • Eight General Purpose I/O Pins • One Input Only Pin 18 D17 VUSB GP0 5 GP1 6 GP2 7 GP3 8 • Uses Standard HID Drivers (built-in support on Windows® XP, Vista, 7, 8, 10, 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 RST 4 USB Driver and Software Support RST 1 15 D- GP0 2 14 VUSB EP 21 GP1 3 13 GP8 12 GP7 GP2 4 11 GP6 7 8 9 10 MISO 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 8 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 8 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) • 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 • Passes Automotive AEC-Q100 Reliability Testing DS20002288C-page 1 MCP2210 Block Diagram Dedicated function pins CS:0 GP-GP0 Chip Select Control USB Protocol Controller Control SCK SPI (+RVW) MISO Configuration and Control Regs 256-Byte EEPROM GPIO 3.3V LDO MOSI Baud Generator State Clock VSS Vss DS20002288C-page 2 USB XCVR USB Clock OSC OSC1 OSC2 D+ D- VUSB Reset RST VDD  2011-2021 Microchip Technology Inc. and its subsidiaries MCP2210 1.0 FUNCTIONAL DESCRIPTION The MCP2210 also has 256 bytes of integrated user EEPROM. The MCP2210 device is a USB-to-SPI Host 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 SPI Host output General Purpose I/O SPI Clock output 9 12 GP5 I/O GPIO5 CS5 USB Configured 10 13 MISO I — — — General Purpose I/O 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 SPI Host input 13 16 GP8 I — — SPI Bus Release REQ 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-2021 Microchip Technology Inc. and its subsidiaries Digital Input only DS20002288C-page 3 MCP2210 1.1 Supported Operating Systems The following operating systems are supported: • Windows XP/Vista/7/8/8.1/10 • 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 8 Chip Select lines) All the above features are available for customization using certain USB commands. DS20002288C-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-2021 Microchip Technology Inc. and its subsidiaries 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-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-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). The VUSB pin is required to have an external bypass capacitor. It is recommended that the capacitor be a ceramic cap, between 0.22 and 0.47 µF. 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- DS20002288C-page 6 OUT USB Transceiver  2011-2021 Microchip Technology Inc. and its subsidiaries MCP2210 1.6 GP Module The GP module features eight I/O lines and one input line. 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 GP7-0 pins (if enabled for GPIO functionality) can be used as digital inputs/outputs. The GP8 pin can be used only as a digital input. 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-2021 Microchip Technology Inc. and its subsidiaries 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 host can have access to the SPI client 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’. DS20002288C-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 DS20002288C-page 8  2011-2021 Microchip Technology Inc. and its subsidiaries 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 client chips and the GPs in the MCP2210 for various GPIO purposes. The default SPI settings might be ok for one of the SPI client 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 host 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 client 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-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-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). DS20002288C-page 10  2011-2021 Microchip Technology Inc. and its subsidiaries 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 0 Meaning 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-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-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 • Input = 0x00 • 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 – – – – – – x x x x x x x where x = Don’t Care LSB x 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 1 DS20002288C-page 12  2011-2021 Microchip Technology Inc. and its subsidiaries 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 – echoes 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-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-page 13 MCP2210 TABLE 3-3: RESPONSE 2 STRUCTURE Byte Index Meaning 0 0x60 – Set Chip NVRAM Parameters – echoes 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 DS20002288C-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-2021 Microchip Technology Inc. and its subsidiaries 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 (Note 1) 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 x 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 x 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 Note 1: The open interval of bit rates between 3 Mbps and 12 Mbps will be automatically limited to 3 Mbps.  2011-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-page 15 MCP2210 TABLE 3-4: COMMAND 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. - Fill this byte position with: 0x05 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 Note 1: Reserved – fill with 0x00 The open interval of bit rates between 3 Mbps and 12 Mbps will be automatically limited to 3 Mbps. 3.1.2.1 Responses TABLE 3-5: RESPONSE 1 STRUCTURE Byte Index Meaning 0 0x60 – Set Chip NVRAM Parameters – echoes 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 – echoes 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 – echoes 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 DS20002288C-page 16  2011-2021 Microchip Technology Inc. and its subsidiaries 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 TRUE Conditional Access 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-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-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 DS20002288C-page 18  2011-2021 Microchip Technology Inc. and its subsidiaries MCP2210 FIGURE 3-3: SET USB POWER-UP KEY PARAMETERS LOGIC FLOW Set NVRAM USB Key Parameters FALSE TRUE Conditional Access TRUE TRUE Password Protected FALSE Was access password previously FALSE entered correctly? Response 2 Response 1 Response 1 Requested USB Parameters Not Written Requested USB Parameters Not Written Wrong Password Permanent Lock  2011-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-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 – echoes 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 – echoes 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 DS20002288C-page 20  2011-2021 Microchip Technology Inc. and its subsidiaries MCP2210 FIGURE 3-4: SET USB MANUFACTURER LOGIC FLOW Set NVRAM USB Manufacturer Name FALSE TRUE Conditional Access TRUE TRUE Password Protected FALSE Was access password previously FALSE entered correctly? Response 1 Response 1 Response 1 Requested Manufacturer Name Not Written Requested Manufacturer Name Not Written Wrong Password Permanent Lock  2011-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-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 Host” 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 Host” 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 Host” 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 – echoes 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 – echoes 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 DS20002288C-page 22  2011-2021 Microchip Technology Inc. and its subsidiaries MCP2210 FIGURE 3-5: SET USB PRODUCT NAME LOGIC FLOW Set NVRAM USB Product Name FALSE TRUE Conditional Access TRUE TRUE Password Protected FALSE Was access FALSE password previously entered correctly? Response 2 Response 1 Response 1 Requested Product Name Not Written Requested Product Name Not Written Wrong Password Permanent Lock  2011-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-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 – echoes 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 x 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 x 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 DS20002288C-page 24  2011-2021 Microchip Technology Inc. and its subsidiaries 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-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-page 25 MCP2210 3.1.7 GET POWER-UP CHIP SETTINGS TABLE 3-19: COMMAND STRUCTURE Byte Index Meaning 0 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 – echoes 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 DS20002288C-page 26  2011-2021 Microchip Technology Inc. and its subsidiaries 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 • Input = 0x00 • 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 x 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 x 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-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-page 27 MCP2210 FIGURE 3-7: GET POWER-UP CHIP SETTINGS LOGIC FLOW Get NVRAM Chip Settings Response 1 NVRAM Chip Settings Retrieved DS20002288C-page 28  2011-2021 Microchip Technology Inc. and its subsidiaries MCP2210 3.1.8 GET USB KEY PARAMETERS TABLE 3-21: COMMAND STRUCTURE Byte Index 0 Meaning 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 – echoes 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-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-page 29 MCP2210 3.1.9 GET USB MANUFACTURER NAME TABLE 3-23: COMMAND STRUCTURE Byte Index Meaning 0 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 – echoes 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 DS20002288C-page 30  2011-2021 Microchip Technology Inc. and its subsidiaries MCP2210 3.1.10 GET USB PRODUCT NAME TABLE 3-25: COMMAND STRUCTURE Byte Index 0 Meaning 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 – echoes 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 Host” 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 Host” 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 Host” 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-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-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 – echoes 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 – echoes 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 – echoes 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 DS20002288C-page 32  2011-2021 Microchip Technology Inc. and its subsidiaries MCP2210 TABLE 3-31: RESPONSE 4 STRUCTURE Byte Index Meaning 0 0x70 – SEND ACCESS Password – echoes 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 – echoes 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 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.  2011-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-page 61 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 D004 D005 VDD Rise Rate to Ensure Power-on Reset V 0.8 V 0.05 — — V/ms VDD = 3.0V — 10 12 mA VDD = 5.0V — 13 15 mA — 9 — µA — — 0.2 VDD Supply Current Standby current SVDD 1.6 Conditions Design guidance only Not tested IDD IDDS FOSC = 12 MHz, (330 nF on VUSB) Input Low Voltage D031 Schmitt Trigger (GP0–3, 6–8, MOSI, MISO, SCK) 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 — — VDD – 0.7 — — nA VSS VPIN VDD, pin at Hi-Z V IOL = 8.0 mA, VDD = 5.0V Output Low Voltage D080 GP0–7, MOSI, MISO, SCK VOL IOL = 6.0 mA, VDD = 3.3V Output High Voltage D090 GP0–7, MOSI, MISO, SCK VOH 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–7, MOSI, MISO, SCK Note 1: COSC2 — — 15 pF Note 1 CIO — — 50 pF Note 1 This parameter is characterized, but not tested. DS20002288C-page 62  2011-2021 Microchip Technology Inc. and its subsidiaries 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.  2011-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-page 63 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. DS20002288C-page 64  2011-2021 Microchip Technology Inc. and its subsidiaries 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)  2011-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-page 65 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† 2 — — μs 40 65 140 ms — 1024 — TOST Max Units 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. DS20002288C-page 66  2011-2021 Microchip Technology Inc. and its subsidiaries 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 2124256 Example MCP2210 I/SO ^^ e3 2124256 20-Lead SSOP Example MCP2210 I/SS ^^ e3 2124256 Legend: XX...X Y YY WW NNN e3 * Note: 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-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-page 67 MCP2210 20-Lead Plastic Quad Flat, No Lead Package (MQ) – 5x5x1.0 mm Body [VQFN] With 0.40 mm Contact Length Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging D A B N NOTE 1 1 2 E (DATUM B) (DATUM A) 2X 0.20 C 2X TOP VIEW 0.20 C 0.10 C C SEATING PLANE A1 A 20X (A3) 0.08 C SIDE VIEW 0.10 C A B D2 0.10 C A B E2 2 1 NOTE 1 K N L e BOTTOM VIEW 20X b 0.10 0.05 C A B C Microchip Technology Drawing C04-139C (MQ) Sheet 1 of 2 DS20002288C-page 68  2011-2021 Microchip Technology Inc. and its subsidiaries MCP2210 20-Lead Plastic Quad Flat, No Lead Package (MQ) – 5x5x1.0 mm Body [VQFN] With 0.40 mm Contact Length Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging Units Dimension Limits N Number of Terminals e Pitch A Overall Height A1 Standoff (A3) Contact Thickness Overall Length D Exposed Pad Length D2 Overall Width E Exposed Pad Width E2 Contact Width b Contact Length L Contact-to-Exposed Pad K MIN 0.80 0.00 3.15 3.15 0.25 0.35 0.20 MILLIMETERS NOM 20 0.65 BSC 0.90 0.02 0.20 REF 5.00 BSC 3.25 5.00 BSC 3.25 0.30 0.40 - MAX 1.00 0.05 3.35 3.35 0.35 0.45 - Notes: 1. Pin 1 visual index feature may vary, but must be located within the hatched area. 2. Package is saw singulated 3. Dimensioning and tolerancing per ASME Y14.5M BSC: Basic Dimension. Theoretically exact value shown without tolerances. REF: Reference Dimension, usually without tolerance, for information purposes only. Microchip Technology Drawing C04-139C (MQ) Sheet 2 of 2  2011-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-page 69 MCP2210 20-Lead Plastic Quad Flat, No Lead Package (MQ) – 5x5x1.0 mm Body [VQFN] With 0.40 mm Contact Length Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging C1 X2 EV 20 1 C2 ØV 2 Y2 G EV Y1 E X1 SILK SCREEN RECOMMENDED LAND PATTERN Units Dimension Limits Contact Pitch E W2 Optional Center Pad Width Optional Center Pad Length T2 Contact Pad Spacing C1 C2 Contact Pad Spacing Contact Pad Width (X20) X1 Contact Pad Length (X20) Y1 Distance Between Pads G Thermal Via Diameter V Thermal Via Pitch EV MIN MILLIMETERS NOM 0.65 BSC MAX 3.35 3.35 4.50 4.50 0.40 0.55 0.20 0.30 1.00 Notes: 1. Dimensioning and tolerancing per ASME Y14.5M BSC: Basic Dimension. Theoretically exact value shown without tolerances. 2. For best soldering results, thermal vias, if used, should be filled or tented to avoid solder loss during reflow process Microchip Technology Drawing C04-2139B (MQ) DS20002288C-page 70  2011-2021 Microchip Technology Inc. and its subsidiaries MCP2210 /HDG3ODVWLF6PDOO2XWOLQH 62 :LGHPP%RG\>62,&@ 1RWH )RUWKHPRVWFXUUHQWSDFNDJHGUDZLQJVSOHDVHVHHWKH0LFURFKLS3DFNDJLQJ6SHFLILFDWLRQORFDWHGDW KWWSZZZPLFURFKLSFRPSDFNDJLQJ ' $ (  (  ( ( ;7,36  & 127( ;E  % H 7239,(: & $% ' $  & $ $ & 6($7,1* 3/$1( $ 6,'(9,(: ;  & $ K 6(('(7$,/% K 9,(:$±$ 0LFURFKLS7HFKQRORJ\'UDZLQJ&5HY' 6KHHWRI  2011-2021 Microchip Technology Inc. and its subsidiaries DS20002288C-page 71 MCP2210 /HDG3ODVWLF6PDOO2XWOLQH 62 :LGHPP%RG\>62,&@ 1RWH )RUWKHPRVWFXUUHQWSDFNDJHGUDZLQJVSOHDVHVHHWKH0LFURFKLS3DFNDJLQJ6SHFLILFDWLRQORFDWHGDW KWWSZZZPLFURFKLSFRPSDFNDJLQJ ș ș 5 5 + F ș ș / / '(7$,/%  1XPEHURI7HUPLQDOV 3LWFK 2YHUDOO+HLJKW 6WDQGRII † 0ROGHG3DFNDJH7KLFNQHVV 2YHUDOO/HQJWK 2YHUDOO:LGWK 0ROGHG3DFNDJH:LGWK 7HUPLQDO:LGWK 7HUPLQDO7KLFNQHVV &RUQHU&KDPIHU 7HUPLQDO/HQJWK )RRWSULQW /HDG%HQG5DGLXV /HDG%HQG5DGLXV )RRW$QJOH /HDG$QJOH 0ROG'UDIW$QJOH 0ROG'UDIW$QJOH 8QLWV 'LPHQVLRQ/LPLWV 1 H $ $ $ ' ( ( E F K / / 5 5 ș ș ș ș 0,1          ƒ ƒ ƒ ƒ 0,//,0(7(56 120  %6&    %6& %6& %6&     5()       0$;          ƒ  ƒ ƒ  3LQYLVXDOLQGH[IHDWXUHPD\YDU\EXWPXVWEHORFDWHGZLWKLQWKHKDWFKHGDUHD  'LPHQVLRQLQJDQGWROHUDQFLQJSHU$60(
MCP2210-I/MQ 价格&库存

很抱歉,暂时无法提供与“MCP2210-I/MQ”相匹配的价格&库存,您可以联系我们找货

免费人工找货