CAN

所属分类:单片机开发
开发工具:C/C++
文件大小:336KB
下载次数:4
上传日期:2008-03-17 23:50:23
上 传 者kz02bcxg
说明:  This example provides a description of how to set a communication with the bxCAN in loopback mode: - transmit and receive a standard data frame by polling at 100Kbit/S - transmit and receive an extended data frame with interrupt at 500Kbit/S - lit some LEDs depending of the program succeed or not

文件列表:
CAN\listing\CAN.map (51067, 2007-10-08)
CAN\listing\cortexm3_macro.lst (24892, 2007-10-08)
CAN\listing\stm32f10x_vector.lst (30893, 2007-10-08)
CAN\obj\CAN.axf (94928, 2007-10-08)
CAN\obj\CAN.htm (58046, 2007-10-08)
CAN\obj\CAN.lnp (519, 2007-10-08)
CAN\obj\CAN.plg (212, 2007-11-20)
CAN\obj\CAN.sct (479, 2007-09-17)
CAN\obj\CAN.tra (1712, 2007-10-08)
CAN\obj\cortexm3_macro.o (2336, 2007-10-08)
CAN\obj\main.crf (55975, 2007-10-08)
CAN\obj\main.d (619, 2007-10-08)
CAN\obj\main.o (62124, 2007-10-08)
CAN\obj\stm32f10x_can.crf (40383, 2007-10-08)
CAN\obj\stm32f10x_can.d (408, 2007-10-08)
CAN\obj\stm32f10x_can.o (44312, 2007-10-08)
CAN\obj\stm32f10x_flash.crf (19037, 2007-10-08)
CAN\obj\stm32f10x_flash.d (365, 2007-10-08)
CAN\obj\stm32f10x_flash.o (23928, 2007-10-08)
CAN\obj\stm32f10x_gpio.crf (33794, 2007-10-08)
CAN\obj\stm32f10x_gpio.d (417, 2007-10-08)
CAN\obj\stm32f10x_gpio.o (41888, 2007-10-08)
CAN\obj\stm32f10x_it.crf (45600, 2007-10-08)
CAN\obj\stm32f10x_it.d (657, 2007-10-08)
CAN\obj\stm32f10x_it.o (60632, 2007-10-08)
CAN\obj\stm32f10x_lib.crf (43150, 2007-10-08)
CAN\obj\stm32f10x_lib.d (648, 2007-10-08)
CAN\obj\stm32f10x_lib.o (48728, 2007-10-08)
CAN\obj\stm32f10x_nvic.crf (28348, 2007-10-08)
CAN\obj\stm32f10x_nvic.d (357, 2007-10-08)
CAN\obj\stm32f10x_nvic.o (39340, 2007-10-08)
CAN\obj\stm32f10x_rcc.crf (32945, 2007-10-08)
CAN\obj\stm32f10x_rcc.d (349, 2007-10-08)
CAN\obj\stm32f10x_rcc.o (40904, 2007-10-08)
CAN\obj\stm32f10x_systick.crf (19389, 2007-09-19)
CAN\obj\stm32f10x_systick.d (345, 2007-09-19)
CAN\obj\stm32f10x_usart.crf (36400, 2007-10-08)
CAN\obj\stm32f10x_usart.d (408, 2007-10-08)
CAN\obj\stm32f10x_usart.o (44656, 2007-10-08)
CAN\obj\stm32f10x_vector.o (4880, 2007-10-08)
... ...

/******************** (C) COPYRIGHT 2007 STMicroelectronics ******************** * File Name : readme.txt * Author : MCD Application Team * Date First Issued : 05/21/2007 * Description : Description of the CAN Example. ******************************************************************************** * History: * 05/21/2007: V0.3 ******************************************************************************** * THE PRESENT SOFTWARE 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 SOFTWARE 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: - transmit and receive a standard data frame by polling at 100Kbit/S - transmit and receive an extended data frame with interrupt at 500Kbit/S - lit some LEDs depending of the program succeed or not Directory contents ================== 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 examples runs on STM32F10x-EVAL board 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 either RAM or FLASH - Run the example ******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE******

近期下载者

相关文件


收藏者