Skip to content

Add support to "Arduino_CAN" library for more bitrates #330

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

Closed
leosoftGR opened this issue Jun 1, 2024 · 2 comments
Closed

Add support to "Arduino_CAN" library for more bitrates #330

leosoftGR opened this issue Jun 1, 2024 · 2 comments
Assignees
Labels
conclusion: invalid Issue/PR not valid topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@leosoftGR
Copy link

Hello,

Currently, in Arduino_CAN.h are supported only the following bitrates:

https://github.com/arduino/ArduinoCore-renesas/blob/main/libraries/Arduino_CAN/keywords.txt

BR_100k LITERAL1
BR_125k LITERAL1
BR_250k LITERAL1
BR_500k LITERAL1
BR_1000k LITERAL1

Seems that even 100kbit is not yet supported. However, It would be perfect if you can support 83.3Kbps because it is the standard bitrate of the internal canbus in the most Mercedes Benz cars. And now if you want to communicate with such models and arduino, you need to use an external module or an add on. But since UNO R4 wifi has the on board CAN, it would be ideal if you are able to use it directly.

Thanks for your time

@per1234 per1234 changed the title Arduiono_CAN bitrates Add support to "Arduino_CAN" library for more bitrates Jun 2, 2024
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jun 2, 2024
@per1234 per1234 self-assigned this Jun 2, 2024
@per1234
Copy link
Collaborator

per1234 commented Jun 2, 2024

Hi @leosoftGR. Support for setting arbitrary bit rates in addition to the predefined was recently added to the library: #296

I think that capability will be sufficient to satisfy your request so I'll go ahead and close this as resolved.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2024
@per1234 per1234 added the conclusion: invalid Issue/PR not valid label Jun 2, 2024
@leosoftGR
Copy link
Author

Hi @leosoftGR. Support for setting arbitrary bit rates in addition to the predefined was recently added to the library: #296

I think that capability will be sufficient to satisfy your request so I'll go ahead and close this as resolved.

Hello,

Is there any documentation or example on how to use arbitrary bitrate values with Arduino_CAN.h ? Can you send me a link?

Thanks for your time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: invalid Issue/PR not valid topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants