Skip to content
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

CANFD support #129

Open
UnaDirezione opened this issue Sep 25, 2024 · 2 comments
Open

CANFD support #129

UnaDirezione opened this issue Sep 25, 2024 · 2 comments
Labels

Comments

@UnaDirezione
Copy link

How can I configure the code so that I can use cc. py on a bus that only supports CANFD/CANFD acceleration

@kasperkarlsson
Copy link
Contributor

Please refer to the configuration instructions for python-can:
https://python-can.readthedocs.io/en/stable/configuration.html

I suspect it might be as easy as adding an fd = true entry to your ~/.canrc file. If this is not enough you might want to look into setting the is_fd parameter to true in calls to underlying python-can functions (such as the wrapper in CanActions.send, see https://github.com/CaringCaribou/caringcaribou/blob/master/caringcaribou/utils/can_actions.py#L107)

If you get this working, please share your method here to help others who are in a similar situation 🙂

@sut4nd0
Copy link

sut4nd0 commented Oct 21, 2024

when configuring "can.Bus()", add "fd=True". And, When constructing "can.Message", set "is_fd" to "True".

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

No branches or pull requests

3 participants