I created the sample project Can_Llce_DS_Loopback_S32G274A_M7, which is already able to communicate with the external CAN box, using LLCE CAN0. I then modified the configuration of this project to keep only the five channels of LLCE CAN that I wanted, and the configuration details are as follows:
During the configuration process I only deleted the corresponding error, after the configuration is completed there is only a clock warning in the configuration screen, but this warning itself is in the version that can communicate so it is not a problem. I have uploaded my modified project, please help me to see what the problem is that I can't communicate.
Hello @JACK_Q,
Sorry for the late reply. I will write in English but you can reply in Chinese, the community will translate the message automatically for me. When you mention that the new version does not communicate, do you see any CAN signal coming out of the board? Does the program run normally or does it get stuck at some part in the execution?
Thanks for the information.
After I changed the configuration, I tried debug, single step run to send the interface can_retval = Can_43_LLCE_Write( CanHO_Config1_TX0, &CanMessage[u8CtrlIdx]); the return value of the interface is E_OK also 0
According to the description of the interface is that the write command has been completed, and the program is still polling for CAN transmission, but my CAN box on the receiving end shows no data, and I can't detect it using the baud rate detection that comes with the software of the CAN box (this baud rate detection I also tried in the original routine can be detected).