TRM section 24.8.3 states that "When the transmission has been successfully completed, the NewDat bit is reset."
When using the DCAN transmitter in polling mode, how do I know when it has been long enough to consider the "NewDat" bit an arbitration loss?
I thought that using the transmit complete interrupt to tell when the transmission is complete, but the datasheet reads like the interrupt only comes on transmit complete. Should I then catch some manner of error interrupt?
Please help with the correct stratedgy to determine if a message was sent or lost arbitration?
Note: We would like to turn off automatic message retries because it behaves very poorly when the only node on a CAN bus (it transmits a single pulse repeatedly until something else is on the bus.) Also we would like to limit the retries to '3'.