2026-05-18 6:34 AM - last edited on 2026-05-18 6:50 AM by mƎALLEm
Hi ST Community,
I am working on STM32H563 with external SDRAM connected through FMC.
I am trying to use:
Current SDRAM mapping:
0xC0000000
I noticed that in STM32F7/H7 examples there is support for:
HAL_REMAPMEMORY_FMC_SDRAM()
which remaps FMC SDRAM memory regions internally.
I found this in STM32F7 HAL:
__HAL_SYSCFG_REMAPMEMORY_FMC_SDRAM()
But on STM32H563 I cannot find any equivalent remap mechanism or SYSCFG macro.
My questions are:
Current observations:
I want to understand whether there is any architectural difference between STM32F7/H7 and STM32H5 regarding FMC SDRAM mapping and DCACHE interaction.
Any guidance or reference examples for STM32H563 SDRAM + DCACHE would be very helpful.
Thank you.
Solved! Go to Solution.
2026-05-18 6:49 AM - edited 2026-05-18 7:37 AM
Hello,
STM32H5 has different approach vs STM32F7 and STM32H7 regarding the cache. No SDRAM swap on STM32H5.
You can refer to the AN5872 "Introduction to the system architecture and performance in the STM32H5 MCUs" especially the section 3.3 Cache features.
2026-05-18 6:49 AM - edited 2026-05-18 7:37 AM
Hello,
STM32H5 has different approach vs STM32F7 and STM32H7 regarding the cache. No SDRAM swap on STM32H5.
You can refer to the AN5872 "Introduction to the system architecture and performance in the STM32H5 MCUs" especially the section 3.3 Cache features.
2026-05-27 8:46 PM
Hi ST Team,
Yes I found that we cannot change the external SDRAM address from 0xC00000000 to any other address in cortex m33. Thanks for the help !!
2026-05-27 8:50 PM
Hi ST Team,
Also I want to mention one thing that I am able to use HAL_Init, Clock_Config, GPIO_Init and FMC_Init in System_Init function before execution reaches to the main (). and its working fine.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.