资源简介
需要用两片AD7689组成16通道工频数据采集,双通道同步采样,一次双通道采集耗时20us,一次单通道采集耗时14us,现把源码公开,希望大牛能将采样时间降到最低,减少CPU占用率。
代码片段和文件信息
/**
******************************************************************************
* @file system_stm32f4xx.c
* @author MCD Application Team
* @version V1.5.0
* @date 06-March-2015
* @brief CMSIS Cortex-M4 Device Peripheral Access layer System Source File.
* This file contains the system clock configuration for STM32F4xx devices.
*
* 1. This file provides two functions and one global variable to be called from
* user application:
* - SystemInit(): Setups the system clock (System clock source PLL Multiplier
* and Divider factors AHB/APBx prescalers and Flash settings)
* depending on the configuration made in the clock xls tool.
* This function is called at startup just after reset and
* before branch to main program. This call is made inside
* the “startup_stm32f4xx.s“ file.
*
* - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
*
* 2. After each device reset the HSI (16 MHz) is used as system clock source.
* Then SystemInit() function is called in “startup_stm32f4xx.s“ file to
* configure the system clock before to branch to main program.
*
* 3. If the system clock source selected by user fails to startup the SystemInit()
* function will do nothing and HSI still used as system clock source. User can
* add some code to deal with this issue inside the SetSysClock() function.
*
* 4. The default value of HSE crystal is set to 25MHz refer to “HSE_VALUE“ define
* in “stm32f4xx.h“ file. When HSE is used as system clock source directly or
* through PLL and you are using different crystal you have to adapt the HSE
* value to your own configuration.
*
* 5. This file configures the system clock as follows:
*=============================================================================
*=============================================================================
* Supported STM32F40xxx/41xxx devices
*-----------------------------------------------------------------------------
* System Clock source | PLL (HSE)
*-----------------------------------------------------------------------------
* SYSCLK(Hz) | 168000000
*-----------------------------------------------------------------------------
* HCLK(Hz)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 9914 2018-10-09 16:53 AD7689_STM32F429\AD7689采样数据打印.png
文件 401 2016-06-29 15:48 AD7689_STM32F429\keilkill.bat
文件 767942 2015-05-18 22:16 AD7689_STM32F429\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
文件 2232 2015-05-18 22:16 AD7689_STM32F429\Libraries\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h
文件 31133 2015-05-18 22:16 AD7689_STM32F429\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429_439xx.s
文件 135 2018-07-09 17:45 AD7689_STM32F429\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\说明.txt
文件 53272 2015-05-18 22:16 AD7689_STM32F429\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
文件 141 2018-07-09 17:45 AD7689_STM32F429\Libraries\CMSIS\Device\ST\STM32F4xx\Source\Templates\说明.txt
文件 7251 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\arm_common_tables.h
文件 3940 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\arm_const_structs.h
文件 251190 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\arm_math.h
文件 34051 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\core_cm0.h
文件 41438 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\core_cm0plus.h
文件 100475 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\core_cm3.h
文件 109951 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\core_cm4.h
文件 130351 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\core_cm7.h
文件 17427 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\core_cmFunc.h
文件 26854 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\core_cmInstr.h
文件 22948 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\core_cmSimd.h
文件 42756 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\core_sc000.h
文件 99227 2015-12-03 10:59 AD7689_STM32F429\Libraries\CMSIS\Include\core_sc300.h
文件 140 2018-07-09 17:45 AD7689_STM32F429\Libraries\CMSIS\说明.txt
文件 6921 2015-05-20 16:36 AD7689_STM32F429\Libraries\STM32F4xx_StdPeriph_Driver\inc\misc.h
文件 32877 2015-05-20 16:36 AD7689_STM32F429\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_adc.h
文件 27315 2015-05-20 16:36 AD7689_STM32F429\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_can.h
文件 12444 2015-05-20 16:36 AD7689_STM32F429\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_cec.h
文件 2413 2015-05-20 16:36 AD7689_STM32F429\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_crc.h
文件 14478 2015-05-20 16:36 AD7689_STM32F429\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_cryp.h
文件 14943 2015-05-20 16:36 AD7689_STM32F429\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_dac.h
文件 4293 2015-05-20 16:36 AD7689_STM32F429\Libraries\STM32F4xx_StdPeriph_Driver\inc\stm32f4xx_dbgmcu.h
............此处省略261个文件信息
相关资源
- Broadcom SDK
- STM32F429内部FLASH读写保护测试程序
- broadcom的sdk(bcm)
- stm32f429I核心板
- hal库定时器触发adc dma采集
- STM32 adc采集数据存到SD卡中
- stm32 ADC采集DAC电压并显示在串口调试
- 基于STM32单片机的饮水机水位控制系统
- ADC1118芯片驱动程序
- STM32F407 双ADC同步采样TIM3触发,DMA中断
- STM32L系列直驱段式LCD、待机模式、A
- STM32+TIM+ADC
- STM32+ADC+中断+串口通信
- 基于ARM STM32F429的红外遥控贪吃蛇游戏
- STM32F103_ADC代码——直接移植即可用
- stm32f407的双通道adc驱动主函数,由定
- stm32-ADC实验
- FPGA电压表
- 高速SAR ADC设计
- stm32f207 ADC测试程序
- STM32F407 定时器触发ADC-DMA采集
- STM32F429中文数据手册
- STM32F207ADC1_DMA完整工程及其详解
- STM32的ADC1的三路通道数据采集(STM3
- STM8单片机3通道ADC数据采集及串口波形
- STM32无刷无感电机驱动
- BCM 56XX SDK 编程手册
- stm32f407ADC高速采样并进行CFFT变换
- 多路ADC
- stm32f1控制电磁阀+舵机+ADC推杆
评论
共有 条评论