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,
Hello Akguen,
Thank you for learning CAN. I want suggest you materials for your help:
https://www.nxp.com/docs/en/reference-manual/BCANPSV2.pdf
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
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.