2018-10-14 06:52 PM
Hi,
The file stm32l432xx.h defines SRAM2_BASE as 0x10000000, but the datasheet https://www.st.com/resource/en/datasheet/stm32l432kc.pdf says that SRAM2 starts at 0x2000C000, is this a typo in the HAL header?
Thanks,
Jacob
#STM32L432 #Hal
Solved! Go to Solution.
2018-10-14 07:31 PM
The Reference Manual says the SRAM2 is 0x10000000..0x10003FFF
For the L432 it shadows at 0x2000C000, see Figure 2 Memory Map
2018-10-14 07:31 PM
The Reference Manual says the SRAM2 is 0x10000000..0x10003FFF
For the L432 it shadows at 0x2000C000, see Figure 2 Memory Map
2018-10-14 07:33 PM
Oh ok, I didn't realize it was shadowed.
2018-10-14 07:49 PM
The manual could be clearer, there is also a reference to CCM SRAM which doesn't have any other explanation within the document, probably some cut-n-paste work going on here. Other RM make more explicit references to SRAMs getting mapped/shadowed at multiple addresses. @Imen DAHMEN
Also bit-banding would only work on the 0x2000C000 situated memory.
2018-10-15 06:58 AM
Right, there should be put back name SRAM2 instead of CCM SRAM which appears accidentaly in latest releases of L4 RM's.
2018-10-15 07:09 AM
Hello @Community member ,
I will double check, but there should be put SRAM2 name in this platform instead CCM SRAM.
Your feedback has been reported internally for the related reference manual to update in coming release.
Thanks a lot for your contribution to the enhancement of our STM32 resources.
Kind Regards,
Imen