Skip to main content
Associate III
May 28, 2025
Question

Problem in using TouchGFX on custom board for STM32H750VBT6

  • May 28, 2025
  • 1 reply
  • 1035 views

I have created a ui to that i am able to upload on the custom board(STM32H750VBT6) which i can successfully Debugging using IDE but display is empty.I dont know where I am wrong.

I attached the library that I am using below.I have taken library from this GitHub 

Kai_Satone_0-1748432212682.png

with this pinout

WhatsApp Image 2025-05-28 at 16.47.32_77c388ec.jpg

int main(void)
{

 /* USER CODE BEGIN 1 */

 /* USER CODE END 1 */

 /* MPU Configuration--------------------------------------------------------*/
 MPU_Config();

 /* MCU Configuration--------------------------------------------------------*/

 /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
 HAL_Init();

 /* USER CODE BEGIN Init */

 /* USER CODE END Init */

 /* Configure the system clock */
 SystemClock_Config();

 /* USER CODE BEGIN SysInit */

 /* USER CODE END SysInit */

 /* Initialize all configured peripherals */
 MX_GPIO_Init();
 MX_DMA_Init();
 MX_SPI1_Init();
 MX_TIM3_Init();
 MX_CRC_Init();
 MX_TouchGFX_Init();
 /* USER CODE BEGIN 2 */
// SCB_DisableICache();
// SCB_DisableDCache();

 Displ_Init(Displ_Orientat_0);			// initialize display controller - set orientation parameter as per TouchGFX setup
 touchgfxSignalVSync();					// ask display syncronization
 Displ_BackLight('I');
 /* USER CODE END 2 */

 /* Infinite loop */
 /* USER CODE BEGIN WHILE */
 while (1)
 {
	 if(Touch_GotATouch(0))
		 touchgfxSignalVSync();
 /* USER CODE END WHILE */

 MX_TouchGFX_Process();
 /* USER CODE BEGIN 3 */
	 HAL_GPIO_WritePin(GPIOE, GPIO_PIN_3,GPIO_PIN_SET);
	 HAL_Delay(1000);
	 HAL_GPIO_WritePin(GPIOE, GPIO_PIN_3,GPIO_PIN_RESET);
	 HAL_Delay(1000);
 }
 /* USER CODE END 3 */
}

 

1 reply

Andrew Neil
Super User
May 29, 2025

@Kai_Satone wrote:

costume board 


Did you mean custom board - or is this some kind of wearable project?

From the photo, it looks like a commercial board - so a link would help

Plus details of the display, and a schematic of how you have the display connected

How to write your question to maximize your chances to find a solution.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate III
May 30, 2025

@Andrew Neil 


WeAct Studio STM32H750VBT6-LCD Demo Board:- 

https://stm32-base.org/boards/STM32H750VBT6-STM32H7XX-M.html  

2.8 inch SPI Screen Module TFT Interface 240 x 320 without Touch:-

https://robu.in/product/2-8-inch-spi-screen-module-tft-interface-240-x-320-without-touch 

 

pin connection:-

DISPL_LED = PA7

TOUCH_CS = PB1

DISPL_RST = PB10

DISPL_DC = PB11

TOUCH_INT = PA12

TOUCH_INT_EXTI_IRQn EXTI15_10_IRQn

DISPL_CS = PA15

DISPL_SCK = PB3

TOUCH_MISO = PB4

DISPL_MOSI = PB5

WhatsApp Image 2025-05-19 at 15.35.04_bef28552.jpg


I attached zip file of the project bellow

GaetanGodart
Technical Moderator
June 2, 2025

Hello @Kai_Satone ,

 

Apparently you have been able to make it work with an STM32F411?
What have you done with the F411? Used the same screen, connections, code and displayed what TouchGFX renders?

 

Regards,