OFF
MIKROE-1421
35 g
Status:
FTDI Click is a compact add-on board that provides a high-speed USB to a serial interface converter. This board features the FT2232H, a 5th-generation high-speed USB 2.0 to a serial UART/I2C/SPI interface converter from FTDI. The entire USB protocol is handled on the chip (FTDI USB drivers required), making this board ideal for various USB applications. Besides a selectable interface and a standalone operation possibility, it also includes an EEPROM which contains the USB configuration descriptors for the FT2232H and one DA converter for additional reference in user-configurable applications. This Click board™ has the capability of being configured in various industry-standard applications suitable for development purposes by adding USB to a target design.
FTDI 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
Availability date:
FTDI Click is based on the FT2232H, a 5th-generation high-speed USB to a serial interface converter from FTDI, capable of configuration in various industry standard serial or parallel interfaces. The entire USB protocol is handled on the chip, with no USB-specific firmware programming requirements, but requires USB device drivers for operation available free from the official FTDI page. It can work at high speed (480Mbps) and full speed (12Mbps), depending on the usage, alongside a dual Multi-Protocol Synchronous Serial Engine (MPSSE) used to simplify synchronous serial protocol between USB and available interfaces.
The FT2232H can communicate with the host MCU over the mikroBUS™ socket using one of the available interfaces (UART, I2C, SPI). The SPI interface can be used as is, while one of the other two has to be selected by the I2C UART jumper, with UART chosen as a default. Each interface is compatible with an LED indicator marked as TX/RX that signals data transmission. In addition to the communication pins, this board has some additional routed to the RST, PWM, and INT pins of the mikroBUS™ socket and marked as BC0, BC1, and BC2 used for configuration purposes for the MPSSE, or FIFO interface. For additional information on these pins, consult the attached FT2232H datasheet.
This Click board™ also features the CAT93C46, a 1K-bit serial EEPROM from Catalyst Semiconductor that can be accessed directly from the FT2232H. The FT2232H uses external EEPROM to configure operational configuration mode and USB description strings. The EEPROM also allows each of the FTDI’s channels to be independently configured. It customises various values and parameters, some of which are remoted Wake Up, power descriptor value, and more.
In addition, FTDI Click features the MCP4921, a 12-bit DAC from Microchip, that communicates with the host MCU over an SPI serial interface of the mikroBUS™ socket. Activated using an FTDI signal over a BD4, it can be used as a reference for external peripherals with a value from the VO pin routed to the AN pin of the mikroBUS™ socket.
This Click board™ can be operated only with a 3.3V logic voltage level. 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. 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.
Type
USB
Applications
Can be used for various industry-standard applications suitable for development purposes by adding USB to a target design
On-board modules
FT2232H - USB 2.0 to serial interface converter from FTDI
CAT93C46 – a 1Kbit serial EEPROM from Catalyst Semiconductor
Key Features
High speed, MPSSE to simplify synchronous serial protocol, FIFO interface, transmit/receive indicator, EEPROM for operational configuration, communication selection, DAC for external peripherals, and more
Interface
I2C,SPI,UART,USB
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V,5V
This table shows how the pinout on FTDI Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2 | TX/RX | - | Transmit/Receive LED Indicator |
J1-J3 | COMM SEL | Right | Communication Interface Selection: Left position I2C, Right position UART |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
USB Data Rate | - | - | 480 | Mbps |
We provide a library for the FTDI Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Library Description
This library contains API for FTDI Click driver.
Key functions
ftdi_generic_write
This function writes a desired number of data bytes by using UART serial interface.
ftdi_generic_read
This function reads a desired number of data bytes by using UART serial interface.
Example Description
This example demonstrates the use of FTDI Click by echoing back all the received messages.
void application_task ( void )
{
uint8_t rx_data = 0;
if ( ftdi_generic_read ( &ftdi, &rx_data, 1 ) > 0 )
{
ftdi_generic_write ( &ftdi, &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 Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Other MIKROE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need 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 MIKROE compilers.
This Click board™ is supported with mikroSDK - MIKROE 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.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.