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
FDCAN ITR receive trigger choice
Who is online
Users browsing this forum: No registered users and 7 guests