Waiting CAN example

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Waiting CAN example

跳至解决方案
3,126 次查看
ivanrobles
Contributor III

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

0 项奖励
回复
1 解答
2,453 次查看
LuisCasado
NXP Employee
NXP Employee

Hi,

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

BR,

Luis

在原帖中查看解决方案

0 项奖励
回复
9 回复数
2,453 次查看
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 项奖励
回复
2,453 次查看
ivanrobles
Contributor III

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

0 项奖励
回复
2,453 次查看
ivanrobles
Contributor III

Thanks for all Santiago, my issue has been resolved.

0 项奖励
回复
2,453 次查看
ivanrobles
Contributor III

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

0 项奖励
回复
2,453 次查看
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 项奖励
回复
2,453 次查看
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 项奖励
回复
2,453 次查看
ivanrobles
Contributor III

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

0 项奖励
回复
2,454 次查看
LuisCasado
NXP Employee
NXP Employee

Hi,

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

BR,

Luis

0 项奖励
回复
2,453 次查看
ivanrobles
Contributor III

This example use:

#include "uart3.h"

#include "ringBuffer.h"

where can I find these .h?

0 项奖励
回复