Touchscreen doesn't work when external RAM is enabled.
I am using below development tools
MCU: STM32H7B3IIT6
IDE: STM32CubeIDE Version: 1.8.0
GUI: TouchGFX Version: 4.18.1
External RAM: IS45S16800F-7CTLA1
When external RAM is activated, the touch part doesn't work. To be sure, I activated external RAM on the development board(STM32H7B3I-DK). I tryed development board(STM32H7B3I-DK) it work with external RAM. But it doesn't work on custom board. Why is the touch part not working?
Why does adding RAM affect the touch part?
I checked hardware, clock is normal, pins goes true place.
I see the RAM has been added.
I add below codes my main.c file
static FMC_SDRAM_CommandTypeDef Command;
Command.CommandMode = FMC_SDRAM_CMD_CLK_ENABLE;
Command.CommandTarget = FMC_SDRAM_CMD_TARGET_BANK2;
Command.AutoRefreshNumber = 1;
Command.ModeRegisterDefinition = 0;
HAL_SDRAM_SendCommand(&hsdram2, &Command, 0xfff);
HAL_Delay(1);
Command.CommandMode = FMC_SDRAM_CMD_PALL;
HAL_SDRAM_SendCommand(&hsdram2, &Command, 0xfff);
Command.CommandMode = FMC_SDRAM_CMD_AUTOREFRESH_MODE;
Command.AutoRefreshNumber = 2;
HAL_SDRAM_SendCommand(&hsdram2, &Command, 0xfff);
Command.CommandMode = FMC_SDRAM_CMD_LOAD_MODE;
Command.ModeRegisterDefinition = (uint32_t)0 | 0<<3 | 2<<4 | 0<<7 | 1<<9;
HAL_SDRAM_SendCommand(&hsdram2, &Command, 0xfff);
HAL_SDRAM_ProgramRefreshRate(&hsdram2, 1542);