waveform4 2.0.0.0
|
Waveform 4 Click is a compact add-on board that represents a high-performance signal generator. This board features the AD9106, a quad-channel, 12-bit, 180MSPS waveform generator, integrating on-chip static random access memory (SRAM) and direct digital synthesis (DDS) for complex waveform generation from Analog Devices. The DDS is up to a 180 MHz master clock sinewave generator with a 24-bit tuning word allowing 10.8 Hz/LSB frequency resolution.
We provide a library for the Waveform4 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 Waveform4 Click driver.
waveform4_cfg_setup
Config Object Initialization function. waveform4_init
Initialization function. waveform4_default_cfg
Click Default Configuration function. waveform4_set_frequency
This function sets the sine and cosine (DDS) waves output frequency. waveform4_set_gain
This function sets the gain level of a desired channel. waveform4_set_wave_output
This function sets a desired output signal wave to the selected channel. This example demonstrates the use of Waveform 4 click board.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration which resets the registers and sets the sine wave output with default gain and default frequency for all channels. After that it displays the list of supported commands on the USB UART.
Depending on the command character received from USB UART it changes the signal frequency, gain or wave of the selected channel.
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.