/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name          : readme.txt
* Author             : MCD Application Team
* Version            : V1.0
* Date               : 10/08/2007
* Description        : Description of the AN2548 Application note's Example2.
********************************************************************************
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/

Example description
===================
This example describes how  to use the ADC and DMA to transfer continuously 
converted data from ADC through SPI. One DMA channel is used to transfer the data
directly from the ADC to the SPI. 

The ADC is configured to converts continuously ADC1 channel14.
Each time an end of conversion occurs the DMA transfers, in circular mode, the
converted data from ADC1 DR register to the SPI data register.
The ADC1 clock is set to 14 MHz and 1 conv/us.
The SPI is used in master mode with at 14 MBaud.


Directory contents
==================
stm32f10x_conf.h  Library Configuration file
stm32f10x_it.c    Interrupt handlers
stm32f10x_it.h    Interrupt handlers header file
main.c            Main program


Hardware environment
====================
 - Connect a variable power supply 0-3.3V to ADC1 Channel14 mapped on pin PC.04
   (potentiometer RV1 on STM3210B-EVAL board) 

         
How to use it
=============
  + RVMDK
    - Open the DMA_AN_Example2.uv2 project
    - Rebuild all files: Project->Rebuild all target files
    - Load project image: Debug->Start/Stop Debug Session
    - Run program: Debug->Run (F5)

  + RIDE
    - Open the DMA_AN_Example2.rprj project
    - Rebuild all files: Project->Build Project
    - Load project image: Debug->start
    - Run program: Debug->Run(ctrl+F9)  
    
  + EWARM
    - Open the DMA_AN_Example2.eww workspace.
    - Rebuild all files: Project->Rebuild all
    - Load project image: Project->Debug
    - Run program: Debug->Go(F5)

******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE******
