Hello @Aarra.1
First let me thank you for posting.
In the context of SRAM configurations for microcontrollers like the STM32H747, bank swapping refers to the ability to swap the memory map between two or more memory banks, typically for the purpose of allowing more efficient access to memory.
When a microcontroller has multiple banks of SRAM, bank swapping allows the programmer to access different banks of SRAM as if they were contiguous blocks of memory, even though they may physically be located in different areas of the chip. This can be useful when working with large data sets or when multiple tasks need to access different areas of memory simultaneously.
In the case of the STM32H747, enabling bank swapping may have resolved your issues with reading and writing from the SRAM because it allowed the microcontroller to access the correct bank of memory when accessing specific addresses. Without bank swapping enabled, the microcontroller may have been attempting to access the wrong bank of memory, resulting in errors or unexpected behavior..
BR,
Ghofrane