Page 1 of 1

External Flash(s25fl127s) SPI Interface with wroom ESP32

Posted: Fri Nov 22, 2019 7:25 am
by Aniket Patel
I want to add 16MB External Flash(s25fl127s) with esp32 using the SPI interface. So, Can you please give me reference code to I have interface External Flash(s25fl127s) with esp32.

I just want to add an extra 16 MB external SPI Flash memory in addition to 4 MB SPI Flash memory.

Mainly my purpose is to add some more extra memory interface in addition to the existing one for my application development.

Looking forward to some positive feedback on this.

Re: External Flash(s25fl127s) SPI Interface with wroom ESP32

Posted: Mon Nov 25, 2019 1:21 am
by KanyeKanye
Its not so easy and no one will provide you code you need I think.
Why dont you just buy ESP32-WROOM-32D 128Mbit version?

Re: External Flash(s25fl127s) SPI Interface with wroom ESP32

Posted: Mon Nov 25, 2019 2:59 am
by WiFive
You can either use the external flash on a different spi bus or use it on the same bus by disabling the internal flash chip. There are some posts about it.

Re: External Flash(s25fl127s) SPI Interface with wroom ESP32

Posted: Tue Nov 26, 2019 5:10 am
by Aniket Patel
WiFive wrote:
Mon Nov 25, 2019 2:59 am
You can either use the external flash on a different spi bus or use it on the same bus by disabling the internal flash chip. There are some posts about it.
Yes, I have used external flash on a different SPI bus(MOSI=GPIO13, MISO=GPIO12, SCLK=14, CS=5). But I didn't know how to perform esp32 SPI master interface with flash SPI configuration and I didn't know how to perform external flash read, write and erase operation.

So, Can you please give me any other external flash SPI configuration and external flash read, write and erase operational flow.

Re: External Flash(s25fl127s) SPI Interface with wroom ESP32

Posted: Tue Nov 26, 2019 6:26 am
by WiFive

Re: External Flash(s25fl127s) SPI Interface with wroom ESP32

Posted: Wed Nov 27, 2019 5:05 am
by Aniket Patel
Thanks for given the best support.