CAN driver code example for Kinetis K60

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

CAN driver code example for Kinetis K60

Jump to solution
5,843 Views
ekasuwartadi
Contributor II

Hello,

I would like to know if there is any code example for using CAN protocol for Kinetis K60 MCU. I have read the reference manual but it would be much easier to read some code examples.

Thank you.

Labels (1)
Tags (2)
1 Solution
1,971 Views
Paul_Tian
NXP Employee
NXP Employee

Hi, Eka

Attached is CAN bus loop-back node sample code for your reference. Thanks.

Hope my reply can help you.

Best Regards

Paul

View solution in original post

4 Replies
1,971 Views
sruthyuk
Contributor I

Hello,

Anyone have a sample code for testing two CAN module communication (MK60FX512VLQ12 processor) in KDSK 2.0??

Best regards

sruthy

0 Kudos
1,971 Views
yarannan
Contributor III

Do you have CAN loop back sample code for KSDK1.1.0 ON KDS?

0 Kudos
1,971 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Eka Suwartadi:

You did not mention which derivative of K60 family you are using.

If you have installed CodeWarrrior for MCU, then you can find some examples for CAN module in the next installation paths, but those are for 100 MHz K60:

- C:\Freescale\CW MCU v10.x\MCU\CodeWarrior_Examples\Kinetis_Examples\k60

- C:\Freescale\CW MCU v10.x\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis\TWR-K60N512

Now, in the next link you can find a zip with a CAN example code provided by our colleague Augusto, in this case for the 120 MHz K60:

K60 120MHz CAN example

Hope this is somewhat useful!

/Jorge Gonzalez

1,972 Views
Paul_Tian
NXP Employee
NXP Employee

Hi, Eka

Attached is CAN bus loop-back node sample code for your reference. Thanks.

Hope my reply can help you.

Best Regards

Paul