Hey all.
I'm using a Teensy 3.5 (was what was the thing at the time I started the project) to drive an ILI9341 display in DMA mode using ILI9341_t3n. It's mainly a graphical menu system for displaying information.
For a while now I was using SDFatEx as a solution to display my BMP intro screen very quickly. Whilst it was a fairly hacky solution, it did work fast enough for the animation to be presentable. However I wanted to use the audio library for sound effects and am now finding that because the Audio library requires SD.h to work, if I use SDFatEx, it will conflict all over the place, but if I use SD.h I lose all the speed and my animation goes to around a frame per second or two.
I've spent a few hours looking into it and it seems that whilst the teensy SD library is using SdFat as a basis, it doesn't seem to have the same multiblock transfer speeds as SdFatEX, even in SDIO mode (at least I think its running in SDIO mode).
My question is whether there is a possibility that SD.h is just slower and can't be sped up by a novice like me and as such need to find a way to make SDFatEx or SdFat v2 work?
I will post the code I have for the setup, SD reading and animation shortly but not all the file because it is huge and most functions are not relevant to this issue.
I'm using a Teensy 3.5 (was what was the thing at the time I started the project) to drive an ILI9341 display in DMA mode using ILI9341_t3n. It's mainly a graphical menu system for displaying information.
For a while now I was using SDFatEx as a solution to display my BMP intro screen very quickly. Whilst it was a fairly hacky solution, it did work fast enough for the animation to be presentable. However I wanted to use the audio library for sound effects and am now finding that because the Audio library requires SD.h to work, if I use SDFatEx, it will conflict all over the place, but if I use SD.h I lose all the speed and my animation goes to around a frame per second or two.
I've spent a few hours looking into it and it seems that whilst the teensy SD library is using SdFat as a basis, it doesn't seem to have the same multiblock transfer speeds as SdFatEX, even in SDIO mode (at least I think its running in SDIO mode).
My question is whether there is a possibility that SD.h is just slower and can't be sped up by a novice like me and as such need to find a way to make SDFatEx or SdFat v2 work?
I will post the code I have for the setup, SD reading and animation shortly but not all the file because it is huge and most functions are not relevant to this issue.