S12ZVC CANBUS PROBLEM

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

S12ZVC CANBUS PROBLEM

587件の閲覧回数
akguen
Contributor I

Hello there
I'm trying to communicate 2 NXP over canbus. But  CAN1_OnFullRxBuffer interrupt is not triggered. Hardware checked, no problem.

 error = CAN1_SendFrame(0,canStart,DATA_FRAME,sizeof(sData),sData);

error return 11

 Any ideas on what the problem is?

Best regards,

0 件の賞賛
返信
1 返信

569件の閲覧回数
StanoA
NXP TechSupport
NXP TechSupport

Hello Akguen,

Thank you for learning CAN. I want suggest you materials for your help:

  • The CAN-Bus specs:

https://www.nxp.com/docs/en/reference-manual/BCANPSV2.pdf

  • The AN1798, AN4975:

https://www.nxp.com/docs/en/application-note/AN1798.pdf

https://www.nxp.com/docs/en/application-note/AN4975.pdf

https://www.nxp.com/docs/en/application-note-software/AN4975SW.zip

  • The attached SW examples for the ZVC family of MCUs.

For the right CAN communication the CAN module has to be properly set-up. The examples in the previous links can help you to solve your task and reach success.

Best Regards,

Stano.

0 件の賞賛
返信