fsinfo64 takes long time to complete - is this normal? #2076
-
Hey, I've been playing with the SD cardinfo example trying to get card size and usage. If I run the following:
It takes almost eight seconds to complete with a 2gb card, and 22 seconds on an 8gb card. Is this normal? If so, is there a way to grab the fsinfo struct without blocking my code for 20+ seconds? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is down to whatever the SDFat library is doing behind the scenes and not really in our control. You should try increasing the SPI frequency since there's probably lots of reading FAT structures from dozens of 512b sectors on flash over 1-bit SPI. |
Beta Was this translation helpful? Give feedback.
This is down to whatever the SDFat library is doing behind the scenes and not really in our control. You should try increasing the SPI frequency since there's probably lots of reading FAT structures from dozens of 512b sectors on flash over 1-bit SPI.