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