Hi, @paulvlase
I was lucky enough to read your previous post, which helped me solve the problem of MCAN not sending and receiving.(Solved: Cannot Send/Get CAN Messages on MPC5775B EVB - NXP Community)
However, I have come across some new problems and would like your help or anyone else's.
1. When I used the example program to set up the CAN sending node, I found that the message would be sent repeatedly: the running period of my MCAN_SEND module was 0.1s, but when I used the CAN analysis software to receive it, I found that the MCU would send the same frame of message repeatedly several times in a very short time, and the time difference between the messages with different contents was about 0.1s, which is correct. Does anyone know why that is? What's the solution?
2. Under the same Settings, MCAN0 can successfully send and receive packets, but MCAN1 cannot send and receive frames normally. I noticed that MCAN0 and MCAN1 use different transceivers, MCAN0 uses TJA1045T/FD, which is driven by DSPI, does it require special Settings?
Here are my Settings:
and here are the frames I received from the CAN analyzer:
Hello @RegulusCheng ,
Could you send the model to try it on my side? Or if it not possible the *_mbd_rtw folder with the generated code?
Regards,
Paul
Could you please take a look at this problem, too? Or help me @ someone be good at it. This post may be missed.
If the sending period is not set by the execution period of the MCAN_SEND module, how to set the sending period of the message?