Skip to main content
Associate II
Mar 14, 2024 10:34 AM UTC
Question

Which code in SRAM4 for LPBAM?

Hello,

In the example projects for LPBAM from ST, it is necessary to switch the RAM address to the SRAM region. 

This is because LPDMA has in Stop2-Mode only access to SRAM4.

JoachimO_0-1710411635664.png

If I also want to use the RAM, which part of LPBAM (or maybe other parts) must be in SRAM4?

 

It is described here, for example:

https://www.youtube.com/watch?v=NQep_EYf1po

 

Thank you,

Joachim

 

 

 

This topic has been closed for replies.

2 replies

STOne-32
ST Technical Moderator
Mar 24, 2024 7:34 AM UTC

Dear @JoachimO ,

Here are a link for LPBAM features and which RAMs can be used by Peripheral and system:

https://wiki.st.com/stm32mcu/wiki/Getting_started_with_LPBAM

Let us know if we need something to improve in the available ressources .

STOne-32

JoachimOAuthor
Associate II
Mar 26, 2024 9:45 AM UTC

Hello,

In this document there is the following statement:

To do so, In the STM32CubeIDE, in Project Explorer > Debug, go to the STM32U575ZITXQ_FLASH.ld and configure the RAM ORIGIN = 0x28000000 and the LENGTH = 16 Kbytes

 

The consequence of this is that I only have 16 kbytes of RAM available for this project.

Is that right?

Is there another way to use the remaining RAM?