S12ZVC CANBUS PROBLEM

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

S12ZVC CANBUS PROBLEM

506 Views
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 Kudos
Reply
1 Reply

488 Views
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 Kudos
Reply