set SPI Flash to operation freq 30 MHz

Mar18d
Posts: 3
Joined: Fri Aug 27, 2021 5:57 pm

set SPI Flash to operation freq 30 MHz

Postby Mar18d » Fri Aug 27, 2021 6:04 pm

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

ESP_Sprite
Posts: 9749
Joined: Thu Nov 26, 2015 4:08 am

Re: set SPI Flash to operation freq 30 MHz

Postby ESP_Sprite » Sat Aug 28, 2021 1:30 am

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?

Mar18d
Posts: 3
Joined: Fri Aug 27, 2021 5:57 pm

Re: set SPI Flash to operation freq 30 MHz

Postby Mar18d » Sun Aug 29, 2021 1:36 am

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

ESP_Sprite
Posts: 9749
Joined: Thu Nov 26, 2015 4:08 am

Re: set SPI Flash to operation freq 30 MHz

Postby ESP_Sprite » Mon Aug 30, 2021 3:03 am

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.

Mar18d
Posts: 3
Joined: Fri Aug 27, 2021 5:57 pm

Re: set SPI Flash to operation freq 30 MHz

Postby Mar18d » Tue Aug 31, 2021 3:04 pm

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

ESP_Sprite
Posts: 9749
Joined: Thu Nov 26, 2015 4:08 am

Re: set SPI Flash to operation freq 30 MHz

Postby ESP_Sprite » Wed Sep 01, 2021 3:15 am

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.)

Who is online

Users browsing this forum: No registered users and 66 guests