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

Add support for CAN-FD #45

Open
thirtytwobits opened this issue Jan 18, 2024 · 2 comments
Open

Add support for CAN-FD #45

thirtytwobits opened this issue Jan 18, 2024 · 2 comments
Assignees
Labels
type: enhancement Proposed improvement

Comments

@thirtytwobits
Copy link

I'd like to use the portenta x8 to connect to CAN-FD networks. Can you add support for CAN FD in the device drivers for the Portenta?

@aentinger aentinger self-assigned this Jan 23, 2024
@aentinger
Copy link
Contributor

Hi @thirtytwobits ☕ 👋

Thank you very much for reaching out. While the Portenta X8 does support CAN FD on the hardware side, the corresponding firmware and Linux device driver currently only support CAN "Classic". In order to enable CAN FD support a some of development work would need to be invested.

Can you please tell us a bit about your application?

@thirtytwobits
Copy link
Author

Sure. We use CAN-FD as a message bus on robotics systems where the larger MTU allows us to trade latency for reduced protocol overhead and vice-versa. Furthermore, we use a higher bitrate for the data-section (BRS) to further reduce latency by shortening transmission times. Finally, the improved checksum provides additional robustness that we find desirable.

Standard bitrates in automotive these days seems to be around 500kbs arbitration with 2Mbs data but, as you know, FD should support data rates up to 5Mbs.

Does that help?

@MaxPayne86 MaxPayne86 added the type: enhancement Proposed improvement label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants