S12ZVC CANBUS PROBLEM

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

S12ZVC CANBUS PROBLEM

586 次查看
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 回复

568 次查看
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 项奖励
回复