External Flash(s25fl127s) SPI Interface with wroom ESP32

Aniket Patel
Posts: 10
Joined: Fri May 11, 2018 11:54 am

External Flash(s25fl127s) SPI Interface with wroom ESP32

Postby Aniket Patel » Fri Nov 22, 2019 7:25 am

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.

KanyeKanye
Posts: 54
Joined: Mon Dec 05, 2016 12:34 am

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

Postby KanyeKanye » Mon Nov 25, 2019 1:21 am

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?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

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

Postby WiFive » 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.

Aniket Patel
Posts: 10
Joined: Fri May 11, 2018 11:54 am

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

Postby Aniket Patel » Tue Nov 26, 2019 5:10 am

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.


Aniket Patel
Posts: 10
Joined: Fri May 11, 2018 11:54 am

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

Postby Aniket Patel » Wed Nov 27, 2019 5:05 am

Thanks for given the best support.

Who is online

Users browsing this forum: No registered users and 83 guests