How does it work?
USB to I2C Click as its foundation uses the FT260Q, a USB device that supports I2C and UART communication through standard USB HID class interfaces from FTDI. It provides the bridge function between a standard USB HID class driver and an I2C or UART slave device. This highly integrated IC comes with a USB2.0 compliant full-speed transceiver, oscillator as the source of the operating clock, LDO regulator for the entire chip operating power source, eFUSE for basic customization, and automatic scanning mechanism of EEPROM for advanced customization. The USB HID class is natively supported by most operating systems with no requirements for custom drivers.
This Click board™ can communicate with MCU via UART or I2C interface. The FT260Q uses the UART interface with commonly used UART RX and TX pins and hardware flow control pins UART CTS and RTS (Clear to Send and Ready to Send) to transmit and exchange data with the host MCU or using the I2C interface, which can also act as a Master with a maximum I2C bus speed of up to 3.4Mbit/s. These two interfaces exist concurrently and can be selected independently according to the application.
In addition, the USB to I2C Click also has an active-low reset signal routed on the RST pin of the mikroBUS™ socket that activates a hardware reset of the chip and a possibility of a remote wake-up function. If the operating system supports remote wake-up and allows external hardware to wake it, the FT260Q can be resumed by the INT pin, defaulted as wake-up, triggering a resume signal on the USB bus to wake up the USB host. If this function is not used, this pin behaves like a standard interrupt pin.
USB to I2C Click 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 (USB active voltage level is visually indicated with a blue LED marked USB IN), using an additional LDO, the TLV1117, in this way, the existence of the voltage of both mikroBUS™ power lines is ensured. An LDO and both mikroBUS™ power rails also have protection in the form of MAX40200 diodes to prevent any unwanted back voltage.
The board must complete the proper logic voltage level conversion before use with MCUs with different logic levels. However, the Click board™ comes equipped with a library from FTDI containing functions and an example code that can be used, as a reference, for further development.
Specifications
Type
USB
Applications
Can be used as a bridge between USB and either UART or I2C peripherals
On-board modules
FT260 – USB device that supports I2C and UART communication through standard USB HID class interfaces from FTDI
Key Features
Full speed HID class USB device, USB2.0 compliant with entire USB protocol handled on the chip, supported by most operation systems, custom driver is not required, I2C Master interface, standalone operation, and more
Interface
I2C,UART,USB
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V,5V
Pinout diagram
This table shows how the pinout on USB to I2C Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
LD2 | USB IN | – | USB Active LED Indicator |
USB to I2C Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Data Rate | – | – | 12 | Mbps |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
MIKROE does not provide software support for this Click board™ in the form of libraries, functions, or example code at this moment. The software support is provided by the FTDI company. Please visit the official FTDI FT260Q webpage to get the support on this I2C master IC and how to control it from your PC.