# Title: USB to I2C 2 Click Board™ ## Description: How Does The USB to I2C 2 Click Board™ Work? The USB to I2C 2 Click Board™ is based on the FT201X, a USB to I2C interface device which simplifies USB implementations from FTDI. The FT201X is USB 2.0 full-speed compatible and handles the entire USB protocol by itself; no USB-specific firmware programming is required. It fully integrates 2048 byte Multi-Time-Programmable (MTP) memory for storing device descriptors and CBUS I/O user-desirable configuration and clock generation with no external crystal required plus optional clock output selection enabling a glue-less interface to external MCU or FPGA. The USB to I2C 2 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting Standard Mode operation with a clock frequency of 100kHz and Fast Mode up to 400kHz. Since the FT201X for operation requires a 5V only, this Click board™ also features the PCA9306 voltage-level translator from Texas Instruments. The I2C interface bus lines are routed to the dual bidirectional voltage-level translator, allowing this Click board™ to work with both 3.3V and 5V MCUs properly. The FT201X also contains an embedded fully integrated MTP memory used to specify the functionality of the Control Bus (CBUS) pins, the current drive on each signal pin, the current limit for the USB bus, and the descriptors of the device. There are six configurable CBUS I/O pins, two of which are routed on AN and INT pins of the mikroBUS™ socket, marked as CB0 and CB1, alongside the two blue LED indicators labelled as CBUS0 and CBUS1 used for optional user-configurable visual indication. The other four CBUS pins can be found on the onboard CBUS header, and be used as user-configurable CBUS signals. A wide range and the way of using these pins can be found in the attached datasheet. This board also uses an active-low reset signal routed on the RST pin of the mikroBUS™ socket, which provides a reliable Power-On reset to the device's internal circuitry at Power-Up. The USB to I2C 2 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library that contains easy-to-use functions and an example code that can be used, as a reference, for further development. SPECIFICATIONS Type USB Applications The USB to I2C 2 Click Board™ includes the complete FT-X series feature set and enables USB to be added into a system design quickly and easily over an I2C interface On-board modules FT201X - full-speed USB to I2C protocol converter from FTDI Key Features USB 2.0 full-speed compatible, entire USB protocol handled on the chip, integrated 2048 byte MTP memory, configurable CBUS I/O pins, and more Interface I2C,USB Compatibility mikroBUS Click board size M (42.9 x 25.4 mm) Input Voltage 3.3V or 5V PINOUT DIAGRAM This table shows how the pinout of the USB to I2C 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes Control Pin 0 CB0 1 AN PWM 16 NC Reset RST 2 RST INT 15 CB1 Control Pin 1 NC 3 CS RX 14 NC NC 4 SCK TX 13 NC NC 5 MISO SCL 12 SCL I2C Clock NC 6 MOSI SDA 11 SDA I2C Data Power Supply 3.3V 7 3.3V 5V 10 5V Power Supply Ground GND 8 GND GND 9 GND Ground ONBOARD SETTINGS AND INDICATORS Label Name Default Description LD1 PWR - Power LED Indicator LD2-LD3 CBUSO-CBUS1 - User-Configurable LED Indicators JP1 VCC SEL Left Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V J1 - Unpopulated User-Configurable CBUS Pins Header USB TO I2C 2 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Supply Voltage 3.3 - 5 V Data Rate - - 12 Mbit/s CBUS Pins Output Current 4 - 16 mA Operating Temperature Range -40 +25 +85 °C ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, FTDI Chip, Interface, USB ## Price range: 12.6 - 12.6 GBP ## Link: https://thedebugstore.com/products/mikroe-5065-usb-to-i2c-2-click-board-uk ## Compare-at price range: 18.0 - 18.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [FTDI Chip Device Support Products | Debug Store UK](https://thedebugstore.com/a/llms/collections/ftdi-chip-device-support-uk) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Interface Click Boards™](https://thedebugstore.com/a/llms/collections/interface-click-boards-catalogue) - [USB Click Boards™](https://thedebugstore.com/a/llms/collections/usb-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-5065, Available: yes, Inventory: 1 ## Metafields - title_tag: MikroE USB to I2C 2 Click Board™ (MIKROE-5065) - description_tag: The USB to I2C 2 Click Board™ is a compact add-on board that contains a general-purpose USB to I2C serial interface. This board features the FT201X, a full-speed USB to I2C protocol converter from FTDI. Available from Debug Store UK. - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- subtitle: Full-Speed USB 2.0 to I2C Interface - feature_1: Based on the FT201X from FTDI - feature_2: USB 2.0 full-speed compatible, entire USB protocol handled on the chip, integrated 2048 byte MTP memory, configurable CBUS I/O pins, and more - feature_3: This Click board™ includes the complete FT-X series feature set and enables USB to be added into a system design quickly and easily over an I2C interface - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - backorder_label: If no stock shown above, check availability - full_description:

