Page 1 of 1

set SPI Flash to operation freq 30 MHz

Posted: Fri Aug 27, 2021 6:04 pm
by Mar18d
Hi,

I want to work with a SPI Flash that is in 30 MHz, but I canĀ“t find, how to set it on flash

Thanks for help

Re: set SPI Flash to operation freq 30 MHz

Posted: Sat Aug 28, 2021 1:30 am
by ESP_Sprite
You'll need to provide a few more details than that. Do you want to use it as your main flash containing the ESP32 program, or a secondary flash? Why specifically 30MHz, is more or less OK?

Re: set SPI Flash to operation freq 30 MHz

Posted: Sun Aug 29, 2021 1:36 am
by Mar18d
Hi,

I want to use the SPI flash for ESP32 program, but when I want to set the flash freq, it only shows me 80, 40, 26 and 20 MHz

Re: set SPI Flash to operation freq 30 MHz

Posted: Mon Aug 30, 2021 3:03 am
by ESP_Sprite
Yes, those are the frequencies we support for main program memory. Again, why do you specifically need 30MHz? If you can tell us that, we may be able to come up with a workaround.

Re: set SPI Flash to operation freq 30 MHz

Posted: Tue Aug 31, 2021 3:04 pm
by Mar18d
Ok, I understand. I have a 30 Mhz flash memory on stock and I only want to know if I can use it for the ESP32 program.

Thanks a lot

Re: set SPI Flash to operation freq 30 MHz

Posted: Wed Sep 01, 2021 3:15 am
by ESP_Sprite
You might be able to if you use the 26MHz clock... but it sounds like it's an older flash chip, and I can't guarantee it works with the chip as the instruction set used may be different than what the ESP32 expects; you may want to try it first if you still insist on using it. (Also, obviously, running the chip at 26MHz vs a 'proper' 80MHz is going to cause a performance inpact for your program.)