Comments (2)
Moreover this SPI need to be in SPI_Mode3.
You can have devices with different modes on one bus. This is set by:
SPI.beginTransaction(settings);
See this.
from sdfat.
Hi Thanks
I found finally a solution . Maybe not the more beautiful one, but seems to work:
I used your SdFat_Beta instead of SdFat ,and changing priorly the SPI_DRIVER_SELECT = 2 in the SdFat/SdFatConfig.h , and after using the softSpiDriver like in your "SoftwareSpi"example.
I just had to be aware that I define well my GPIO_IMU_SCLK, GPIO_IMU_DOUT, GPIO_IMU_DIN, GPIO_IMU_CS, and GPIO_SPI_CS as const unint8_t , and not as static gpio_num_t , as I did for all the rest of my gpio configuration.
I can now avoid any SPI.end() on my User.SPI Gyro or any sd.end() on the USER.SPI SDfat and have both User.SPI are working together.
Many Thanks for your help
from sdfat.
Related Issues (20)
- ESP32 S3 always fails to mount card HOT 10
- Unable to format flat Spiflash module with ESP8266 HOT 4
- Mount issues for a Windows-formatted card HOT 35
- SD NAND XTSD01G (surface mounted chip) not formating HOT 1
- Unable to share the same SPI bus with TFT_eSPI on ESP32 HOT 3
- Problems with multiple SD card HOT 3
- Long timeout calling begin() on Teensy 4.1 when no card present HOT 5
- Arduino-Pico: huge slowdown with v2.2.2 (vs.2.1.1) HOT 5
- Problem with SdFat and TwoWire instance. HOT 3
- sd.begin(SPI_CONFIG) breaks my DMA ADC datalogger on the SAMD51 HOT 5
- Issue after latest update. HOT 17
- exFat sd cards not working with Sdinfo.ino example, only FAT32 card HOT 7
- Allocating bin file with 0s HOT 2
- CS_Pin has to be driven high on ESP32 (to be low at the SDCARD) because of some logic inbetween HOT 3
- Initialization fails with ESP32 HOT 1
- FsFile::isSystem() is missing. HOT 1
- 2.2.3 fails to compile HOT 10
- Request for SDIO 4-bit Support in Adafruit_Sdfat Library for SAMD51
- QuickStart fails to compile on ESP32 V3.0.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdfat.