AnsweredAssumed Answered

How to receive CAN message with different DLC?(CAN FD payload size const to 64 byte)

Question asked by zhanlong xu on Jun 21, 2020
Latest reply on Jun 24, 2020 by Petr Stancik

Now I develop in S32R272 and I need to receive some CAN messages with DLC64 and a diagnostic message with DLC8, this diagnostic message is used for UDS function.

1.I config the payload size to 64 with CAN FD,then set the diagnostic request/response CAN message with DLC8;

2.I use CANoe transmit a diagnostic request message with DLC8 and waiting the ecu to receive this diagnostic request;

3.I find that when receive the DLC8 message, software stop run. I don't know why it happened.

If payload size was configured to 64, all received message's DLC should equal to 64?

Can I set the mixed dlc messages?


Ps: If the ECU has ever received/transmitted a 64byte can message, then receive a 8 byte message, it works normal.

If the ECU has never received/transmitted a 64byte can message, it stop working when received a 8 byte message first time.