How Does The USB to I2C 2 Click Board™ Work?

The USB to I2C 2 Click Board™ is based on the FT201X, a USB to I2C interface device which simplifies USB implementations from FTDI. The FT201X is USB 2.0 full-speed compatible and handles the entire USB protocol by itself; no USB-specific firmware programming is required. It fully integrates 2048 byte Multi-Time-Programmable (MTP) memory for storing device descriptors and CBUS I/O user-desirable configuration and clock generation with no external crystal required plus optional clock output selection enabling a glue-less interface to external MCU or FPGA.

USB to i2c 2 click

The USB to I2C 2 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting Standard Mode operation with a clock frequency of 100kHz and Fast Mode up to 400kHz. Since the FT201X for operation requires a 5V only, this Click board™ also features the PCA9306 voltage-level translator from Texas Instruments. The I2C interface bus lines are routed to the dual bidirectional voltage-level translator, allowing this Click board™ to work with both 3.3V and 5V MCUs properly.

The FT201X also contains an embedded fully integrated MTP memory used to specify the functionality of the Control Bus (CBUS) pins, the current drive on each signal pin, the current limit for the USB bus, and the descriptors of the device. There are six configurable CBUS I/O pins, two of which are routed on AN and INT pins of the mikroBUS™ socket, marked as CB0 and CB1, alongside the two blue LED indicators labelled as CBUS0 and CBUS1 used for optional user-configurable visual indication.

The other four CBUS pins can be found on the onboard CBUS header, and be used as user-configurable CBUS signals. A wide range and the way of using these pins can be found in the attached datasheet. This board also uses an active-low reset signal routed on the RST pin of the mikroBUS™ socket, which provides a reliable Power-On reset to the device's internal circuitry at Power-Up.

The USB to I2C 2 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library that contains easy-to-use functions and an example code that can be used, as a reference, for further development.

SPECIFICATIONS

Type USB
Applications The USB to I2C 2 Click Board™ includes the complete FT-X series feature set and enables USB to be added into a system design quickly and easily over an I2C interface
On-board modules FT201X - full-speed USB to I2C protocol converter from FTDI
Key Features USB 2.0 full-speed compatible, entire USB protocol handled on the chip, integrated 2048 byte MTP memory, configurable CBUS I/O pins, and more
Interface I2C,USB
Compatibility mikroBUS
Click board size M (42.9 x 25.4 mm)
Input Voltage 3.3V or 5V

PINOUT DIAGRAM

This table shows how the pinout of the USB to I2C 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

Notes Pin Mikrobus logo.png Pin Notes
Control Pin 0 CB0 1 AN PWM 16 NC
Reset RST 2 RST INT 15 CB1 Control Pin 1
NC 3 CS RX 14 NC
NC 4 SCK TX 13 NC
NC 5 MISO SCL 12 SCL I2C Clock
NC 6 MOSI SDA 11 SDA I2C Data
Power Supply 3.3V 7 3.3V 5V 10 5V Power Supply
Ground GND 8 GND GND 9 GND Ground

ONBOARD SETTINGS AND INDICATORS

Label Name Default Description
LD1 PWR - Power LED Indicator
LD2-LD3 CBUSO-CBUS1 - User-Configurable LED Indicators
JP1 VCC SEL Left Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V
J1 - Unpopulated User-Configurable CBUS Pins Header

USB TO I2C 2 CLICK ELECTRICAL SPECIFICATIONS

Description Min Typ Max Unit
Supply Voltage 3.3 - 5 V
Data Rate - - 12 Mbit/s
CBUS Pins Output Current 4 - 16 mA
Operating Temperature Range -40 +25 +85 °C

 

- examples:

We provide a library for the USB to I2C 2 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.

The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.

Library Description

This library contains API for the USB to I2C 2 Click Board™ driver.

Key functions

Example Description

This example demonstrates the use of USB to I2C 2 click by echoing back all the received messages.

void application_task ( void ) 
 { 
     uint8_t rx_data = 0; 
     if ( USBTOI2C2_OK == usbtoi2c2_read_data ( &usbtoi2c2, &rx_data, 1 ) ) 
     { 
         if ( USBTOI2C2_OK == usbtoi2c2_write_data ( &usbtoi2c2, &rx_data, 1 ) ) 
         { 
             log_printf( &logger, "%c", rx_data ); 
         } 
     } 
 }

The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.

Other MikroE Libraries used in the example:

Additional Notes and Information

Depending on the development board you are using, you may need a USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.

MIKROSDK

The USB to I2C 2 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.

