[INFO] Enhancements to the CAN driver

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

[INFO] Enhancements to the CAN driver

Postby Giovanni » Thu Dec 17, 2015 2:55 pm

Hi,

Some updates to this driver after a while...

1) Added I-class functions: canTryTransmitI(), canTryReceiveI().
2) TX event flags now report transmission errors in the upper 16 bits.
3) STM32 implementation received a configuration switch that silences excessive error reports. By default errors are only reported after the error rate goes past the warning and error thresholds.

I decided to not add callbacks, events are doing just fine. In OS-less mode (bare metal OSAL) events are implemented as callbacks so no loss.

Giovanni

Return to “Development and Feedback”

Who is online

Users browsing this forum: Google [Bot] and 9 guests