cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in using TouchGFX on costume board for STM32H750VBT6

Kai_Satone
Senior

I have created a ui to that i am able to uplode on the costume 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 1
Andrew Neil
Super User

@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.