SPRAD59 October 2023 TMS320F280039
The first few initialization steps are identical for both DCAN and MCAN modules. The initialization mode is entered either by software (setting the CAN_CTL.INIT and MCAN_CCCR.INIT bits, respectively), by a hardware reset, by going to a bus-off state or in the case of MCAN, on the detection of an uncorrected bit error in the Message RAM. In this state, the message transfer is stopped, the CANTX output is driven recessive (high) and the error counters remain unchanged. Setting the INIT bit does not change any configuration registers.
To complete the software initialization, the INIT bit can be reset, and after an occurrence of a sequence of 11 recessive bits (Bus-idle state), communication can commence.
The step-by-step process for module initialization is shown below for each module.