Skip to main content
Graduate
March 14, 2024
Question

Which code in SRAM4 for LPBAM?

  • March 14, 2024
  • 2 replies
  • 978 views

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

    Technical Moderator
    March 24, 2024

    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
    Graduate
    March 26, 2024

    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?