waveform3 2.0.0.0
|
Waveform3 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Waveform3 Click example.
This demo app shows the basic capabilities of Waveform 3 click board. First, the sinusoidal wave is incremented to targeted frequency for visually pleasing introduction after which it changes between 4 modes of output.
The demo application is composed of two sections :
Application initializes the UART LOG and SPI drivers, resets the device and sets frequency and phase shift to default values. In the end, the mode is set with the preferred freq and phase channel.
Task commences with the start frequency rising up to the targeted one. When it reaches desired frequency, the mode changes every 5 seconds which includes: sinusoidal, triangular, DAC divided by 2 and DAC outputs respectively.
note: Waveform 3 click might not provide a high enough peak to peak signal on higher frequencies. The user can freely implement custom buffer for the output stage. Special thanks to my esteemed co-worker Nenad Filipovic for support during firmware development.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |