App note: Using the DAC as a function generator

an_silabs_an123

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.

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.