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

dynamic adjustment of CANFD length #24

Closed
zzgg86 opened this issue Apr 29, 2022 · 4 comments
Closed

dynamic adjustment of CANFD length #24

zzgg86 opened this issue Apr 29, 2022 · 4 comments

Comments

@zzgg86
Copy link

zzgg86 commented Apr 29, 2022

It is recommended to update to dynamic adjustment of CANFD length. For example, if the length is less than 8 bytes, a canfd message of length 8 is sent. for ECUBUS.

@frankie-zeng
Copy link
Owner

You can enable the padding , and length control.

@zzgg86
Copy link
Author

zzgg86 commented May 1, 2022

thanks for reply!
What I mean is that after turning on padding, set the bit length to 64, and send 02 10 03. If it can automatically send 8 bytes, it does not need to be filled to 64 bytes to send. Of course, this currently does not affect usage. Just a personal tip.
thank you very much!

@frankie-zeng
Copy link
Owner

Got your point, ECUBUS uses peak can-tp library directly. the transmit length decide by the dll lib.
I have a plan to support more USB-CAN devices and use the self can-tp library, then I can change the length as you said.

@zzgg86
Copy link
Author

zzgg86 commented May 1, 2022

So, thanks, at the moment this problem does not affect the use. thanks again!

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

No branches or pull requests

2 participants