Skip to main content
Associate III
November 11, 2024
Solved

Start a new project with STM32H743VIT6

  • November 11, 2024
  • 3 replies
  • 2418 views

Dear all!

this is the first time i handle with STM32H7 series. in my project control ILI9488 by TouchGFX platform, 4 mosfets, 1 Led. in the first step, i try to blink a led at pin PB5 but seem unsuccess. i don't know how to fix, so can you share me my mistake and how to fix it. in attach file have schematic. can you take a look and share me your input.

Best answer by mƎALLEm

Hello,

Getting back to you regarding CubeMx. There is an issue in CubeMx V6.12.1.

For System clock @240MHz/VOS2, the HPRE prescaler needs to be  2.

SofLit_0-1732187325432.png

So in your ioc file set HPRE to 2 instead of 1.

The issue seems to be fixed in an internal version that will be available soon on st.com.

If this solved your issue/answered your question, please accept it as solution.

Thank you.

3 replies

mƎALLEm
Technical Moderator
November 11, 2024

Hello,

If you comment the line MX_TouchGFX_Process(); what happens?

"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."
Associate III
November 11, 2024

Dear!

i try to blink led at Pin B5, but can not. i update newest program. pls help me.

mƎALLEm
Technical Moderator
November 11, 2024

Sorry I don't see any change in the While loop:

 while (1)
 {
 /* USER CODE END WHILE */

 MX_TouchGFX_Process();
 /* USER CODE BEGIN 3 */
		HAL_GPIO_TogglePin(GPIOB, Run_led_Pin);
		HAL_Delay(300);
		
 }

Could you please remove the call of MX_TouchGFX_Process() and try?

"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."
Associate III
November 11, 2024

Dear!

 

 

this function was generate automatic when we use touchGFX designer, if we remove it. we can not display TFT LCD

mƎALLEm
mƎALLEmBest answer
Technical Moderator
November 21, 2024

Hello,

Getting back to you regarding CubeMx. There is an issue in CubeMx V6.12.1.

For System clock @240MHz/VOS2, the HPRE prescaler needs to be  2.

SofLit_0-1732187325432.png

So in your ioc file set HPRE to 2 instead of 1.

The issue seems to be fixed in an internal version that will be available soon on st.com.

If this solved your issue/answered your question, please accept it as solution.

Thank you.

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