ACAN 2.0.0 on Teensy 3.2 (Arduino 1.8.12, Teensyduino 1.51), direct attached TJA1050, mTransmitBufferSize 16.
Repeating every 10 seconds to quickly send 41 CAN frames.
After a few packages of 41 CAN frames, sequentiality is broken.
Sender: CanJsonTest.ino.txt
Receiver (ACAN2515 2.0.2 on Arduino Nano with MCP2515/TJA1050 for what its worth):
acantest01.ino.txt
Receiver output: CanTest.Reception.log
On the wire, and at the receivers TJA1050 digital output towards the MCP: 
Note: Increasing mTransmitBuffer to contain all 41 frames avoids the issue, so the problem seems to be some race condition with my application calling can.tryToSend in a very tight loop whilst the transmit buffer is full.
Btw, thanks for the great library. I've built an MQTT CAN hub including a firmware reflasher over CAN for Arduino and Teensy 3/4 on top of it ...
ACAN 2.0.0 on Teensy 3.2 (Arduino 1.8.12, Teensyduino 1.51), direct attached TJA1050, mTransmitBufferSize 16.
Repeating every 10 seconds to quickly send 41 CAN frames.
After a few packages of 41 CAN frames, sequentiality is broken.
Sender: CanJsonTest.ino.txt
Receiver (ACAN2515 2.0.2 on Arduino Nano with MCP2515/TJA1050 for what its worth):
acantest01.ino.txt
Receiver output: CanTest.Reception.log
On the wire, and at the receivers TJA1050 digital output towards the MCP:
Note: Increasing mTransmitBuffer to contain all 41 frames avoids the issue, so the problem seems to be some race condition with my application calling can.tryToSend in a very tight loop whilst the transmit buffer is full.
Btw, thanks for the great library. I've built an MQTT CAN hub including a firmware reflasher over CAN for Arduino and Teensy 3/4 on top of it ...