Stm32 CAN通讯

  • K4_906737
    了解作者
  • 2.5MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-06 03:10
    上传日期
AD采集,STM32103版实现CAN通讯,与上位机进行通讯
Stm32 CAN通讯.rar
  • STM32奋斗板-CAN(LoopBack)DEMO-V3
  • STM32-FD-USART1DEMO_STM32-CAN.dep
    19.1KB
  • STM32-FD-USART1DEMO.uvproj
    18.8KB
  • JLinkLog.txt
    222.7KB
  • STM32-FD-USART1DEMO_Uv2.Bak
    3.2KB
  • CM3
  • core_cm3.h
    83.7KB
  • stm32f10x.h
    606.6KB
  • system_stm32f10x.c
    31.3KB
  • core_cm3.c
    16.9KB
  • system_stm32f10x.h
    2KB
  • STM32-FD-USART1DEMO_uvopt.bak
    22.6KB
  • STM32-FD-USART1DEMO.uvgui.Administrator
    133.3KB
  • JLinkArm_STM3210B-EVAL.ini
    205B
  • STM32-FD-USART1DEMO.uvopt
    22.6KB
  • STM32-FD-USART1DEMO.Uv2.bak
    3.4KB
  • STM32-FD-USART1DEMO.uvgui_Administrator.bak
    134.2KB
  • Obj
  • main.d
    910B
  • stm32f10x_gpio.o
    332.1KB
  • scl_can.o
    325.2KB
  • stm32f10x_tim.crf
    309.3KB
  • misc.o
    315KB
  • scl_io.o
    327.8KB
  • mainlogic.o
    323KB
  • stm32f10x_rcc.o
    351.4KB
  • main.o
    322.9KB
  • stm32f10x_it.d
    1KB
  • stm32f10x_it.o
    337.7KB
  • STM32_FD_CAN.hex
    21.1KB
  • scl_spi.d
    765B
  • stm32f10x_spi.crf
    292.9KB
  • stm32f10x_spi.o
    338.8KB
  • main.crf
    298.6KB
  • stm32f10x_spi.d
    854B
  • stm32f10x_rcc.d
    854B
  • stm32f10x_gpio.d
    873B
  • startup_stm32f10x_hd.o
    6.6KB
  • stm32f10x_adc.crf
    296KB
  • stm32f10x_usart.d
    892B
  • stm32f10x_tim.o
    430.7KB
  • core_cm3.o
    10.1KB
  • scl_timex.o
    316.4KB
  • mainlogic.crf
    291KB
  • scl_adc.o
    320.3KB
  • STM32_FD_CAN.tra
    2.3KB
  • stm32f10x_can.o
    343.8KB
  • scl_spi.o
    311.9KB
  • stm32f10x_tim.d
    854B
  • scl_adc.d
    852B
  • core_cm3.d
    83B
  • stm32f10x_gpio.crf
    292.4KB
  • stm32f10x_dma.d
    854B
  • stm32f10x_usart.crf
    294.5KB
  • stm32f10x_dma.crf
    291.5KB
  • stm32f10x_can.d
    854B
  • stm32f10x_can.crf
    302.7KB
  • ExtDll.iex
    19B
  • system_stm32f10x.d
    841B
  • stm32f10x_adc.o
    358.2KB
  • STM32_FD_CAN.axf
    334.2KB
  • STM32_FD_CAN_sct.Bak
    479B
  • scl_can.d
    846B
  • mainlogic.d
    872B
  • system_stm32f10x.crf
    290.1KB
  • STM32_FD_CAN.sct
    479B
  • stm32f10x_dma.o
    320.8KB
  • STM32_FD_CAN.htm
    53.8KB
  • scl_timex.crf
    291.4KB
  • stm32f10x_rcc.crf
    296KB
  • stm32f10x_adc.d
    854B
  • scl_io.crf
    304.1KB
  • scl_timex.d
    805B
  • scl_can.crf
    298.6KB
  • misc.d
    683B
  • startup_stm32f10x_hd.d
    62B
  • scl_spi.crf
    290.1KB
  • system_stm32f10x.o
    310.9KB
  • STM32_FD_CAN.lnp
    724B
  • scl_adc.crf
    297.7KB
  • scl_io.d
    830B
  • stm32f10x_usart.o
    347.8KB
  • misc.crf
    290.5KB
  • STM32_FD_CAN.plg
    217B
  • stm32f10x_it.crf
    298.8KB
  • core_cm3.crf
    3.4KB
  • List
  • STM32_FD_CAN.map
    81.5KB
  • STM32_FD_USART1.map
    40.3KB
  • startup_stm32f10x_hd.lst
    50KB
  • STM32-FD-USART1DEMO.uvgui.WH
    67.8KB
  • JLink Regs CM3.txt
    497B
  • STM32-FD-USART1DEMO_STM32-USART1.dep
    6.3KB
  • STM32-FD-USART1DEMO_uvproj.bak
    17.8KB
  • user
  • stm32f10x_conf.h
    3.1KB
  • SCL_TIMEX.H
    317B
  • SCL_ADC.C
    2.8KB
  • SCL_TIMEX.C
    3.9KB
  • stm32f10x_it.c
    10.3KB
