Waiting CAN example

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
3,333件の閲覧回数
ivanrobles
Contributor III

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

0 件の賞賛
返信
1 解決策
2,660件の閲覧回数
LuisCasado
NXP Employee
NXP Employee

Hi,

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

BR,

Luis

元の投稿で解決策を見る

0 件の賞賛
返信
9 返答(返信)
2,660件の閲覧回数
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,660件の閲覧回数
ivanrobles
Contributor III

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

0 件の賞賛
返信
2,660件の閲覧回数
ivanrobles
Contributor III

Thanks for all Santiago, my issue has been resolved.

0 件の賞賛
返信
2,660件の閲覧回数
ivanrobles
Contributor III

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

0 件の賞賛
返信
2,660件の閲覧回数
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,660件の閲覧回数
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,660件の閲覧回数
ivanrobles
Contributor III

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

0 件の賞賛
返信
2,661件の閲覧回数
LuisCasado
NXP Employee
NXP Employee

Hi,

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

BR,

Luis

0 件の賞賛
返信
2,660件の閲覧回数
ivanrobles
Contributor III

This example use:

#include "uart3.h"

#include "ringBuffer.h"

where can I find these .h?

0 件の賞賛
返信