usbuart4 2.0.0.0
|
USB UART 4 click offers a USB to asynchronous serial data (UART) interface, allowing the microcontroller based designs to communicate with the personal computer, in a very simple way. It is equipped with the FT232RL, a very popular USB to UART interface IC, used on many MikroElektronika devices - both for its reliability and simplicity. USB UART click is used for whenever there is a need to seamlessly and effortlessly interface the UART lines to a personal computer
We provide a library for the USBUART4 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for USBUART4 Click driver.
usbuart4_cfg_setup
Config Object Initialization function. usbuart4_init
Initialization function. usbuart4_pwr_ctrl
This function sets the click turns click on. usbuart4_set_cts
This function sets CTS pin. usbuart4_send_command
This function is used for sending commands. This example reads and processes data from USB UART 4 clicks.
The demo application is composed of two sections :
Initializes driver and power module.
Reads data and echos it back to device and logs it to board.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), 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 MikroElektronika compilers.