cancel
Showing results for 
Search instead for 
Did you mean: 

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

Asantos
Senior
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.

1 ACCEPTED SOLUTION

Accepted Solutions
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

View solution in original post

2 REPLIES 2
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

Posted on January 17, 2017 at 19:15

JW,

Thanks for the clarification.

Ari.