【E792】两块STM32 SPI通信(使用DMA)

2021-09-05 10:08:52      索炜达电子      381     

项目编号:E791

文件大小:396K

源码说明:带中文注释

开发环境:C编译器

简要概述:

本例程主要是用于两块STM32之间的SPI通信,用到了DMA节省了CPU的的时间,大大提高了CPU的利用率

目录│文件列表:

 │ readme.txt

 ├ Libraries

 │  ├ CMSIS

 │  │  └ CM3

 │  │     ├ CoreSupport

 │  │     │  │ core_cm3.c

 │  │     │  └ core_cm3.h

 │  │     └ DeviceSupport

 │  │        └ ST

 │  │           └ STM32F10x

 │  │              │ stm32f10x.h

 │  │              │ system_stm32f10x.h

 │  │              └ startup

 │  │                 ├ arm

 │  │                 │  │ startup_stm32f10x_cl.s

 │  │                 │  │ startup_stm32f10x_hd.s

 │  │                 │  │ startup_stm32f10x_hd_vl.s

 │  │                 │  │ startup_stm32f10x_ld.s

 │  │                 │  │ startup_stm32f10x_ld_vl.s

 │  │                 │  │ startup_stm32f10x_md.s

 │  │                 │  │ startup_stm32f10x_md_vl.s

 │  │                 │  └ startup_stm32f10x_xl.s

 │  │                 ├ gcc_ride7

 │  │                 │  │ startup_stm32f10x_cl.s

 │  │                 │  │ startup_stm32f10x_hd.s

 │  │                 │  │ startup_stm32f10x_hd_vl.s

 │  │                 │  │ startup_stm32f10x_ld.s

 │  │                 │  │ startup_stm32f10x_ld_vl.s

 │  │                 │  │ startup_stm32f10x_md.s

 │  │                 │  │ startup_stm32f10x_md_vl.s

 │  │                 │  └ startup_stm32f10x_xl.s

 │  │                 ├ iar

 │  │                 │  │ startup_stm32f10x_cl.s

 │  │                 │  │ startup_stm32f10x_hd.s

 │  │                 │  │ startup_stm32f10x_hd_vl.s

 │  │                 │  │ startup_stm32f10x_ld.s

 │  │                 │  │ startup_stm32f10x_ld_vl.s

 │  │                 │  │ startup_stm32f10x_md.s

 │  │                 │  │ startup_stm32f10x_md_vl.s

 │  │                 │  └ startup_stm32f10x_xl.s

 │  │                 └ TrueSTUDIO

 │  │                    │ startup_stm32f10x_cl.s

 │  │                    │ startup_stm32f10x_hd.s

 │  │                    │ startup_stm32f10x_hd_vl.s

 │  │                    │ startup_stm32f10x_ld.s

 │  │                    │ startup_stm32f10x_ld_vl.s

 │  │                    │ startup_stm32f10x_md.s

 │  │                    │ startup_stm32f10x_md_vl.s

 │  │                    └ startup_stm32f10x_xl.s

 │  └ STM32F10x_StdPeriph_Driver

 │     ├ inc

 │     │  │ misc.h

 │     │  │ stm32f10x_adc.h

 │     │  │ stm32f10x_bkp.h

 │     │  │ stm32f10x_can.h

 │     │  │ stm32f10x_cec.h

 │     │  │ stm32f10x_crc.h

 │     │  │ stm32f10x_dac.h

 │     │  │ stm32f10x_dbgmcu.h

 │     │  │ stm32f10x_dma.h

 │     │  │ stm32f10x_exti.h

 │     │  │ stm32f10x_flash.h

 │     │  │ stm32f10x_fsmc.h

 │     │  │ stm32f10x_gpio.h

 │     │  │ stm32f10x_i2c.h

 │     │  │ stm32f10x_iwdg.h

 │     │  │ stm32f10x_pwr.h

 │     │  │ stm32f10x_rcc.h

 │     │  │ stm32f10x_rtc.h

 │     │  │ stm32f10x_sdio.h

 │     │  │ stm32f10x_spi.h

 │     │  │ stm32f10x_tim.h

 │     │  │ stm32f10x_usart.h

 │     │  └ stm32f10x_wwdg.h

 │     └ src

 │        │ misc.c

 │        │ stm32f10x_adc.c

 │        │ stm32f10x_bkp.c

 │        │ stm32f10x_can.c

 │        │ stm32f10x_cec.c

 │        │ stm32f10x_crc.c

 │        │ stm32f10x_dac.c

 │        │ stm32f10x_dbgmcu.c

 │        │ stm32f10x_dma.c

 │        │ stm32f10x_exti.c

 │        │ stm32f10x_flash.c

 │        │ stm32f10x_fsmc.c

 │        │ stm32f10x_gpio.c

 │        │ stm32f10x_i2c.c

 │        │ stm32f10x_iwdg.c

 │        │ stm32f10x_pwr.c

 │        │ stm32f10x_rcc.c

 │        │ stm32f10x_rtc.c

 │        │ stm32f10x_sdio.c

 │        │ stm32f10x_spi.c

 │        │ stm32f10x_tim.c

 │        │ stm32f10x_usart.c

 │        └ stm32f10x_wwdg.c

 ├ MDK-ARM

 │  │ JLinkLog.txt

 │  │ JLinkSettings.ini

 │  │ Project.uvgui.Administrator

 │  │ Project.uvgui_Administrator.bak

 │  │ Project.uvopt

 │  │ Project.uvproj

 │  │ Project_HY-RedBull V3.0.dep

 │  │ Project_uvopt.bak

 │  │ Project_uvproj.bak

 │  ├ List

 │  │  │ Project.map

 │  │  └ startup_stm32f10x_hd.lst

 └ USER

    │ main.c

    │ platform_config.h

    │ readme.txt

    │ stm32f10x_conf.h

    │ stm32f10x_it.c

    │ stm32f10x_it.h

    │ system_stm32f10x.c

    ├ GLCD

    │  │ AsciiLib.c

    │  │ AsciiLib.h

    │  │ GLCD.c

    │  │ GLCD.h

    │  │ GLCD_UCGUI.c

    │  └ SSD1963_CMD.h

    └ SysTick

       │ stm32f10x_systick.c

       │ stm32f10x_systick.h

       │ systick.c

       └ systick.h

TAGSPI通信
  • 8 次
  • 1 分