Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 9 months ago.
How use a shorter time to write spi flash?
i use little file system to operate file, but i write 1024bytes data to spi flash use a long time about 150ms. is there anybody encouter this problem?
1 Answer
5 years, 9 months ago.
Write speed is based upon the speed of the SPI flash clock and the internal workings of the SPI flash part (erase, write, verify,...) In a previous post you mentioned SPI clock a 4mhz. That is a slow clock. Find faster SPI flash and use a faster clock if you need faster write times. also see this video.
https://os.mbed.com/blog/entry/Office-Hours-LittleFS-with-Chris-Haster/