-
Notifications
You must be signed in to change notification settings - Fork 524
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
v2 cannot use with Particle Boron SPI1 #285
Comments
Nevermind - found the documentation for multiple spi in the examples. thanks for htis lib! |
@zabaat Where in the documentation/examples did you find reference for Multiple SPI? I'm in a similar position but not seeing what you found. |
@TrikkStar here is the relevant code snippets to init.
|
The html documentation in SdFat/doc has the four sd.begin() calls and four SdSpiConfig() constructors. The problem is SdFat now has so many options and classes that it is difficult find what you need in the documentation. Here are screen shots of begin and SdFatConfig from SdFat/doc/html: There are now over a hundred boards that can use SdFat so it is impossible to test or give examples for all of these. |
Hello, we were able to get this working with version 1 of your library, but with v2 we are unable to init. It looks like the ability to call sd(SPI1) is gone now. How to make this work in V2 with particle? Both code are below.
V2
this outputs
SD initialization failed.
Do not reformat the card!
Is the card correctly inserted?
Is chipSelect set to the correct value?
Does another SPI device need to be disabled?
Is there a wiring/soldering problem?
errorCode: 0x1, errorData: 0xff
The text was updated successfully, but these errors were encountered: