Hello,
I am using S32K142 eval board for CAN development.
I picked up example code of flexcan_encrypted from SDK.
as per code I need two Eval board but I have only one so I am trying to read CAN frame through VehicleSpy application.
I also have modified code such as it continuously send CAN frames . snap attched below.
also please find configuration:
when I am running the code, first time FLEXCAN_DRV_Send function giving success status and after that it is showing as BUS_BUSY. although first time can frame is sent it is not visible on monitoring software.(checked with SW).
please suggest solution.
Regards,
Mohit Manvar
解決済! 解決策の投稿を見る。
1.Please make sure you have correctly used the external 12V DC power supply
2.You did not enable CAN FD in the configuration, but enabled CAN FD in your sending code.
Hello,
the link you shared with me is referring to masking where Masking concept applies to reception related topics. I want to transmit one CAN message from controller to CAN tool (Vehicle SPY). I am referring SDK Example code of flexcan (flexcan_encrypted_s32k142).
I tried checking directly controller pin and HAL pin but no message is visible and also no receiption at tool.
During debugging session I noticed that when I am trying to send message via FLEXCAN_DRV_Send function first time it is giving success but no output on either pin or tool. when trying to send frame second time it returns busy status.
1.Please make sure you have correctly used the external 12V DC power supply
2.You did not enable CAN FD in the configuration, but enabled CAN FD in your sending code.