基于STM32的方波/正弦波频率周期自动检测与幅值计算工程

上传者: echo99 | 上传时间: 2026-06-05 20:36:05 | 文件大小: 304KB | 文件类型: ZIP
一套开箱即用的STM32嵌入式信号分析工程,专注实时识别常见周期波形(如方波、正弦波、三角波等),精准测量频率、周期、占空比、峰峰值和有效值。代码基于标准外设库或HAL库构建,含完整Keil MDK项目结构(.uvprojx/.uvguix工程文件)、调试配置(JLinkSettings.ini)、启动脚本(keilkilll.bat)及模块化源码组织(User、APP、Public、Libraries目录清晰分离)。支持GPIO输入捕获+定时器同步采样,兼顾精度与实时性,适用于电机控制反馈、传感器信号调理、教学实验及简易示波器前端开发。所有功能均在裸机环境下实现,不依赖RTOS,便于理解底层时序逻辑与中断处理机制。

文件下载

资源详情

[{"title":"( 118 个子文件 304KB ) 基于STM32的方波/正弦波频率周期自动检测与幅值计算工程","children":[{"title":"keilkilll.bat <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"ff.c <span style='color:#111;'> 152.61KB </span>","children":null,"spread":false},{"title":"inv_mpu.c <span style='color:#111;'> 86.81KB </span>","children":null,"spread":false},{"title":"lcd.c <span style='color:#111;'> 81.12KB </span>","children":null,"spread":false},{"title":"inv_mpu_dmp_motion_driver.c <span style='color:#111;'> 57.04KB </span>","children":null,"spread":false},{"title":"system_stm32f4xx.c <span style='color:#111;'> 52.07KB </span>","children":null,"spread":false},{"title":"w25qxx.c <span style='color:#111;'> 9.29KB </span>","children":null,"spread":false},{"title":"flash.c <span style='color:#111;'> 9.03KB </span>","children":null,"spread":false},{"title":"touch.c <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false},{"title":"mpu6050.c <span style='color:#111;'> 7.61KB </span>","children":null,"spread":false},{"title":"fontupd.c <span style='color:#111;'> 7.19KB </span>","children":null,"spread":false},{"title":"gt5663.c <span style='color:#111;'> 6.75KB </span>","children":null,"spread":false},{"title":"rtc.c <span style='color:#111;'> 6.52KB </span>","children":null,"spread":false},{"title":"oscilloscope.c <span style='color:#111;'> 6.36KB </span>","children":null,"spread":false},{"title":"hwjs.c <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"timer.c <span style='color:#111;'> 5.44KB </span>","children":null,"spread":false},{"title":"malloc.c <span style='color:#111;'> 5.21KB </span>","children":null,"spread":false},{"title":"pid.c <span style='color:#111;'> 4.92KB </span>","children":null,"spread":false},{"title":"touch_key.c <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"led.c <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"adc.c <span style='color:#111;'> 4.23KB </span>","children":null,"spread":false},{"title":"ft6236.c <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"can.c <span style='color:#111;'> 4.07KB </span>","children":null,"spread":false},{"title":"digital_multimeter.c <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"ds18b20.c <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"key_4x4.c <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"ctiic.c <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"24cxx.c <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"iic.c <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"exti.c <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false},{"title":"input.c <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"spi.c <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"stm32_flash.c <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"rs485.c <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"adc_temp.c <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"dma.c <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"pwm_dac.c <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"pwm.c <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"Near.c <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"key.c <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"motor.c <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"wwdg.c <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"dac.c <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"wkup.c <span style='color:#111;'> 696B </span>","children":null,"spread":false},{"title":"TO_A72.c <span style='color:#111;'> 674B </span>","children":null,"spread":false},{"title":"rng.c <span style='color:#111;'> 642B </span>","children":null,"spread":false},{"title":"beep.c <span style='color:#111;'> 593B </span>","children":null,"spread":false},{"title":"iwdg.c <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":"Target_1_STM32F407ZG.dbgconf <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"core_cm4.h <span style='color:#111;'> 107.37KB </span>","children":null,"spread":false},{"title":"FONT.H <span style='color:#111;'> 60.11KB </span>","children":null,"spread":false},{"title":"stm32f4xx_adc.h <span style='color:#111;'> 32.11KB </span>","children":null,"spread":false},{"title":"stm32f4xx_can.h <span style='color:#111;'> 26.67KB </span>","children":null,"spread":false},{"title":"core_cmInstr.h <span style='color:#111;'> 26.22KB </span>","children":null,"spread":false},{"title":"core_cmSimd.h <span style='color:#111;'> 22.41KB </span>","children":null,"spread":false},{"title":"dmpKey.h <span style='color:#111;'> 18.89KB </span>","children":null,"spread":false},{"title":"core_cmFunc.h <span style='color:#111;'> 17.02KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dac.h <span style='color:#111;'> 14.59KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cryp.h <span style='color:#111;'> 14.14KB </span>","children":null,"spread":false},{"title":"ff.h <span style='color:#111;'> 12.86KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dcmi.h <span style='color:#111;'> 12.67KB </span>","children":null,"spread":false},{"title":"stm32f4xx_cec.h <span style='color:#111;'> 12.15KB </span>","children":null,"spread":false},{"title":"lcd.h <span style='color:#111;'> 7.53KB </span>","children":null,"spread":false},{"title":"misc.h <span style='color:#111;'> 6.76KB </span>","children":null,"spread":false},{"title":"dmpmap.h <span style='color:#111;'> 6.61KB </span>","children":null,"spread":false},{"title":"inv_mpu.h <span style='color:#111;'> 4.76KB </span>","children":null,"spread":false},{"title":"mpu6050.h <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false},{"title":"stm32f4xx_dbgmcu.h <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"inv_mpu_dmp_motion_driver.h <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"stm32f4xx_crc.h <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false},{"title":"malloc.h <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"system_stm32f4xx.h <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"w25qxx.h <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"flash.h <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"touch.h <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"stm32_flash.h <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"fontupd.h <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"ft6236.h <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"gt5663.h <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"oscilloscope.h <span style='color:#111;'> 1010B </span>","children":null,"spread":false},{"title":"24cxx.h <span style='color:#111;'> 985B </span>","children":null,"spread":false},{"title":"key.h <span style='color:#111;'> 941B </span>","children":null,"spread":false},{"title":"adc.h <span style='color:#111;'> 927B </span>","children":null,"spread":false},{"title":"pid.h <span style='color:#111;'> 844B </span>","children":null,"spread":false},{"title":"ds18b20.h <span style='color:#111;'> 780B </span>","children":null,"spread":false},{"title":"iic.h <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"ctiic.h <span style='color:#111;'> 673B </span>","children":null,"spread":false},{"title":"digital_multimeter.h <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"Near.h <span style='color:#111;'> 400B </span>","children":null,"spread":false},{"title":"rtc.h <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"motor.h <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"TO_A72.h <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"touch_key.h <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":"can.h <span style='color:#111;'> 287B </span>","children":null,"spread":false},{"title":"timer.h <span style='color:#111;'> 257B </span>","children":null,"spread":false},{"title":"dma.h <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"led.h <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"beep.h <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"spi.h <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"......文件过多,未全部展示","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明