I am trying to force MCAN into bus-off state by transmitting frames and shorting CANH and CANL. It goes into error passive mode quickly, but then transmit error counter (TEC) stops incrementing after getting to 128.
As i have been reading, with automatic frame retransmittion, MCAN should continue trying to transmit the frame, and TEC should continue incrementing up to 255 and then going into bus - off state. But in Design tips for CAN (pdf from TI - https://www.ti.com/lit/an/spracu9/spracu9.pdf?ts=1701944094163, section 4.1) saying that TEC indeed increments up to 128 and then stops, while MCAN is still retransmitting, waiting to get and ACK and NOT going into bus off.
My questions are why does TEC not increment up to 255 and go into bus off? Do i have to introduce some other kind of error to go into bus off?
I would also like to know why there is no mention of bus-off recovery in reference manual of my TMS320 under MCAN section?
With best regards, M