Hello, I have an S32K344EVB-Q172 development board, and the provided CAN example is not working I am not getting any TX or RX messages. SW32K3_S32M27x_RTD_4.4_4.0.0_P20y.
The FlexCAN demo provided by our S32 DS works in Loop-back mode, so you cannot detect any signal on the TX or RX port
Secondly, the CAN PTH in the S32K344EVB needs to do some special initialization operations, otherwise it will not work properly.
This is a routine based on RTD 2.0.0 version. You can refer to it and port it to the RTD version you are currently using.
Hi @Senlent I have generated code and manually configured the ports for CAN0 TX and CAN0 RX, and performed initialization in the main function, but I am still not getting any output. Please check the attached generated code. My RTD version is SW32K3_S32M27x_RTD_4.4_4.0.0_P20.
You didn't listen to any of my advice
1. Did you configure your port correctly?
2. Your configuration is still working in Loop-Back mode
3. I emphasized to you that the CAN PHY on the S32K3X4EVB needs some special initialization, and asked you to refer to the link I provided you, but you still did nothing
Hi @Senlent,
1. I configure port correctly.
Right now i am not using CAN FD . I am working on Normal FLEXCAN0 i just want to TX/RX form the DS example code.
i resave these output.
Hi@onkar441
Your newly modified demo is fine, but it still won't work properly if you are using the S32K344Q172 EVB.
On the S32K344EVBQ172, the CAN transceiver it provides needs some special initialization operations,
and we only have a sample program based on RTD 2.0.0(which i provided to you in the first reply)
I hope I have explained it clearly.