2025-08-13 10:32 PM
Can the STM32WB55 use external SRAM, or can it only use external PSRAM?
If external RAM can be used, can it also be used to execute code and run tasks?
2025-09-15 8:40 AM - edited 2025-09-15 8:42 AM
Hello @aliceyeh and welcome to the community;
First of all I apologize for my late reply.
The QUADSPI interface supports different memory types, you need to check the command format and order shared in the device datasheet must be aligned with the command format and order mentioned in the STM32 reference. There are volatile Quad-SPI SRAM (static random-access memory) available from Microchip, ON Semiconductor and others.
As mentioned in AN4760 section "3.3.3 Memory-mapped mode", in Memory-mapped mode the external memory is seen by the system as it was an internal memory. This mode allows all AHB masters to access the Quad-SPI memory as an internal memory. The CPU can execute code from the Quad-SPI memory as well.
For more information about the QUADSPI interface, I recommend you to look at:
- Quad-SPI interface on STM32 microcontrollers and microprocessors - Application note
- Overall FAQs for QUADSPI/OCTOSPI/HSPI/XSPI - STMicroelectronics Community
I hope this answer your request.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.