Waiting CAN example

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

Waiting CAN example

Jump to solution
2,119 Views
ivanrobles
Contributor III

I´m waiting for Can example of LUIS CASADO THANKS!!

0 Kudos
Reply
1 Solution
1,446 Views
LuisCasado
NXP Employee
NXP Employee

Hi,

C:\Freescale\CW MCU v10.4\MCU\CodeWarrior_Examples\Kinetis_Examples\k60\sci2can

BR,

Luis

View solution in original post

0 Kudos
Reply
9 Replies
1,446 Views
sruthyuk
Contributor I

hi,

i had a problem while testing two CAN module communication in twrk60f120. Here CAN0 is used as sending node whereas CAN1 as receiving node. But the problem is when flexcan write occurs in message buffer of CAN0 module ,no isr routine is executed.

Code for testing is attached .

with regards,

sruthy

0 Kudos
Reply
1,446 Views
ivanrobles
Contributor III

I had a problem with the baud rate with the register crtl1 but I fixed it. Thanks!!!

0 Kudos
Reply
1,446 Views
ivanrobles
Contributor III

Thanks for all Santiago, my issue has been resolved.

0 Kudos
Reply
1,446 Views
ivanrobles
Contributor III

Can you please send me the hedares file uart3.h and ringBuffer.h?

0 Kudos
Reply
1,446 Views
LuisCasado
NXP Employee
NXP Employee

Attached

The same project should be included in IAR and CW. You can reuse the code mantaining the CW header files.


Luis,

0 Kudos
Reply
1,446 Views
LuisCasado
NXP Employee
NXP Employee


Hello,

Based on the SCI2CAN example in C:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\examples\Freescale\Kinetis\sci2can

Change the file attached and you can commnicate two TWR's K60 using TWR-SER transceiver.

Regards,

Luis

0 Kudos
Reply
1,446 Views
ivanrobles
Contributor III

But I´m using code warrior, isn´t different?

0 Kudos
Reply
1,447 Views
LuisCasado
NXP Employee
NXP Employee

Hi,

C:\Freescale\CW MCU v10.4\MCU\CodeWarrior_Examples\Kinetis_Examples\k60\sci2can

BR,

Luis

0 Kudos
Reply
1,446 Views
ivanrobles
Contributor III

This example use:

#include "uart3.h"

#include "ringBuffer.h"

where can I find these .h?

0 Kudos
Reply