Search found 4 matches

by adamtegen
Thu Aug 02, 2018 5:04 pm
Forum: ESP-IDF
Topic: SD card interface high speed mode
Replies: 12
Views: 40677

Re: SD card interface high speed mode

Thanks. I was able to get good results on the raw sector reads. I believe I've narrowed down the bottleneck to whatever is calling esp_vfs_read(). Even though I have some relatively large buffers, esp_vfs_read() is being called with 128 bytes as an argument. Would you be able to assist me in trackin...
by adamtegen
Thu Aug 02, 2018 3:36 pm
Forum: ESP-IDF
Topic: SD card interface speed issues
Replies: 7
Views: 27251

Re: SD card interface speed issues

I have tracked what I think are the performance issues down to: esp_vfs_read() is being called to read 128 bytes at a time, even when I am calling an fread(), requesting 50KB. I can't find where that 50KB request is being broken into 128 byte chunks. I assume its somewhere in newlib or the configura...
by adamtegen
Wed Aug 01, 2018 10:53 pm
Forum: General Discussion
Topic: SD CARD DRIVER WITH SDIO
Replies: 4
Views: 8309

Re: SD CARD DRIVER WITH SDIO

I am also curious on how to assign SPI flash to other pins. I'm looking to use 2 SD cards, one each on _0 and _1.
by adamtegen
Wed Aug 01, 2018 10:29 pm
Forum: ESP-IDF
Topic: SD card interface high speed mode
Replies: 12
Views: 40677

Re: SD card interface high speed mode

I am having similar results with fread(), roughly 1MBps. Would you be able to post the code you used for that test with the raw sectors? I'm curious if I get the same results.

Adam