/********************************************************************** * $Id$ abstract.txt *//** * @file abstract.txt * @brief Example description file * @version 2.0 * @date * @author NXP MCU SW Application Team/Micromint USA Support * * Copyright(C) 2010, NXP Semiconductor * All rights reserved. * *********************************************************************** * Software that is described herein is for illustrative purposes only * which provides customers with programming information regarding the * products. This software is supplied "AS IS" without any warranties. * NXP Semiconductors assumes no responsibility or liability for the * use of the software, conveys no license or title under any patent, * copyright, or mask work right to the product. NXP Semiconductors * reserves the right to make changes in the software without * notification. NXP Semiconductors also make no representation or * warranty that such application will be suitable for the specified * use without further testing or modification. **********************************************************************/ @Example description: Purpose: This example describes how to use DMA to generate multi signal forms. Process: DAC will be initialized with maximum current is 700uA. This allows a maximum update rate of 1Mhz Formula for ouput voltage on AOUT is: AOUT = VALUE x ((Vrefp - Vrefn)/1024)+Vrefn in which: - Vrefp: tied to VDD(3.3V) - Vrefn: tied to Vss DAC will generate a sinewave with peak to peak is within Vrefp and Vrefn. We need to prepare a look up table with 60 items, each item is the value to update AOUT voltage, and it's correspondent to a sample point of 1 circle sinewave signal. The formula is below: for(i=0;i