Skip to main content
Visitor II
August 14, 2025
Solved

External RAM for STM32WB55

  • August 14, 2025
  • 1 reply
  • 281 views

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?

Best answer by KDJEM.1

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.

KDJEM1_0-1757950923587.png

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

 

 

1 reply

KDJEM.1
KDJEM.1Best answer
Technical Moderator
September 15, 2025

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.

KDJEM1_0-1757950923587.png

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.