esp-idf icon indicating copy to clipboard operation
esp-idf copied to clipboard

TWAI: Adjusting filters without reinstall (IDFGH-9975)

Open mickeyl opened this issue 2 years ago • 1 comments

Is your feature request related to a problem?

In terms of latency, it looks a bit over-the-top to reinstall the whole TWAI driver when all you want to do is program another set of filters, which – in normal operation – is pretty often the case. I'm using TWAI to reprogram ECUs and typically you leave everything on accept and fiddle with bitrates until you have got one valid receive.

Afterwards, you keep the bitrate intact and only adjust the filters regularly to talk to multiple devices.

Can you suggest an alternative to reinstalling the whole driver?

Describe the solution you'd like.

A twai_update_filters would be perfect.

Describe alternatives you've considered.

No response

Additional context.

No response

mickeyl avatar Apr 23 '23 17:04 mickeyl

Not even a single comment in a year? Is that such an esoteric request?

mickeyl avatar Apr 30 '24 15:04 mickeyl