STM32F4_Discovery_DAC_SignalsGeneration
所属分类:其他
开发工具:C/C++
文件大小:504KB
下载次数:4
上传日期:2019-04-15 04:55:44
上 传 者:
filozof65
说明: STM32F407 DMA_ADC. You can use easyly.
文件列表:
STM32F4_Discovery_DAC_SignalsGeneration\.cproject (14183, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\.project (2208, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\.settings\com.atollic.truestudio.debug.hardware_device.prefs (264, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\.settings\com.atollic.truestudio.import.example.prefs (195, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\.settings\language.settings.xml (909, 2019-03-03)
STM32F4_Discovery_DAC_SignalsGeneration\.settings\org.eclipse.cdt.managedbuilder.core.prefs (1088, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\CMSIS\CMSIS END USER LICENCE AGREEMENT.pdf (51511, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\CMSIS\Include\arm_common_tables.h (1120, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\CMSIS\Include\arm_math.h (240326, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\CMSIS\Include\core_cm4.h (79281, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\CMSIS\Include\core_cm4_simd.h (23979, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\CMSIS\Include\core_cmFunc.h (15691, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\CMSIS\Include\core_cmInstr.h (16108, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\Device\STM32F4xx\Include\stm32f4xx.h (530857, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\Device\STM32F4xx\Include\system_stm32f4xx.h (2222, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\Device\STM32F4xx\Release_Notes.html (20549, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\misc.h (6923, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_adc.h (32548, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_can.h (27317, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_crc.h (2415, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_cryp.h (12659, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_dac.h (14945, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_dbgmcu.h (4295, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_dcmi.h (12976, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_dma.h (28879, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_exti.h (8011, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_flash.h (14594, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_fsmc.h (27175, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_gpio.h (17700, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_hash.h (9083, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_i2c.h (31645, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_iwdg.h (4322, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_pwr.h (6153, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_rcc.h (24873, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_rng.h (3957, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_rtc.h (40544, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_sdio.h (22776, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_spi.h (20778, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_syscfg.h (7227, 2019-01-23)
STM32F4_Discovery_DAC_SignalsGeneration\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_tim.h (51688, 2019-01-23)
... ...
/**
@page DAC_SignalsGen DAC Signals generation example
@verbatim
******************** (C) COPYRIGHT 2011 STMicroelectronics *******************
* @file DAC_SignalsGeneration/readme.txt
* @author MCD Application Team
* @version V1.0.1
* @date 15-May-2012
* @brief Description of the DAC Signals generation example.
******************************************************************************
* @attention
*
*
© COPYRIGHT 2012 STMicroelectronics
*
* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.st.com/software_license_agreement_liberty_v2
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************
@endverbatim
@par Example Description
This example provides a short description of how to use the DAC peripheral to
generate several signals using DMA controller.
When the user presses the USER push-button, DMA transfers the two selected
waveforms to the DAC.
For each press on USER button, 2 signals has been selected and can be monitored on
the two DAC channels:
- Escalator waveform (Channel 1) and Sine waveForm (Channel 2).
- Noise waveform (Channel 1) and Triangle waveform (Channel 2).
@par Directory contents
- DAC_SignalsGeneration/stm32f4xx_conf.h Library Configuration file
- DAC_SignalsGeneration/stm32f4xx_it.c Interrupt handlers
- DAC_SignalsGeneration/stm32f4xx_it.h Interrupt handlers header file
- DAC_SignalsGeneration/main.c Main program
- DAC_SignalsGeneration/system_stm32f4xx.c STM32F4xx system source file
@par Hardware and Software environment
- This example runs on STM32F4xx Devices Revision A.
- This example has been tested with STM32F4-Discovery (MB997) RevA and can be
easily tailored to any other development board.
- STM32F4-Discovery
- Use USER push-button connected to PA.00.
- Connect PA4 (DAC Channel1) and PA5 (DAC Channel2) pins to an oscilloscope.
@par How to use it ?
In order to make the program work, you must do the following :
+ EWARM
- Open the DAC_SignalsGeneration.eww workspace
- Rebuild all files: Project->Rebuild all
- Load project image: Project->Debug
- Run program: Debug->Go(F5)
+ MDK-ARM
- Open the DAC_SignalsGeneration.uvproj project
- Rebuild all files: Project->Rebuild all target files
- Load project image: Debug->Start/Stop Debug Session
- Run program: Debug->Run (F5)
+ TASKING
- Open TASKING toolchain.
- Click on File->Import, select General->'Existing Projects into Workspace'
and then click "Next".
- Browse to TASKING workspace directory and select the project "DAC_SignalsGeneration"
- Rebuild all project files: Select the project in the "Project explorer"
window then click on Project->build project menu.
- Run program: Select the project in the "Project explorer" window then click
Run->Debug (F11)
+ TrueSTUDIO
- Open the TrueSTUDIO toolchain.
- Click on File->Switch Workspace->Other and browse to TrueSTUDIO workspace
directory.
- Click on File->Import, select General->'Existing Projects into Workspace'
and then click "Next".
- Browse to the TrueSTUDIO workspace directory and select the project "DAC_SignalsGeneration"
- Rebuild all project files: Select the project in the "Project explorer"
window then click on Project->build project menu.
- Run program: Select the project in the "Project explorer" window then click
Run->Debug (F11)
* © COPYRIGHT 2011 STMicroelectronics
*/
近期下载者:
相关文件:
收藏者: