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

can SAM3X8E losing a frame #17

Open
autoprog opened this issue Oct 15, 2022 · 0 comments
Open

can SAM3X8E losing a frame #17

autoprog opened this issue Oct 15, 2022 · 0 comments

Comments

@autoprog
Copy link

autoprog commented Oct 15, 2022

Hi, I have a problem with losing 1 frame, on SAM3X8E
I get packets of 256 frames.
problem is the loss of 1 frame (eventually).

receive file
ex:
read(256)...ok
read(256)...ok
read(255)...bad <---cause the processing to stop
read(256)...ok

tried with con0.init() library
I tried direct mode can_init(CAN0, 84000000, bd).
send receiver ok, but sometimes miss 1 frame,
I use fifio buffer, I tried 2 types (fifo or Queue ).

I thought it might be CAN_BR =00142211, 500k /12xtal

if anyone has any new ideas.

thanks.

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

1 participant