
A function generator from an C8051 DAC application note(PDF) from Silicon Labs
This document describes how to implement an interrupt driven multifunction generator on C8051 devices using the on-chip digital-to-analog converter (DAC).
Four different waveforms expandable to any periodic function defined in a table.
– Sine Wave (Table Defined)
– Square Wave (Calculated)
– Triangle Wave (Calculated)
– Saw Tooth Wave (Calculated)
* Allows selection of the frequency and amplitude of waveform at run time.
* An interactive interface with a PC using the serial communications port and HyperTerminal or an equivalent program.
