How to Interface Two External SPI Flash ICs (W25Q128) with ESP32-S3 on SPI1 Bus

Freddy2400
Posts: 1
Joined: Mon Jul 01, 2024 3:39 pm

How to Interface Two External SPI Flash ICs (W25Q128) with ESP32-S3 on SPI1 Bus

Postby Freddy2400 » Mon Jul 01, 2024 3:43 pm

Hello everyone,

we are currently working on a custom PCB project using the ESP32-S3 with an integrated 8 MB flash and two additional external SPI flash ICs from Winbond (W25Q128). These two SPI flash chips are connected to the SPI1 bus of the ESP32-S3 and use different chip select (CS) pins.

We are facing challenges with integrating these external flash ICs on the firmware side. Despite searching through the available documentation and examples, we haven't been able to find clear guidance or examples on how to implement and manage multiple external SPI flash devices on the ESP32-S3.

Our specific questions are:
- How can we configure and initialize the SPI1 bus to communicate with the two external SPI flash ICs?
- What is the recommended way to manage multiple SPI flash devices, particularly with respect to the CS pins?
- Are there any example codes or libraries that can help us get started with this setup?

We appreciate any guidance, example code, or documentation that could help us move forward with our project.

Thank you in advance for your assistance!

All the best,
Frederic.

Who is online

Users browsing this forum: Google [Bot] and 87 guests