Search found 12 matches

by _0b00t_
Thu Nov 18, 2021 6:05 pm
Forum: Hardware
Topic: ESP32 dfrobot SPI pinout
Replies: 1
Views: 3999

Re: ESP32 dfrobot SPI pinout

You can check on the global esp32 pinout reference to know what default spi pins to use.
By the way, you can attach the SPI bus on your desired pins thanks to the GPIO matrix.
by _0b00t_
Mon May 18, 2020 7:21 pm
Forum: ESP-IDF
Topic: Error Flash Startup "flash read err, 1000"
Replies: 2
Views: 3994

Re: Error Flash Startup "flash read err, 1000"

Any advice ?
by _0b00t_
Sat May 16, 2020 9:32 am
Forum: ESP-IDF
Topic: Error Flash Startup "flash read err, 1000"
Replies: 2
Views: 3994

Error Flash Startup "flash read err, 1000"

Hi, I have designed a PCB using ESP WROVER B module. I can program the flash without issue and the auto reset circuit works too. But when I press EN button for hard reset, I have this error "flash read err, 1000" an then it restart and boot normaly with RTCWDT_RTC_RESET : rst:0x1 (POWERON_RESET),boo...
by _0b00t_
Thu Jan 09, 2020 7:26 am
Forum: ESP-IDF
Topic: Psram speed issue using an SD Card
Replies: 4
Views: 6045

Re: Psram speed issue using an SD Card

Thank you for the informations.
by _0b00t_
Wed Jan 08, 2020 5:22 pm
Forum: ESP-IDF
Topic: Psram speed issue using an SD Card
Replies: 4
Views: 6045

Re: Psram speed issue using an SD Card

After looking the source code of sdmmc_read_sectors() fonction, everything is clear about speed issue. So you can't use PSRAM to store data from a SD card with high speed. Is it possible to not use DMA for the sd card host and use CPU instead ? I also don't understand why there is no DMA for PSRAM b...
by _0b00t_
Tue Jan 07, 2020 1:32 pm
Forum: ESP-IDF
Topic: Psram speed issue using an SD Card
Replies: 4
Views: 6045

Psram speed issue using an SD Card

I encounter a problem with Psram (included in a Wrover B module) speed using an SD card in 4-bit mode. To fill a buffer of 100KB stored in internal RAM it takes only 6 ms which is really fast using sdmmc_read_sectors() But with the same buffer size stored in PSRAM it takes 136 ms ? Why so slow ? I'm...
by _0b00t_
Tue Jan 07, 2020 1:05 pm
Forum: ESP-IDF
Topic: Transfer data from SD Card (with SD/MMC host) to SPI Output in real time
Replies: 4
Views: 5135

Re: Transfer data from SD Card (with SD/MMC host) to SPI Output in real time

Is there a better way to do this ? Using only 1 core and not 2 cores ?
For example, can I trigger easily an interruption when the SD host has finished to write data into a buffer using sdmmc_read_sectors() ?
If it's possible I can send a SPI transaction into the interruption ?
by _0b00t_
Mon Jan 06, 2020 5:38 pm
Forum: ESP-IDF
Topic: Transfer data from SD Card (with SD/MMC host) to SPI Output in real time
Replies: 4
Views: 5135

Transfer data from SD Card (with SD/MMC host) to SPI Output in real time

Hi, I'm wonder if there is a better way to transfer data as fast as possible continually from a SD Card to a SPI output ? Currently the only way I have found is to have 2 large buffers in the RAM using the 2 cores. I'm using DMA for SPI (and also for the SD I think ? ) While I'm writing data into bu...
by _0b00t_
Mon Jan 06, 2020 5:13 pm
Forum: ESP-IDF
Topic: Reading files from SD Card using sdmmc_read_sectors()
Replies: 3
Views: 4945

Re: Reading files from SD Card using sdmmc_read_sectors()

In fact, I realized that clusters of a file are not necessarily following each others (in hardware). So I couldn't read all clusters of a file with just one read command using sdmmc_read_sectors(). But I have done a script in Python that write any file in binary on a SD Card at a chosen sectors. It'...
by _0b00t_
Thu Jan 02, 2020 10:44 am
Forum: General Discussion
Topic: pSRAM inquiry
Replies: 1
Views: 2882

Re: pSRAM inquiry