STM32L452xx: Memory mapping calculation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-11 2:43 AM
Looking at the datasheet of the STM32L452xx family, it's noted that SRAM size is 160K.
The memory mapping on page 86 notes the address range from 0x2000'0000-0x2028'0000.
But 160K is 0x2'8000 and not 0x28'0000, which would make the range from 0x2000'0000-0x2002'8000.
Am I making a calculation error, what am I missing?
Also, SRAM2 is mapped twice, between 0x100'0000-0x1000'8000 and 0x2028'0000-0x2002'F7FF.
Is that intended?
Labels:
- Labels:
-
STM32L4 series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-11 2:58 AM
I believe the dual mapping is documented and intended. As I recall the 0x10000000 is TCM, check bus matrix diagrams.
The 0x20000000 space can also be shadowed at zero.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
