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.

TMS570LS3137: Do not detect CAN bus-off error

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN

I use TMS570LS3137.

Do not detect CAN bus-off error

I want to detect a Bus-off when Can3 bus beging  locked in dominant state.

but DCAN ES BOff is 0.

CAN 1, CAN 2, and CAN 3 are set to the same setting, but only CAN 3 is not detected.

  • The three DCAN modules on the TMS570LS3137 are the same. If you are having difficulty detecting a bus-off condition on DCAN3, but not on DCAN1 or DCAN2, then there is a difference in either the software configuration or the hardware hookup.
  • Hi,Bob.

    After calling CanTransmit, the value of CAN Control Register for CAN 1 is 0x00021403.
    However, in CAN 3, the value of CAN Control Register is 0x00031403.

    Do you think the reason why the InitDbg of the CAN control register is not changed?

    HALCoGen's CAN 1 General and CAN 3 General have the same settings.