Keil Logo

Philips P87LPC769 D/A Example Program

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

  • Philips P87LPC769

The program configures the D/A's and generates a sine wave on the DAC0 channel and a sawtooth waveform on the DAC1 channel.

To watch the effect this program has on the D/A Converters:

  1. Build the program (Project-Build Target).
  2. Start the Debugger (Debug-Start/Stop Debug Session).
  3. Open the D/A Converter Dialog Box (Peripherals D/A Converter).
  4. Make sure View-Periodic Window Update is checked.
  5. Run the program and watch the D/A outputs change.

When the program writes to DAC0 and DAC1 you will see the corresponding registers change in the D/A Converter dialog.

µVision3 users may enable the built-in Logic Analyzer to view and measure the digital input and analog output signals graphically.

P87LPC76X_DAC.ZIP (6.0K)
Thursday, August 26, 2004
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.