/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : readme.txt
* Author : MCD Application Team
* Version : V2.0.1
* Date : 06/13/2008
* Description : 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.
*******************************************************************************/
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.
Directory contents
==================
platform_config.h Hardware configuration header file
stm32f10x_conf.h Library Configuration file
stm32f10x_it.c Interrupt handlers
stm32f10x_it.h Interrupt handlers header file
main.c Main program
Hardware environment
====================
This example runs on STMicroelectronics STM3210B-EVAL and STM3210E-EVAL evaluation
boards and can be easily tailored to any other hardware.
To select the STMicroelectronics evaluation board used to run the example, uncomment
the corresponding line in platform_config.h file.
+ STM3210B-EVAL
- Use LD1, LD2, LD3 and LD4 leds connected respectively to PC.06, PC.07, PC.08
and PC.09 pins
+ STM3210E-EVAL
- Use LD1, LD2, LD3 and LD4 leds connected respectively to PF.06, PF0.7, PF.08
and PF.09 pins
How to use it
=============
In order to make the program work, you must do the following :
- Create a project and setup all your toolchain's start-up files
- Compile the directory content files and required Library files :
+ stm32f10x_lib.c
+ stm32f10x_can.c
+ stm32f10x_rcc.c
+ stm32f10x_gpio.c
+ stm32f10x_nvic.c
+ stm32f10x_flash.c
- Link all compiled files and load your image into target memory
- Run the example
******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE******
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
stm32can总线实例 (158个子文件)
main.__i 187B
CAN.axf 116KB
CAN_Uv2.Bak 3KB
CAN_Opt.Bak 3KB
stm32f10x_tim.c 128KB
stm32f10x_adc.c 57KB
stm32f10x_i2c.c 46KB
stm32f10x_rcc.c 43KB
stm32f10x_usart.c 42KB
stm32f10x_fsmc.c 41KB
stm32f10x_sdio.c 38KB
stm32f10x_spi.c 34KB
stm32f10x_dma.c 33KB
stm32f10x_flash.c 32KB
stm32f10x_can.c 31KB
stm32f10x_it.c 29KB
stm32f10x_nvic.c 28KB
stm32f10x_gpio.c 22KB
stm32f10x_dac.c 17KB
main.c 12KB
stm32f10x_rtc.c 12KB
stm32f10x_pwr.c 11KB
stm32f10x_bkp.c 11KB
stm32f10x_lib.c 9KB
stm32f10x_exti.c 9KB
stm32f10x_wwdg.c 8KB
stm32f10x_systick.c 7KB
stm32f10x_iwdg.c 6KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_crc.c 5KB
stm32f10x_it.crf 147KB
main.crf 147KB
stm32f10x_lib.crf 144KB
stm32f10x_tim.crf 74KB
stm32f10x_adc.crf 49KB
stm32f10x_can.crf 48KB
stm32f10x_fsmc.crf 47KB
stm32f10x_i2c.crf 47KB
stm32f10x_sdio.crf 45KB
stm32f10x_usart.crf 45KB
stm32f10x_spi.crf 44KB
stm32f10x_dma.crf 42KB
stm32f10x_gpio.crf 42KB
stm32f10x_rcc.crf 40KB
stm32f10x_dac.crf 39KB
stm32f10x_flash.crf 38KB
stm32f10x_bkp.crf 37KB
stm32f10x_nvic.crf 36KB
stm32f10x_pwr.crf 36KB
stm32f10x_wwdg.crf 34KB
stm32f10x_exti.crf 28KB
stm32f10x_rtc.crf 28KB
stm32f10x_systick.crf 26KB
stm32f10x_iwdg.crf 26KB
stm32f10x_dbgmcu.crf 26KB
stm32f10x_crc.crf 26KB
stm32f10x_it.d 2KB
stm32f10x_lib.d 2KB
main.d 2KB
stm32f10x_usart.d 492B
stm32f10x_sdio.d 483B
stm32f10x_gpio.d 483B
stm32f10x_fsmc.d 483B
stm32f10x_wwdg.d 483B
stm32f10x_dma.d 474B
stm32f10x_can.d 474B
stm32f10x_tim.d 474B
stm32f10x_pwr.d 474B
stm32f10x_dac.d 474B
stm32f10x_spi.d 474B
stm32f10x_i2c.d 474B
stm32f10x_bkp.d 474B
stm32f10x_adc.d 474B
stm32f10x_systick.d 437B
stm32f10x_dbgmcu.d 429B
stm32f10x_flash.d 421B
stm32f10x_iwdg.d 413B
stm32f10x_exti.d 413B
stm32f10x_nvic.d 413B
stm32f10x_rtc.d 405B
stm32f10x_rcc.d 405B
stm32f10x_crc.d 405B
CAN_CAN.dep 9KB
CAN_Target 1.dep 70B
stm32f10x_tim.h 46KB
stm32f10x_map.h 28KB
stm32f10x_nvic.h 19KB
stm32f10x_fsmc.h 19KB
stm32f10x_adc.h 18KB
stm32f10x_sdio.h 18KB
stm32f10x_dma.h 18KB
stm32f10x_i2c.h 16KB
stm32f10x_gpio.h 14KB
stm32f10x_rcc.h 14KB
stm32f10x_usart.h 14KB
stm32f10x_flash.h 14KB
stm32f10x_spi.h 13KB
stm32f10x_can.h 12KB
stm32f10x_dac.h 9KB
stm32f10x_bkp.h 7KB
共 158 条
- 1
- 2
_丽_
- 粉丝: 12
- 资源: 39
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页