BinghamtonRover / Firmware-Utilities

A shared implementation of the CAN bus protocol for Arduino-based microcontrollers.
https://BinghamtonRover.github.io/burt-can/
2 stars 0 forks source link

Modernized BurtCan #18

Closed Levi-Lesches closed 8 months ago

Levi-Lesches commented 8 months ago

[!Note] This PR changes BurtCan from using FlexCAN_T4's interrupt-based mailboxes to a polling-based mechanism. The update method will try to clear the CAN buffer. However, if too many messages arrive in between calls to update(), it can result in significant slowdowns and noticeable latency in message handling.