【E2127】STM32F103C8使用SPI+DMA驱动WS2812B

2021-11-03 01:43:51      索炜达电子      613     

项目编号:E2127

文件大小:8.5M

源码说明:带中文注释

开发环境:C编译器

简要概述:

STM32F103C8使用SPI+DMA驱动WS2812B,附上cubemx工程和源码

目录│文件列表:

    └ WS2812B

       │ .mxproject

       │ WS2812B.ioc

       ├ Drivers

       │  ├ CMSIS

       │  │  ├ Core

       │  │  │  ├ Include

       │  │  │  │  │ cmsis_armcc.h

       │  │  │  │  │ cmsis_armclang.h

       │  │  │  │  │ cmsis_compiler.h

       │  │  │  │  │ cmsis_gcc.h

       │  │  │  │  │ cmsis_iccarm.h

       │  │  │  │  │ cmsis_version.h

       │  │  │  │  │ core_armv8mbl.h

       │  │  │  │  │ core_armv8mml.h

       │  │  │  │  │ core_cm0.h

       │  │  │  │  │ core_cm0plus.h

       │  │  │  │  │ core_cm1.h

       │  │  │  │  │ core_cm23.h

       │  │  │  │  │ core_cm3.h

       │  │  │  │  │ core_cm33.h

       │  │  │  │  │ core_cm4.h

       │  │  │  │  │ core_cm7.h

       │  │  │  │  │ core_sc000.h

       │  │  │  │  │ core_sc300.h

       │  │  │  │  │ mpu_armv7.h

       │  │  │  │  │ mpu_armv8.h

       │  │  │  │  └ tz_context.h

       │  │  │  └ Template

       │  │  │     └ ARMv8-M

       │  │  │        │ main_s.c

       │  │  │        └ tz_context.c

       │  │  ├ Core_A

       │  │  │  ├ Include

       │  │  │  │  │ cmsis_armcc.h

       │  │  │  │  │ cmsis_armclang.h

       │  │  │  │  │ cmsis_compiler.h

       │  │  │  │  │ cmsis_cp15.h

       │  │  │  │  │ cmsis_gcc.h

       │  │  │  │  │ cmsis_iccarm.h

       │  │  │  │  │ core_ca.h

       │  │  │  │  └ irq_ctrl.h

       │  │  │  └ Source

       │  │  │     └ irq_ctrl_gic.c

       │  │  ├ Device

       │  │  │  └ ST

       │  │  │     └ STM32F1xx

       │  │  │        ├ Include

       │  │  │        │  │ stm32f100xb.h

       │  │  │        │  │ stm32f100xe.h

       │  │  │        │  │ stm32f101x6.h

       │  │  │        │  │ stm32f101xb.h

       │  │  │        │  │ stm32f101xe.h

       │  │  │        │  │ stm32f101xg.h

       │  │  │        │  │ stm32f102x6.h

       │  │  │        │  │ stm32f102xb.h

       │  │  │        │  │ stm32f103x6.h

       │  │  │        │  │ stm32f103xb.h

       │  │  │        │  │ stm32f103xe.h

       │  │  │        │  │ stm32f103xg.h

       │  │  │        │  │ stm32f105xc.h

       │  │  │        │  │ stm32f107xc.h

       │  │  │        │  │ stm32f1xx.h

       │  │  │        │  └ system_stm32f1xx.h

       │  │  │        └ Source

       │  │  │           └ Templates

       │  │  │              │ system_stm32f1xx.c

       │  │  │              ├ arm

       │  │  │              │  │ startup_stm32f100xb.s

       │  │  │              │  │ startup_stm32f100xe.s

       │  │  │              │  │ startup_stm32f101x6.s

       │  │  │              │  │ startup_stm32f101xb.s

       │  │  │              │  │ startup_stm32f101xe.s

       │  │  │              │  │ startup_stm32f101xg.s

       │  │  │              │  │ startup_stm32f102x6.s

       │  │  │              │  │ startup_stm32f102xb.s

       │  │  │              │  │ startup_stm32f103x6.s

       │  │  │              │  │ startup_stm32f103xb.s

       │  │  │              │  │ startup_stm32f103xe.s

       │  │  │              │  │ startup_stm32f103xg.s

       │  │  │              │  │ startup_stm32f105xc.s

       │  │  │              │  └ startup_stm32f107xc.s

       │  │  │              ├ gcc

       │  │  │              │  │ startup_stm32f100xb.s

       │  │  │              │  │ startup_stm32f100xe.s

       │  │  │              │  │ startup_stm32f101x6.s

       │  │  │              │  │ startup_stm32f101xb.s

       │  │  │              │  │ startup_stm32f101xe.s

       │  │  │              │  │ startup_stm32f101xg.s

       │  │  │              │  │ startup_stm32f102x6.s

       │  │  │              │  │ startup_stm32f102xb.s

       │  │  │              │  │ startup_stm32f103x6.s

       │  │  │              │  │ startup_stm32f103xb.s

       │  │  │              │  │ startup_stm32f103xe.s

       │  │  │              │  │ startup_stm32f103xg.s

       │  │  │              │  │ startup_stm32f105xc.s

       │  │  │              │  └ startup_stm32f107xc.s

       │  │  │              └ iar

       │  │  │                 │ startup_stm32f100xb.s

       │  │  │                 │ startup_stm32f100xe.s

       │  │  │                 │ startup_stm32f101x6.s

       │  │  │                 │ startup_stm32f101xb.s

       │  │  │                 │ startup_stm32f101xe.s

       │  │  │                 │ startup_stm32f101xg.s

       │  │  │                 │ startup_stm32f102x6.s

       │  │  │                 │ startup_stm32f102xb.s

       │  │  │                 │ startup_stm32f103x6.s

       │  │  │                 │ startup_stm32f103xb.s

       │  │  │                 │ startup_stm32f103xe.s

       │  │  │                 │ startup_stm32f103xg.s

       │  │  │                 │ startup_stm32f105xc.s

       │  │  │                 │ startup_stm32f107xc.s

       │  │  │                 └ linker

       │  │  │                    │ stm32f100xb_flash.icf

       │  │  │                    │ stm32f100xb_sram.icf

       │  │  │                    │ stm32f100xe_flash.icf

       │  │  │                    │ stm32f100xe_sram.icf

       │  │  │                    │ stm32f101x6_flash.icf

       │  │  │                    │ stm32f101x6_sram.icf

       │  │  │                    │ stm32f101xb_flash.icf

       │  │  │                    │ stm32f101xb_sram.icf

       │  │  │                    │ stm32f101xe_flash.icf

       │  │  │                    │ stm32f101xe_sram.icf

       │  │  │                    │ stm32f101xg_flash.icf

       │  │  │                    │ stm32f101xg_sram.icf

       │  │  │                    │ stm32f102x6_flash.icf

       │  │  │                    │ stm32f102x6_sram.icf

       │  │  │                    │ stm32f102xb_flash.icf

       │  │  │                    │ stm32f102xb_sram.icf

       │  │  │                    │ stm32f103x6_flash.icf

       │  │  │                    │ stm32f103x6_sram.icf

       │  │  │                    │ stm32f103xb_flash.icf

       │  │  │                    │ stm32f103xb_sram.icf

       │  │  │                    │ stm32f103xe_flash.icf

       │  │  │                    │ stm32f103xe_sram.icf

       │  │  │                    │ stm32f103xg_flash.icf

       │  │  │                    │ stm32f103xg_sram.icf

       │  │  │                    │ stm32f105xc_flash.icf

       │  │  │                    │ stm32f105xc_sram.icf

       │  │  │                    │ stm32f107xc_flash.icf

       │  │  │                    └ stm32f107xc_sram.icf

       │  │  ├ DSP

       │  │  │  ├ DSP_Lib_TestSuite

       │  │  │  │  ├ Common

       │  │  │  │  │  ├ inc

       │  │  │  │  │  │  │ all_tests.h

       │  │  │  │  │  │  │ math_helper.h

       │  │  │  │  │  │  │ type_abbrev.h

       │  │  │  │  │  │  ├ basic_math_tests

       │  │  │  │  │  │  │  │ basic_math_templates.h

       │  │  │  │  │  │  │  │ basic_math_tests.h

       │  │  │  │  │  │  │  │ basic_math_test_data.h

       │  │  │  │  │  │  │  └ basic_math_test_group.h

       │  │  │  │  │  │  ├ complex_math_tests

       │  │  │  │  │  │  │  │ complex_math_templates.h

       │  │  │  │  │  │  │  │ complex_math_tests.h

       │  │  │  │  │  │  │  │ complex_math_test_data.h

       │  │  │  │  │  │  │  └ complex_math_test_group.h

       │  │  │  │  │  │  ├ controller_tests

       │  │  │  │  │  │  │  │ controller_templates.h

       │  │  │  │  │  │  │  │ controller_tests.h

       │  │  │  │  │  │  │  │ controller_test_data.h

       │  │  │  │  │  │  │  └ controller_test_group.h

       │  │  │  │  │  │  ├ fast_math_tests

       │  │  │  │  │  │  │  │ fast_math_templates.h

       │  │  │  │  │  │  │  │ fast_math_test_data.h

       │  │  │  │  │  │  │  └ fast_math_test_group.h

       │  │  │  │  │  │  ├ filtering_tests

       │  │  │  │  │  │  │  │ filtering_templates.h

       │  │  │  │  │  │  │  │ filtering_tests.h

       │  │  │  │  │  │  │  │ filtering_test_data.h

       │  │  │  │  │  │  │  └ filtering_test_group.h

       │  │  │  │  │  │  ├ intrinsics_tests

       │  │  │  │  │  │  │  │ intrinsics_templates.h

       │  │  │  │  │  │  │  │ intrinsics_test_data.h

       │  │  │  │  │  │  │  └ intrinsics_test_group.h

       │  │  │  │  │  │  ├ matrix_tests

       │  │  │  │  │  │  │  │ matrix_templates.h

       │  │  │  │  │  │  │  │ matrix_tests.h

       │  │  │  │  │  │  │  │ matrix_test_data.h

       │  │  │  │  │  │  │  └ matrix_test_group.h

       │  │  │  │  │  │  ├ statistics_tests

       │  │  │  │  │  │  │  │ statistics_templates.h

       │  │  │  │  │  │  │  │ statistics_tests.h

       │  │  │  │  │  │  │  │ statistics_test_data.h

       │  │  │  │  │  │  │  └ statistics_test_group.h

       │  │  │  │  │  │  ├ support_tests

TAGWS2812B
  • 11 次
  • 1 分