Kinetis K60 CAN Configuration

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Kinetis K60 CAN Configuration

ソリューションへジャンプ
2,630件の閲覧回数
agungdeffendi
Contributor I

Hi everyone,

I started working on the TWR-K60D100M system using an CodeWarrior environment.

I'm trying to run CAN example project for Kinetis K60D100M provided by processor expert. But when I'm trying to run the demo, the receive part still not working. Is there any hardware configuration I should made?

Thanks everyone!

11196_11196.pngCapture.PNG.png

Original Attachment has been moved to: CAN.rar

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 解決策
1,847件の閲覧回数
vicentegomez
NXP TechSupport
NXP TechSupport

Hi Agung,

The example that you can find in the Processor Expert folder is compiled for the K60DN512ZVMD10 which is part of the Revision 1.x and the K60D100M that you are using is a Revision 2.x. There are some differences between this revisions which are listed in this Application Note (AN4445). (http://cache.freescale.com/files/32bit/doc/app_note/AN4445.pdf)


In order to make this example work you have to change the CPU component for the K60DN512VMD10. In the attachments you can find the example CAN with this component changed. Also I changed the UART module in the console for the UART5 in order to set the TX and RX signals through the OSJTAG connection.


I hope this information can help.


Regards

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,848件の閲覧回数
vicentegomez
NXP TechSupport
NXP TechSupport

Hi Agung,

The example that you can find in the Processor Expert folder is compiled for the K60DN512ZVMD10 which is part of the Revision 1.x and the K60D100M that you are using is a Revision 2.x. There are some differences between this revisions which are listed in this Application Note (AN4445). (http://cache.freescale.com/files/32bit/doc/app_note/AN4445.pdf)


In order to make this example work you have to change the CPU component for the K60DN512VMD10. In the attachments you can find the example CAN with this component changed. Also I changed the UART module in the console for the UART5 in order to set the TX and RX signals through the OSJTAG connection.


I hope this information can help.


Regards

0 件の賞賛
返信
1,847件の閲覧回数
agungdeffendi
Contributor I

Thanks a lot Pedro!  It works fine in my board! :smileyhappy:

0 件の賞賛
返信
1,847件の閲覧回数
mjbcswitzerland
Specialist V

Hi

Check that you have correct CAN bus termination. Depending on exactly what the reception test is doing you may need an active node on the CAN bus.

Compare with the FlexCAN support in the uTasker project:

- http://www.utasker.com/docs/uTasker/uTaskerCAN.PDF
See the corresponding video at https://www.youtube.com/watch?v=Ha8cv_XEvco

Or try the complete code from the link in uTasker V1.4.4 for Kinetis K / KL

Regards

Mark

0 件の賞賛
返信