Generate a waveform using a lut, timer interrupt, and the dac on you discovery board. This project uses a minimal setup which only includes the register definitions from St and the CMSIS core. It is helpful to have an oscilloscope around to view the waveform output.
- GNU Make
- GNU ARM Toolchain
- St-Link Flash Utility
- STM32F407G-DISC1 Development Board
- (Optional) Ocilloscope for viewing output
Make sure your discovery board is plugged into your computer, and that you have the required tools installed. Then use your shell to clone the git repository and compile/flash your board.
git clone https://github.com/kolazojar/dac.git
cd dac
make flash