Hello,
I am trying to run the FlexCAN_Ip_Example_S32K344 example on NXP S32K3X4EVB-T172 but it not working.
I am just running the example code as it is, so there should not be any problem. Why FlexCAN_Ip_Send is not working ? Please help me let it work.
Info:
Board: S32K3X4EVB-T172
MCU: 32K344HMS 1P55A
IDE:S32 Design Studio for S32 Platform v.3.5(Windows)
Connect pin:(J32 pin1 and pin2 (TJA1153)) or (J39 pin21 and pin24)(Reference S32K3X4EVB-T172 Evaluation Board – REV B Schematics)
By the way, I already see NXP community have similar problem (FlexCAN Not Transmitting on S32K3X4EVB-Q172) it use Example S32K344 FlexCAN_Ip TX/RX/EnhanceRXFIFO test S32DS3.4 RTD200 to solved. But it Test HW is S32K3444EVB-Q172, I am not sure it is applicable to S32K3X4EVB-T172?
1.yes, you can refer to this demo which will be applicable to S32K3X4EVB-T172
2."FlexCAN_Ip_Example_S32K344"-> this demo runs on loop-back mode and didn't init TJA1153(TJA1143).
You can refer to the demo in the link.
TJA1154 requires some special initialization before it can be used
But I can't use S32 Design Studio for S32 Platform v.3.5 to use demo(when open .mex file will have error)
I need download S32DS3.4?
这个例程是基于RTD 2.0.0制作的,直接参考然后修改至你当前使用的RTD版本,如果你想直接运行那么你需要安装RTD 2.0.0。
其实这么麻烦的主要原因是板子上的CAN收发器TJA1153需要做一些特殊的初始化才能正常收发。