Replies: 1 comment
-
The library is performing illegal access to unitialized global variables (SPI in this case) when you use a global Make the MCP2525 a In general there is no order guarantee when globals are initted. In this instance, the MCP global is being initted before the SPI ones. But, it could be the other way, depending on the compiler, the linker, other bits of code, phase of the moon, etc... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have confirmed my SPI pins are working through an Adafruit display library.
When I repurpose the same pins with this library, the device softlocks in the same way as if it has improperly assigned pins once uploaded. I've spent several hours trying to debug and I'm ready to seek help. The library itself is not that complex and it works flawlessly on a standard Arduino Nano.
Basic test code (SS can be replaced with csPin):
Beta Was this translation helpful? Give feedback.
All reactions