Re: ECAN TXLARB flag
So this is based on what documentation I've looked through and I haven't been able to double check on silicon, but I believe I can answer this:
If a Tx loses arbitration is the flag set straight away or is the Tx automatically retried?
Both. The flag will be set, but the TXREQ bit will remain set and the transmission will automatically retry once the module sees a long enough idle period on the bus
If it is retried, how many times until the TXLARB flag is set?
It should be set the first time the device loses arbitration
Is the Tx error counter incremented for loss of arbitration?
No, loss of arbitration is not considered a transmission error in the CAN protocol, only bit errors outside of the arbitration field cause an increment of the TX error counter
"In the beginning, the universe was created.
This has made a lot of people very angry and been widely regarded as a bad move."