<< Click to Display Table of Contents >> Arbitrary Waveform Generator |
|
Use this block to output pre-determined sequence of voltage values to Digital to Analog Converter modules of the MCU.
STM32F4 has a maximum number of 2 DAC channels, meaning STM32F4 can be used as a 2 channels arbitrary function generator (by default between 0 - 3.3V).
Users give an array of voltage values to be output to the DAC modules.
This block uses DMA to automatically control the output of DAC, minimizing MCU load.
Select "Loop Data" to enable output values to loop back continuously.
Check "Enable Simulation" to enable output ports for output DAC values during simulation.