How to use W25q32 external Flash in ESP-Wroom-32?

Erfan642
Posts: 1
Joined: Tue Oct 08, 2024 7:38 am

How to use W25q32 external Flash in ESP-Wroom-32?

Postby Erfan642 » Tue Oct 08, 2024 8:07 am

Hi,
I have a CYD (Cheap-Yellow-Display) 2432S028 display having ESP-Wroom-32 onboard. At the U4 (please see the picture describing the schematic below), I am planning to use a flash chip (W25q32) which is already routed to the ESP32 SDSPI bus.

I am a noob in using flash chips. Once operated W25q32 on ESP32 SPI3(VSPI) bus as a storage device only. I followed this repository as an example https://github.com/nopnop2002/esp-idf-w ... ree/master
But, in the scenario of CYD, it is connected to the SD bus which I have never encountered. But I want to learn.

I do not know how to use it as :

1. As just an external memory device in SD bus
2. Use as main flash(firmware and others) instead of using 4Mb internal flash
3. How to use both memories (internal & external for firmware and others)


I generally use ESP-IDF to code ESP32.

Please enlighten me. I will request that if possible you may suggest me code snippet or any public repo as an example.


I added the screenshot of the portion of the schematic of W25q32 routed to the SDSPI bus in CYD.

Thanks In advance.
Attachments
374331525-6830883d-b3fe-468d-8834-1e76f8f98045.png
374331525-6830883d-b3fe-468d-8834-1e76f8f98045.png (527.16 KiB) Viewed 333 times
374330298-0dfb5852-e8a2-4751-9d77-a8cd9118158f.jpg
374330298-0dfb5852-e8a2-4751-9d77-a8cd9118158f.jpg (39.88 KiB) Viewed 333 times

Who is online

Users browsing this forum: No registered users and 107 guests