内容介绍
/** @page CAN_LoopBack CAN_LoopBack @verbatim ******************** (C) COPYRIGHT 2009 STMicroelectronics ******************* * @file CAN/LoopBack/readme.txt * @author MCD Application Team * @version V3.0.0 * @date 04/06/2009 * @brief Description of the CAN example. ****************************************************************************** * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. ****************************************************************************** @endverbatim @par Example Description This example provides a description of how to set a communication with the bxCAN in loopback mode. The CAN cell first performs a transmission and a reception of a standard data frame by polling at 100 Kbits/s. The received frame is checked and some LEDs light up to indicate whether the communication was successful. Then, an extended data frame is transmitted at 500 Kbits/s. Reception is done in the interrupt handler when the message becomes pending in the FIFO. Finally, the LEDs indicate if both transmission and reception have been successful. @par Directory contents - CAN/LoopBack/platform_config.h Hardware configuration header file - CAN/LoopBack/stm32f10x_conf.h Library Configuration file - CAN/LoopBack/stm32f10x_it.c Interrupt handlers - CAN/LoopBack/stm32f10x_it.h Interrupt handlers header file - CAN/LoopBack/main.c Main program @par Hardware and Software environment - This example runs on STM32F10x High-Density, STM32F10x Medium-Density and STM32F10x Low-Density Devices. - This example has been tested with STMicroelectronics STM3210E-EVAL (STM32F10x High-Density) and STM3210B-EVAL (STM32F10x Medium-Density) evaluation boards and can be easily tailored to any other supported device and development board. To select the STMicroelectronics evaluation board used to run the example, uncomment the corresponding line in platform_config.h file. - STM3210E-EVAL Set-up - Use LD1, LD2, LD3 and LD4 leds connected respectively to PF.06, PF0.7, PF.08 and PF.09 pins - STM3210B-EVAL Set-up - Use LD1, LD2, LD3 and LD4 leds connected respectively to PC.06, PC.07, PC.08 and PC.09 pins @par How to use it ? In order to make the program work, you must do the following : - Create a project and setup all project configuration - Add the required Library files : - stm32f10x_can.c - stm32f10x_rcc.c - stm32f10x_gpio.c - misc.c - system_stm32f10x.c - Edit stm32f10x.h file to select the device you are working on. @b Tip: You can tailor the provided project template to run this example, for more details please refer to "stm32f10x_stdperiph_lib_um.chm" user manual; select "Peripheral Examples" then follow the instructions provided in "How to proceed" section. - Link all compiled files and load your image into target memory - Run the example @note - Low-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes. - Medium-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 32 and 128 Kbytes. - High-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 256 and 512 Kbytes. * <h3><center>&copy; COPYRIGHT 2009 STMicroelectronics</center></h3> */
评论
    相关推荐
    • STM32 程序
      STM32一些自己写过的程序并应用过可以使用的,包括直流电机驱动,温度显示,oled显示,adc实验,PWM输出,定时器中断,全部都写在了main函数中,不过写的有一点乱。(pwm实验可以看我的博客)
    • STM32
      STM32 该存储库用于容纳我的学习项目,以便使用STM32开发板进行嵌入式系统编程。
    • stm32 sim 7600
      stm32 ota sim 7600 stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600stm32 ota sim 7600...
    • STM32
      关于 ...用于存放学习STM32过程中相关的笔记 作者:nekonana 列表 ::: tip该列表为总体列表,包含已更新和待更新项目 有什么新的想法都会开个待更新项目开坑::: STM32开发环境选择 STM32资料库建立
    • stm32 pack
      keil5 中使用的 STM32包 其中包括 STM32F0 STM32F1 STM32F3 STM32L0 STM32L1
    • stm32cubemx
      stm32cubemx st的代码生成器,安装后可以进行图形化的代码生成,项目生成!
    • STM32CubeMX
      ST(意法半导体)公司为方便STM32的使用和学习,以及HAL库的推广,自行研发的可以通过配置,自动生成初始化代码的工具软件
    • STM32 JoyStickMouse
      今天终于把 STM32 的例程 JoyStickMouse 跑起来了,上传一份备忘。 注意要根据 stm32f10x_conf.h 中的注释去掉一些没用到的文件
    • STM32CubeMX
      STM32CubeMX STM32Cube initialization code generator (UM1718)
    • stm32 demo
      stm32demo 内置adc采集 使用oled及串口显示,可以用于小型项目的demo。 及课程设计。