Part Number: TMS320F280049
Hi,
When count CAN errors. For a normal CAN message, will C2000 think it as bit error when DLC segment data is 1100b?
The actual sending data is 1000b, data length is 8 bytes.
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.
Part Number: TMS320F280049
Hi,
When count CAN errors. For a normal CAN message, will C2000 think it as bit error when DLC segment data is 1100b?
The actual sending data is 1000b, data length is 8 bytes.
Hello
Are you saying if you put 1100b as the DLC value? Because that will still be interpreted as 8 data bytes. That shouldn't be an issue.
Best regards
Chris
Hi Christopher,
Double check it.
If put 1100b on DLC value, it don't think it's a bit error or other error, so don't +8 on error counting number?
Yeah if you write 1100b into the DLC value in the CAN IFxMCTL register, it will be set to 8 data bytes. Refer to register description in the TRM CAN chapter.
Best regards
Chris