USB SPI Click is a compact add-on board with a general-purpose USB to an SPI protocol converter. This board features the MCP2210, a USB-to-SPI Master converter that enables USB connectivity in applications with an SPI interface from Microchip. The MCP2210 has a full-speed USB 2.0 compliant controller supporting all four SPI modes with bit rates up to 12Mbps. It is also supported by most operating systems (Windows, Linux, and Mac), and enumerated as a Human Interface Device (HID), so all the other functionalities can be controlled and configured. This Click board™ is suitable for SPI-based designs for serial data transfer and analysis and many other USB functions.
USB SPI Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
This product is no longer in stock
USB SPI Click is based on the MCP2210, a USB-to-SPI Master converter from Microchip. The MCP2210 has a built-in USB 2.0, a full-speed transceiver connected to the USB module, and 256 bytes of integrated user EEPROM. It is supported by most operating systems (Windows, Linux, and Mac), and enumerated only as a Human Interface Device (HID), so all the other functionalities can be controlled and configured. Besides, the MCP2210 supports signaling important USB-related events such as USB suspend and resume, successfully enumerated, and for low-power operation mode.
All modules inside the MCP2210 are tied together and controlled via the control module, which represents the heart of the MCP2210. 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 SPI and I/O function.
USB SPI Click communicates with the target board via the SPI interface as a Master device. The MCP2210 also has several general-purpose input/output pins routed to some of the mikroBUS™ socket pins, where some of them, besides GPIO, also alternate functions. The GP1 pin routed to the RST pins of the mikroBUS™ socket is a basic GPIO pin, the GP2 pin (AN pin of mikroBUS™ socket) reflects the USB state (Suspend/Resume), the GP4 pin (PWM pin of mikroBUS™ socket) signals when the host does not accept the requirements (presented during enumeration) and the chip is not configured, and the GP5 pin (INT pin of mikroBUS™ socket) serves as interrupt and indicates USB configuration status. In addition to all these features, this board has one LED indicator, a yellow LED marked with DATA used as an SPI traffic (data transfer) indication.
This Click board™ can operate with both 3.3V and 5V logic voltage levels. Considering that the board can be powered via USB and used as a standalone device, using an additional LDO, the AP7331, in this way, the existence of the voltage of both mikroBUS™ power lines is ensured, allowing for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used as a reference for further development.
Can be used for SPI-based designs for serial data transfer and analysis and many other USB functions
MCP2210 - USB-to-SPI Master converter from Microchip
Low power consumption, supports Full-Speed USB (12Mb/s). USB 2.0 compliant, GPIO pins with additional features, 256-bytes of user EEPROM (accessible through certain USB commands), and more
Click board size
S (28.6 x 25.4 mm)
3.3V or 5V
This table shows how the pinout on USB SPI Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
|USB State / GPIO||GP2||1||AN||PWM||16||GP4||USB Enumeration / GPIO|
|GPIO||GP1||2||RST||INT||15||GP5||USB Config Status / GPIO|
|SPI Chip Select / GPIO||GP0||3||CS||RX||14||NC|
|SPI Data OUT||SDO||5||MISO||SCL||12||NC|
|SPI Data IN||SDI||6||MOSI||SDA||11||NC|
|Power Supply||3.3V||7||3.3V||5V||10||5V||Power Supply|
|LD1||PWR||-||Power LED Indicator|
|LD2||DATA||-||Data Transfer LED Indicator|
|JP1||PWR SEL||Left||Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V|