This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
Hi,
I am using TCAN4550EVM to receive CAN FD data.
The input data length is 64 bytes with 1M CAN speed.
However, the DLC contained in header only shows 15 bytes.
Is there a data length limitation?
Is following settings correct for 1M CAN speed transmission?
/* Configure the CAN bus speeds */
TCAN4x5x_MCAN_Nominal_Timing_Simple TCANNomTiming = {0}; // 500k arbitration with a 40 MHz crystal ((40E6 / 2) / (32 + 8) = 500E3)
TCANNomTiming.NominalBitRatePrescaler = 1;
TCANNomTiming.NominalTqBeforeSamplePoint = 32;
TCANNomTiming.NominalTqAfterSamplePoint = 8;
Regards,
Ethan
Ethan,
Because a DLC code in a CAN frame is 4 bits, and 64 byte DLC code is '1111', the decimal interpretation of this is 15. I believe this is what you're seeing, so your settings should be good for 64 bytes.
Please let me know if you have any other questions.
Regards,