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

ACK bit should be 0? #53

Open
spudmu opened this issue Mar 24, 2021 · 3 comments
Open

ACK bit should be 0? #53

spudmu opened this issue Mar 24, 2021 · 3 comments

Comments

@spudmu
Copy link

spudmu commented Mar 24, 2021

I am trying to emulate some CAN frames on my due with my very limited C++ abilities, my background is more hardware oriented and I am very new to the due.
When I scope the CAN output of my due I see that the ACK bit is always 1 whereas on the frames I am trying to emulate the ACK bit is always 0 which I believe is correct. Is there a command in due_can to clear the ACK bit

@collin80
Copy link
Owner

The ACK bit is automatically handled in hardware. If the hardware accepts a frame it asserts ACK and sends it over the wire. There really isn't any way to set that bit explicitly in the library other than to accept a frame that is received.

@spudmu
Copy link
Author

spudmu commented Mar 24, 2021

Thanks for the quick reply Collin, In that case it looks like I will not be able to emulate these frames with the due.

Jim

@collin80
Copy link
Owner

You might consider looking here: https://github.com/kentindell

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