Skip to main content
Asantos
Associate III
January 17, 2017
Solved

STM32F413 SRAM2 through I-Code/D-Code bus.

  • January 17, 2017
  • 2 replies
  • 803 views
Posted on January 17, 2017 at 14:59

Hi,

 I want to use the STM32F413 SRAM2 to run interrupt control loop routines, as I do for CCM-SRAM of the STM32F303.

 So I need to configure the SRAM2 to be acessed through the I-Code/D-Code bus (address 0x10000000) to burst the performance.

I didn't figure out how to do it reading the reference manual. 

SRAM2 can be acessed at the address 0x20040000 or at the address 0x10000000, or I need to to some register configuration to change de SRAM2 address from 0x20040000 to 0x10000000?

Can I use the procedure to run an Interrupt routine at STM32F303 CCM-RAM for the F413 SRAM2?

Ari.

    This topic has been closed for replies.
    Best answer by waclawek.jan
    Posted on January 17, 2017 at 15:12

    You don't need to do anything, SRAM2 is from the programmer's point of view simply aliased at both addresses - at the 0x10000000 it's accessed through I and D; and at 0x2000xxxx through S port of processor.

    JW

    2 replies

    waclawek.jan
    waclawek.janBest answer
    Super User
    January 17, 2017
    Posted on January 17, 2017 at 15:12

    You don't need to do anything, SRAM2 is from the programmer's point of view simply aliased at both addresses - at the 0x10000000 it's accessed through I and D; and at 0x2000xxxx through S port of processor.

    JW

    Asantos
    AsantosAuthor
    Associate III
    January 17, 2017
    Posted on January 17, 2017 at 19:15

    JW,

    Thanks for the clarification.

    Ari.