-
Notifications
You must be signed in to change notification settings - Fork 452
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
Switch to using Arduino SPI library #335
base: main
Are you sure you want to change the base?
Conversation
@njh It's still seems to be looking for Tested it on a Arduino Due where compilation failed when it couldn't find the above. |
I have tried this pull request with the new Arduino Nano Every. The SPI works fine though I had to add support for checking if the SPI peripheral was enabled:
In addition, the library seems to be processing each HTTP request three times. If I use
my application code sees and handles three of them. This is three consecutive log lines from my application's HTTP handler, which calls
So the handler is getting a positive value from |
I can also confirm that the behaviour I described above occurs under certain conditions with a normal Arduino Nano - I haven't worked out what those conditions are yet. |
I did also try on a Nano Every, but even with the extra tweak above I'm hitting a wall with EtherCard/src/bufferfiller.cpp Line 62 in 713e9b0
|
Switch from manipulating the AVR registers directly to using the Arduino SPI library.
Note there is a little bit more work to do on this, please don't merge yet.
Before merging, it would be really good if people were able to test out this branch and see if it works for them on a variety of Arduino boards.