Hello,
We use MPC5775E as a microprocessor. We want to implement CAN communication, but I couldn't find any working examples. Could you share an example where I can learn how to integrate can communication on MPC5775E?
Best Regards
Hi @bk13
MPC5775E is compatible with MPC5777C, so you can check examples for MPC5777C. If you use SDK, you can take a look at:
c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5777C\demo_apps\flexcan\
c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5777C\driver_examples\communication\can_pal\
Documentation for these examples can be found in this manual:
c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\doc\S32SDK_MPC5777C_UserManual.pdf
If you don’t use SDK, some examples can be found here:
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5-software-example-list/ta-p/1102445#MPC5777C
These are the ones for FlexCAN:
https://community.nxp.com/docs/DOC-332326
https://community.nxp.com/docs/DOC-334350
Regards,
Lukas
Hello Lukas,
Thank you very much for your help and interest. When I reviewed the family comparison section in the MPC5775E's reference manual, I saw that I could use these examples. Actually I want to integrate CAN communication without using SDKs.
I tried both links you shared.
My comments for the https://community.nxp.com/docs/DOC-332326 example:
- It can be built.
- Receive and transmit messages do not appear when connected with PCan View. So CAN messages have no output.
My comments for the https://community.nxp.com/docs/DOC-334350 example are:
- It can be built.
- But the evaluation board is not flashed.
- Cannot select the correct target.
So, as a result, either I could not run the examples or there are missing examples. How can we solve this situation?
Best Regards,
Berfin