cancel
Showing results for 
Search instead for 
Did you mean: 

Which code in SRAM4 for LPBAM?

JoachimO
Associate II

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

 

 

 

2 REPLIES 2
STOne-32
ST Employee

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

JoachimO
Associate II

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?