SdFat icon indicating copy to clipboard operation
SdFat copied to clipboard

DEDICATED_SPI slower than SHARED_SPI ?

Open SKelectronics opened this issue 5 years ago • 1 comments

Hi,

i tried the TeensySdioDemo with my Teensy4.0, and the Demo works fine, DEDICATED_SPI is much faster than SHARED_SPI.

But in my Projekt the DEDICATED_SPI is much slower than SHARED_SPI!?

I have only 1SPI (SD card) some TXRX devices and 2 interrupts, where is my fault?

SKelectronics avatar Nov 13 '20 16:11 SKelectronics

If the card is the only SPI device it may be how other I/O and interrupts interact with SdFat. Dedicated SPI requires more CPU than shared SPI but Teensy 4.0 should not have a problem unless there is heavy interrupt CPU use.

greiman avatar Nov 13 '20 17:11 greiman