File Download Area

TI MSC1212 D/A Example Program

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

  • TI MSC1212Y2
  • TI MSC1212Y3
  • TI MSC1212Y4
  • TI MSC1212Y5

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. Build the project (Project - Build Target).
  2. Start the uVision Debugger.
  3. Click Go or Run (F5).
  4. 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.

MSC1212_DAC.ZIP (7.6K)
Thursday, August 26, 2004