Final Project
Final Project
9. The digital data values of the waveform are to be converted to analog voltages by the
microcontrollers digital-to-analog converter (DAC). The DAC output to be connected to
GPIOA pin PA4.
10. The data written to the DAC is also to be written to a global variable named DACvalue,
which is to be displayed in the Logic Analyzer window of the Keil debugger. This will
show the generated waveform, including both magnitude and frequency.
For extra credit replace the triangular waveform with a sinusoidal waveform, oscillating
between 0 and 4095.
=========================================================================
In the final class period of the semester, you are to submit a one to two-page description of
your program design, a printout of the assembly language source file, and screen captures of
the logic analyzer window, showing at least two frequencies for each waveform.
Also, email me an electronic copy of your program(s).
Finally, bring the programmed board to my office for a demonstration. I will have the Logic
Analyzer open to display variable DACvalue (therefore I will need to compile your source
program before connecting to your board). I will also have an oscilloscope connected to pin PA4
to view the generated waveform.