Can I use an external NOR Flash on GP-SPI2 of ESP32-S3-MINI-1U-N4R2

vipinr
Posts: 3
Joined: Sat Jan 13, 2024 10:28 am

Can I use an external NOR Flash on GP-SPI2 of ESP32-S3-MINI-1U-N4R2

Postby vipinr » Sat Jan 13, 2024 10:48 am

Hi,

We are referring to the ESP32-S3 TRM, and based on the SPI architecture, it looks like SPI1 and GP-SPI2 share the APB, and while the TRM says its safe to use GP-SPI2 and GP-SPI3 for our peripherals, I am not sure if the ESP32-S3-MINI-1U-N4R2 module that has 4MB Flash and 2MB PSRAM is connected or uses GP-SPI2 in any way. The ESP32-S3-MINI-1U-N4R2 datasheet has a footnote that says "The modules use flash and PSRAM integrated in the chip’s package." I am not sure how to interpret it.

We wish to have more storage on the IoT device we are prototyping (adding a 512 MB NOR flash for sensor logs to have an offline store and forward design for data), just wanted to confirm if it is safe to use GP-SPI2 to connect this module for extra storage.

Any help/guidance would be truly appreciated.

Thanks,
Attachments
ESP32S3-SPI Architecture.jpg
ESP32S3-SPI Architecture.jpg (97.08 KiB) Viewed 33614 times

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

Re: Can I use an external NOR Flash on GP-SPI2 of ESP32-S3-MINI-1U-N4R2

Postby ESP_Sprite » Sun Jan 14, 2024 2:07 am

GP-SPI2 and GP-SPI3 are general-purpose SPI peripherals that are not used for internal ESP32-S3 functionality; as such you're free to hook them up to whatever you desire.

vipinr
Posts: 3
Joined: Sat Jan 13, 2024 10:28 am

Re: Can I use an external NOR Flash on GP-SPI2 of ESP32-S3-MINI-1U-N4R2

Postby vipinr » Sun Jan 14, 2024 6:28 am

Thank you, appreciate the response.

vipinr
Posts: 3
Joined: Sat Jan 13, 2024 10:28 am

Re: Can I use an external NOR Flash on GP-SPI2 of ESP32-S3-MINI-1U-N4R2

Postby vipinr » Sun Jan 14, 2024 10:39 am

@ESP_Sprite, does this apply to the specific module too (specifically, ESP32-S3-MINI-1U-N4R2), since the module has embedded PSRAM and Flash, is it possible that any of these use GP-SPI2 or GP-SPI3? I am looking for any documentation that would confirm but not able to find anything concrete.

It would help if you can point me the right way. Thanks.

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

Re: Can I use an external NOR Flash on GP-SPI2 of ESP32-S3-MINI-1U-N4R2

Postby ESP_Sprite » Mon Jan 15, 2024 3:42 am

On the S3, both flash as well as PSRAM use SPI0 and SPI1. SPI2 and 3 are available to use.

Who is online

Users browsing this forum: No registered users and 138 guests