waveform2 2.0.0.0
|
Waveform 2 Click is a compact add-on board that contains a direct digital synthesis device for waveform generator applications. This board features the AD9834, a 75 MHz low power DDS device capable of producing high-performance sine/triangle/square outputs from Analog Devices. It provides the capability for phase and frequency modulation and has an on-board comparator that allows the production of a square wave signal for clock generation.
We provide a library for the Waveform2 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 Waveform2 Click driver.
waveform2_cfg_setup
Config Object Initialization function. waveform2_init
Initialization function. waveform2_default_cfg
Click Default Configuration function. waveform2_eeprom_read_string
Waveform 2 read string function. waveform2_eeprom_write_string
Waveform 2 write string function. waveform2_sine_output
Waveform 2 set sine output function. This is an example that demonstrates the use of the Waveform 2 Click board.
The demo application is composed of two sections :
Initialize the communication interface, preforming hardware reset, and configure the click board.
Predefined characters are inputed from the serial port. Depending on the character sent the signal frequency, waveform or amplitude will be changed.
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.