Does it has FlexCAN exmple code in mpc8306-ltib?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Does it has FlexCAN exmple code in mpc8306-ltib?

1,366 次查看
00lirui
Contributor I

     I want to test the CAN bus, but can't find FlexCAN exmple code for the mpc8306som board.

0 项奖励
回复
4 回复数

1,233 次查看
r8070z
NXP Employee
NXP Employee

Have a great day, my name Sergey,

The MPC8306 LTIB Linux BSP supports FlexCAN. There is FlexCAN driver code for the TWR-MPC830x board.

Here excerpt from flexcan.h  included into the BSP :

/*

* drivers/net/flexcan/flexcan.h

*

* Definitions for Freescale flexcan Driver in MPC830x

* Based on imx25\flexcan driver.

*

* Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.

*

*

* The code contained herein is licensed under the GNU General Public

* License.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,233 次查看
00lirui
Contributor I

thanks for your reponse. but i can't find the flexcan file fold in my mpc8306 ltib,why?

0 项奖励
回复

1,233 次查看
r8070z
NXP Employee
NXP Employee

Please create service request to Freescale support about that on page
http://www.freescale.com/webapp/sps/site/homepage.jsp?code=SUPPORTHOME

and they will point where to find it or send you the source files. I myself got source files as example for CAN programming from Freescale expert.

0 项奖励
回复

1,233 次查看
00lirui
Contributor I

I created a requeset to Freescale support.but I am not sure what can I get. Could you give your example to me?  thank you so much.

0 项奖励
回复