I'm using Stop mode on a custom board with STM32F207. There is a SRAM on the board for data storage.
I turn off SRAM in Stop mode, to reduce power consumption. Now I want to disable the FSMC of SRAM too. Therefore I use the function HAL_SRAM_DeInit before entering Stop mode. After leaving the Stop mode I reinitialize the FSMC by using HAL_SRAM_Init.
After reinitialization the FSMC doesn’t work correctly and I can’t access SRAM.
Is there a different way to disable FSMC?
Thanks in advance