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.
Solved! Go to Solution.
Hi, Eka
Attached is CAN bus loop-back node sample code for your reference. Thanks.
Hope my reply can help you.
Best Regards
Paul
Hello,
Anyone have a sample code for testing two CAN module communication (MK60FX512VLQ12 processor) in KDSK 2.0??
Best regards
sruthy
Do you have CAN loop back sample code for KSDK1.1.0 ON KDS?
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:
Hope this is somewhat useful!
/Jorge Gonzalez