cancel
Showing results for 
Search instead for 
Did you mean: 

FMC + LCD STM32H7S7L8 issue

Hamady
Associate III

Hello,

I'm working on a custom STM32H7S7L8 board with this display 

https://newhavendisplay.com/fr/2-4-tft-lcd-ips-high-brightness-display/
Here the schematic of the connection in 8 bit mode and clock three 

Hamady_0-1763028731446.png

Hamady_1-1763028880560.png

The backlight and display are working but I get a glitch image when i try to fill the display. 

Hamady_2-1763028964282.jpeg

with this code i can see the display turning off and on so the command are working 
Below the whole project zip 

	  LCD_Fill(0xFFFF, 0, 0, 10, 10);
	  HAL_Delay(1000);
	  ST7789H2_DisplayOff();
	  LCD_Fill(0xFFFF, 0, 0, 10, 10);
	  HAL_Delay(1000);
	  ST7789H2_DisplayOn();


Does someone have a idea to make this work 


Thanks 

2 REPLIES 2
mƎALLEm
ST Employee

Hello,

Did you modify this line in MPU config or it was generated by CubeMx:

  MPU_InitStruct.SubRegionDisable = 0x0;

 Normally it should be 0x87 not 0x0!

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
mƎALLEm
ST Employee

Also these lines?:

  MPU_InitStruct.AccessPermission = MPU_REGION_FULL_ACCESS;
  MPU_InitStruct.DisableExec = MPU_INSTRUCTION_ACCESS_ENABLE;

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.