Go Down

Topic: known issues about SD (SdFat), DueTimer, Scheduler, ILI9341+Wire all at once? (Read 1 time) previous topic - next topic

ghlawrence2000

Not necessarily a correct assumption....

To quote part of the SdFatConfig.h file :-
Quote
/**
 * Set ENABLE_SPI_YIELD nonzero to enable release of the SPI bus during
 * SD card busy waits.
 *
 * This will allow interrupt routines to access the SPI bus if
 * ENABLE_SPI_TRANSACTION is nonzero.
 *
 * Setting ENABLE_SPI_YIELD will introduce some extra overhead and will
 * slightly slow transfer rates.  A few older SD cards may fail when
 * ENABLE_SPI_YIELD is nonzero.
 */
If the SD card ties up the SPI bus, that is likely to be the cause of the hangup you are experiencing. Do you have the same symptoms with all of your various SD cards?

Regards,

Graham
UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

ArthurD

hang-up issues only if  ILI9341 +  Wire + Scheduler + DueTimer simultaneously PLUS SD

only ILI9341 + SD is fine

 ILI9341 +  Wire + Scheduler + DueTimer simultaneously is fine (WITHOUT SD)

ghlawrence2000

UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

ArthurD

yes, an an excruciating mess with all those fudged Due libs

Go Up