CAN interface on MCF51AC256

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CAN interface on MCF51AC256

561件の閲覧回数
flameman
Contributor I

hi

is there any Application Note about  CAN interface of the MCF51AC256 microcontroller ?

Just to get started about the CAN AREAD interface: i need a piece of code which is able to initialize the can with a proper baud rate, and then i need to be able o send and get messages without using interrupts

 

any good code to be started with ?

ラベル(1)
0 件の賞賛
3 返答(返信)

423件の閲覧回数
JimDon
Senior Contributor III

If you go here:

MC51AC Tools

And look under "drivers" there is sample CAN code....

 

0 件の賞賛

423件の閲覧回数
flameman
Contributor I

hi
i need a bit or more support about compiling the can driver
i am using codewarrior v 5.8.0
which is telling me  that <MCF51AC256.h> is missing

if i try to use #include <MCF51AC256a.h>
i have issue with msCANdrv.c because same can registers are not defined

could you help me ?

0 件の賞賛

423件の閲覧回数
kef
Specialist I

What CAN registers are missing?

 

5.8.0 is just IDE version. In IDE about box you should click Installed Products to see what development studio you are using. Latest classic CW for MCUs V6.3 comes with 5.9.0 IDE. Since 51AC are quite new, maybe there was some changes in header files. It should be mentioned in CAN driver what CW version it is compatible with.

0 件の賞賛