Skip to content

Canfd improvements #4094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kevswims
Copy link
Contributor

Fixes the error handling in the canfd peripheral to match the bxcan. An error will only be returned once even if it remains present instead of returning the error every time read is called. The error state is tracked using the interrupt flags. If the flag is set then the error is new and is reported.

Also adds a configuration function to set the TX buffer mode to allow usage in FIFO mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant