FDCAN ITR receive trigger choice

Report here problems in any of ChibiOS components. This forum is NOT for support.
User avatar
alex31
Posts: 412
Joined: Fri May 25, 2012 10:23 am
Location: toulouse, france
Has thanked: 47 times
Been thanked: 80 times
Contact:

FDCAN ITR receive trigger choice

Postby alex31 » Thu Sep 26, 2024 1:55 pm

Hello,

On the FDCAN (v1, v2) the receive ISR is triggered by fifo full event (R[01]FE flag)
On the devices with a depth of 32, this introduce significant lag, and chance to loose messages, (good thing is that keep ISR overhead low).

In my use case, I prefer to use new message event (R[01]NE) flag, ISR overhead is non measurable, and lag limitation resolve timout problem.


Can the driver be modified to make it a config choice ?
Another event source that can be used is the watermark level interrupt, where one can choose at which fifo level the IT is fired.

Alexandre

ych
Posts: 39
Joined: Tue Mar 03, 2015 11:38 pm
Has thanked: 9 times
Been thanked: 10 times

Re: FDCAN ITR receive trigger choice

Postby ych » Mon Dec 23, 2024 7:03 pm

Hello, Alexandre

It seems that this proposal is implemented with ChibiOS trunk (rev 16769).

Yurii


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 7 guests