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

Problem with arduino due #39

Open
Maaz-Sansare opened this issue Jul 8, 2023 · 3 comments
Open

Problem with arduino due #39

Maaz-Sansare opened this issue Jul 8, 2023 · 3 comments

Comments

@Maaz-Sansare
Copy link

I encountered a timeout error while attempting to run one of your example codes, specifically the loopback code, on an Arduino Due. In order to investigate the issue further, I decided to write a small program to configure and trigger the GPIO of the click board, and that seemed to work without any problems.

Now, I'm wondering if there are any specific configurations that I should be aware of when trying to configure CANFD using the Arduino Due. Could you provide me with some guidance on this matter? Alternatively, is it possible that the issue I'm experiencing is a result of a bug in the code or the system?

@pierremolinaro
Copy link
Owner

pierremolinaro commented Jul 8, 2023 via email

@Maaz-Sansare
Copy link
Author

same issue

@Maaz-Sansare
Copy link
Author

May this help. I tried the ACAN2517 library loopback example code, and after a few resets, it started working with the same SPI settings as ACAN2517FD.
mSPISettings = SPISettings (inSettings.sysClock () / 2, MSBFIRST, SPI_MODE0) ;

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