clockgen3
2.0.0.0
|
Clock Gen 3 Click features a low power self-contained digital frequency source providing a precision frequency from 1kHz to 68MHz, set through a serial port.
We provide a library for the ClockGen3 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 compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for ClockGen3 Click driver.
clockgen3_cfg_setup
Config Object Initialization function. clockgen3_init
Initialization function. clockgen3_set_cs_pin
Sets CS pin state clockgen3_generic_write
Generic write function. clockgen3_set_freq
Sets Frequency This example demonstrates the use of Clock Gen 3 click board.
The demo application is composed of two sections :
Initializes the driver and configures the click board.
Sets different frequencies every 3 seconds and displays the set frequency on the USB UART.
The full application code, and ready to use projects can be installed directly from compilers IDE(recommended) or found on LibStock page or mikroE GitHub accaunt.
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. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.