File Download Area

Analog Devices ADuC812/814/831/832/841/842 D/A Example Program

This example program shows how to configure and use the D/A Converter of the following microcontrollers:

  • Analog Devices ADuC812
  • Analog Devices ADuC814
  • Analog Devices ADuC831
  • Analog Devices ADuC832
  • Analog Devices ADuC841
  • Analog Devices ADuC842

This program generates a sine wave as an analog output of the DAC. The digital values that create the sine wave are submitted to the converter for every tick of the built-in timer.

To run this program...

  1. Select the device from the pull-down target list.
  2. Build the project (Project - Build Target).
  3. Start the uVision Debugger.
  4. Click Go or Run (F5).
  5. View the Analog Output values in the D/A Converter Peripheral Dialog.

µVision3 users may enable the built-in Logic Analyzer to view and measure the resulting analog signal graphically.

ADU812_DAC.ZIP (15K)
Friday, June 28, 2002