Hi,
I see the following error when trying to use the CAN fd feature of S32K3X4 EVB - Q257. When I try to set the CAN nominal baud rate to be 500kbit/s and CAN fd baud rate to be 2M bit/s, I can receive and send CAN fd messages from PCAN-View. When I try to use CAN nominal baud rate to be 500kbit/s and the CAN fd baud rate to be 5M bit/s, the "CAN stuff error" occurs as shown in the screenshot. Is the 5Mbit/s CAN fd baud rate supported by S32K344 or the TJA1153 transceiver? Do you probably know why the CAN communication fails when the CAN fd rate increases to 5M bit/s? Thank you in advance.
Solved! Go to Solution.
Hi,
below is given in the device App hint document...
So assuming all secure features are disabled, a 5Mbit would be possible, I think, but you should properly set bit timing at both nodes.
BR, Petr
Hi, @PetrS ,
Thanks a lot for your reply. May I know how to disable all secure features of TJA115x? Is there an example?
Hi,
I reused below one;
https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-FlexCAN-Ip-TX-RX-EnhanceRXFIFO-test...
With modified timing for FlexCAN module, I was able to communicate with 500/5000 kbps bitrate using PCAN.
BR, Petr
@PetrS ,
May I know your bit timing setting and clock source used? Could you please attach a screeshot? By the way, I tried to send CAN fd(500k/2M) message with BRS(bit rate switch) enabled from PCAN, but kept getting ack error. When I send CAN fd(500k/2M) message without BRS(bit rate switch), it works properly. Do you probably know the reason? Thank you in advance.
Thank you in advance.
and added and set TDC as well..
BR,
Petr
Hello Petr!
Are you able to run this configuration with BRS enabled? I tried here and I'm only able to run in loopback mode. When I try in normal mode with another node I can't send any message.
Thank you!!
Hi @PetrS :
It works with the configuration you provided. Thank you.