MPC5668X-FLEXCAN-TX2RXFIFO

所属分类:单片机开发
开发工具:C/C++
文件大小:154KB
下载次数:62
上传日期:2014-12-20 20:48:28
上 传 者yinlaohan
说明:  飞思卡尔MPC5668X CAN通信的驱动程序,亲自测试,用code warrior打开
(freescale MPC5668X CAN example,open by code warrior)

文件列表:
MPC5668x-FlexCAN-Tx2RxFIFO (0, 2011-03-30)
MPC5668x-FlexCAN-Tx2RxFIFO\bin (0, 2011-03-30)
MPC5668x-FlexCAN-Tx2RxFIFO\lcf (0, 2011-03-29)
MPC5668x-FlexCAN-Tx2RxFIFO\lcf\MPC5668G.lcf (3340, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\lcf\MPC5668G_DEBUG.lcf (2914, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\MPC5668x-FlexCAN-Tx2RxFIFO.mcp (88302, 2011-03-29)
MPC5668x-FlexCAN-Tx2RxFIFO\MPC5668x-FlexCAN-Tx2RxFIFO_Data (0, 2011-03-29)
MPC5668x-FlexCAN-Tx2RxFIFO\MPC5668x-FlexCAN-Tx2RxFIFO_Data\CWSettingsWindows.stg (4507, 2011-03-30)
MPC5668x-FlexCAN-Tx2RxFIFO\MPC5668x-FlexCAN-Tx2RxFIFO_Data\internal_FLASH (0, 2011-03-29)
MPC5668x-FlexCAN-Tx2RxFIFO\MPC5668x-FlexCAN-Tx2RxFIFO_Data\internal_FLASH\ObjectCode (0, 2011-03-29)
MPC5668x-FlexCAN-Tx2RxFIFO\MPC5668x-FlexCAN-Tx2RxFIFO_Data\internal_FLASH\TargetDataWindows.tdt (174420, 2011-03-30)
MPC5668x-FlexCAN-Tx2RxFIFO\MPC5668x-FlexCAN-Tx2RxFIFO_Data\RAM (0, 2011-03-29)
MPC5668x-FlexCAN-Tx2RxFIFO\MPC5668x-FlexCAN-Tx2RxFIFO_Data\RAM\ObjectCode (0, 2011-03-29)
MPC5668x-FlexCAN-Tx2RxFIFO\MPC5668x-FlexCAN-Tx2RxFIFO_Data\RAM\TargetDataWindows.tdt (177093, 2011-03-30)
MPC5668x-FlexCAN-Tx2RxFIFO\src (0, 2011-03-29)
MPC5668x-FlexCAN-Tx2RxFIFO\src\Exceptions.c (1867, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\Exceptions.h (1535, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\handlers_p1.c (4695, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\IntcInterrupts.h (2183, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\IntcInterrupts_p0.c (9731, 2011-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\IntcIsrVectors_p1.c (8099, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\ivor_branch_table_p0.c (2203, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\ivor_branch_table_p1.c (2186, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\main.c (25833, 2011-03-30)
MPC5668x-FlexCAN-Tx2RxFIFO\src\main_p1.c (2309, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\MPC55xx_init.c (3368, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\MPC55xx_init_debug.c (2082, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\MPC5668G.h (244054, 2011-03-29)
MPC5668x-FlexCAN-Tx2RxFIFO\src\MPC5668G_HWInit.c (7775, 2011-02-22)
MPC5668x-FlexCAN-Tx2RxFIFO\src\MPC5668G_HWInit.h (5844, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\typedefs.h (4691, 2010-02-18)
MPC5668x-FlexCAN-Tx2RxFIFO\src\__ppc_eabi_init.c (28513, 2010-03-04)
MPC5668x-FlexCAN-Tx2RxFIFO\src\__start_p1.c (2072, 2010-02-18)

//------------------------------------------------------------------------ // Readme.txt //------------------------------------------------------------------------ This project stationery is designed to get you up and running quickly with CodeWarrior on your MPC5668G target. The wizard has created the following CodeWarrior target(s): The targets are set up for the selected CPU and options, but can be easily modified. ************* * IMPORTANT * ************* If your application will run from flash memory, you should initialize some additional registers to improve system performance. For MPC551x devices, initialize the PFCRP0 and PFCRP1 registers; for other devices, initialize the BIUCR. Please review the MPC5668G reference manual to determine appropriate values. Sample code for the following language(s) is at your disposal: Other options may be available: //------------------------------------------------------------------------ // Getting Started //------------------------------------------------------------------------ To build your project, use the menu Project > Make or press F7. This will build the selected target. //------------------------------------------------------------------------ // Project structure //------------------------------------------------------------------------ The project generated contains various files/groups: - readme.txt: this file - Sources: folder with the application source code - Header Files: all application and runtime header files - Startup Code: user customizable startup code - Lcf Files: the linker command files for the different build targets. - Runtime: the libraries //------------------------------------------------------------------------ // Adding your own code //------------------------------------------------------------------------ Once everything is working as expected, you can begin adding your own code to the project. Keep in mind that we provide this as an example of how to get up and running quickly with CodeWarrior. There are certainly other ways to handle interrupts and set up your linker command file. Feel free to modify any of the source files provided. //------------------------------------------------------------------------ // Additional documentation //------------------------------------------------------------------------ Read the online documentation provided. From within the CodeWarrior IDE, select Help > CodeWarrior Help. //------------------------------------------------------------------------ // Contacting Freescale //------------------------------------------------------------------------ For bug reports, technical questions, and suggestions, please use the forms installed in the Release_Notes folder and send them to: cw_support@freescale.com

近期下载者

相关文件


收藏者