- attachments: [{"download_file":[{"download_file":"USB to I2C 2 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Texas Instruments PCA9306 Voltage-level Translator Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"FTDI FT201X USB to I2C Interface Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - mpn: MIKROE-5065 - mpn: MIKROE-5065 - custom_label_0: Click Board - google_product_category: Electronics - condition: new - custom_product: false - device_vendor: FTDI, Future Technology Devices International Ltd - device_type: FT201XQ-R - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - target_keyword: USB to I2C 2 Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241546100925"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The USB to I2C 2 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"USB to I2C 2 Click Board™","bold":true,"italic":true},{"type":"text","value":" is based on the FT201X, a USB to I2C interface device which simplifies USB implementations from FTDI. The FT201X is USB 2.0 full-speed compatible and handles the entire USB protocol by itself; no USB-specific firmware programming is required. It fully integrates 2048 byte Multi-Time-Programmable (MTP) memory for storing device descriptors and CBUS I/O user-desirable configuration and clock generation with no external crystal required plus optional clock output selection enabling a glue-less interface to external MCU or FPGA."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"USB to I2C 2 Click Board™","bold":true},{"type":"text","value":" communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting Standard Mode operation with a clock frequency of 100kHz and Fast Mode up to 400kHz. Since the FT201X for operation requires a 5V only, this Click board™ also features the PCA9306 voltage-level translator from Texas Instruments. The I2C interface bus lines are routed to the dual bidirectional voltage-level translator, allowing this Click board™ to work with both 3.3V and 5V MCUs properly."}]},{"type":"paragraph","children":[{"type":"text","value":"The FT201X also contains an embedded fully integrated MTP memory used to specify the functionality of the Control Bus (CBUS) pins, the current drive on each signal pin, the current limit for the USB bus, and the descriptors of the device. There are six configurable CBUS I/O pins, two of which are routed on AN and INT pins of the mikroBUS™ socket, marked as CB0 and CB1, alongside the two blue LED indicators labelled as CBUS0 and CBUS1 used for optional user-configurable visual indication."}]},{"type":"paragraph","children":[{"type":"text","value":"The other four CBUS pins can be found on the onboard CBUS header, and be used as user-configurable CBUS signals. A wide range and the way of using these pins can be found in the attached datasheet. This board also uses an active-low reset signal routed on the RST pin of the mikroBUS™ socket, which provides a reliable Power-On reset to the device's internal circuitry at Power-Up."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"USB to I2C 2 Click Board™","bold":true},{"type":"text","value":" can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library that contains easy-to-use functions and an example code that can be used, as a reference, for further development."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nUSB\nApplications\nThe USB to I2C 2 Click Board™ includes the complete FT-X series feature set and enables USB to be added into a system design quickly and easily over an I2C interface\nOn-board modules\nFT201X - full-speed USB to I2C protocol converter from FTDI\nKey Features\nUSB 2.0 full-speed compatible, entire USB protocol handled on the chip, integrated 2048 byte MTP memory, configurable CBUS I/O pins, and more\nInterface\nI2C,USB\nCompatibility\nmikroBUS\nClick board size\nM (42.9 x 25.4 mm)\nInput Voltage\n3.3V or 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout of the "},{"type":"text","value":"USB to I2C 2 Click Board™","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nControl Pin 0\nCB0\n1\nAN\nPWM\n16\nNC\nReset\nRST\n2\nRST\nINT\n15\nCB1\nControl Pin 1\nNC\n3\nCS\nRX\n14\nNC\nNC\n4\nSCK\nTX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nSCL\nI2C Clock\nNC\n6\nMOSI\nSDA\n11\nSDA\nI2C Data\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\n5V\nPower Supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD SETTINGS AND INDICATORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\nDescription\nLD1\nPWR\n-\nPower LED Indicator\nLD2-LD3\nCBUSO-CBUS1\n-\nUser-Configurable LED Indicators\nJP1\nVCC SEL\nLeft\nLogic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V\nJ1\n-\nUnpopulated\nUser-Configurable CBUS Pins Header"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"USB TO I2C 2 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n3.3\n-\n5\nV\nData Rate\n-\n-\n12\nMbit/s\nCBUS Pins Output Current\n4\n-\n16\nmA\nOperating Temperature Range\n-40\n+25\n+85\n°C"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:

The USB to I2C 2 Click Board™ is a compact add-on board that contains a general-purpose USB to I2C serial interface. This board features the FT201X, a full-speed USB to I2C protocol converter from FTDI. The FT201X converts USB2.0 full-speed to an I2C serial interface capable of operating up to 3.4MBit/s, with low power consumption (typical 8mA). The entire USB protocol is handled on the chip itself, where no USB-specific firmware programming is required. It also has a fully-integrated 2048 byte Multi-Time-Programmable (MTP) memory for storing device descriptors and CBUS I/O user-desirable configuration. This Click board™ includes the complete FT-X series feature set and enables USB to be added into a system design quickly and easily over an I2C interface.

The USB to I2C 2 Click Board™ 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.