CAN interface on MCF51AC256

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CAN interface on MCF51AC256

493 Views
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 ?

Labels (1)
0 Kudos
3 Replies

355 Views
JimDon
Senior Contributor III

If you go here:

MC51AC Tools

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

 

0 Kudos

355 Views
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 Kudos

355 Views
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 Kudos