-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Micro SD write speed on RP2040 is too slow #156
Comments
If you call the BTW, I do have the latest version of |
@michaelkamprath |
Here is some sample code that I have working on a rp2040: https://github.com/michaelkamprath/rp2040-rust-robot/blob/main/src/robot/file_storage/sd_card_spi_device.rs |
Hello,
Here is my configuration:
I'm using the
embedded-sdmmc-rs
library (version 0.5.0 because I can't getSpiDevice
to work onthumbv6m-none-eabi
architecture, although I've tried withembedded-hal-bus
without success).My program writes one line of a CSV file as quickly as possible and starts again. Each time I open the same file, prepare my bytes, write to the micro SD and close the file. I measured a time of around 54ms per write, which is far too long for my application (I'd like at least 10x faster).
Do you have any advice for my problem or even solutions?
Thanks in advance
The text was updated successfully, but these errors were encountered: