In some case there is no node in the CAN network, maybe the cable is accidentally dropped or nodes are damaged in some reason, TCAN4550 would retransmit the CAN packet forever, which causes PEA in Interrupt Register occurring frequently.
In this case, the handling of PEA interrupt would cost much usage of cpu of host MCU, it would affect the operation of other affair in host MCU.
Furthermore, the Tx Event FIFO New Entry( TEFNE ) in Interrupt Register won't occur even though the EFC has been set in TX Element when transmitting the packet. Neither the Transmision Completed(TC). We have no way to let software recognize this situation.
By the way, we don't want to rudely disable this feature by set DAR in CC Control Register, as we supposed it is a feature of CAN protocol itself.
So, Is there some practice way to prevent the high processing ability comsumption of host MCU? In details,
- how to recognize the situation like this?
- how to modify and restore the activity of retransmision to prevent it consumes so much time of MCU?