cancel
Showing results for 
Search instead for 
Did you mean: 

Start a new project with STM32H743VIT6

khanhcong861989
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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.

View solution in original post

11 REPLIES 11
SofLit
ST Employee

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.
khanhcong861989
Associate III

Dear!

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

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.

Dear!

 

 

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

You need to check the GPIO toggle function first before going ahead with TouchGFX. This is how we proceed while we face an issue. Going step by step.

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.

Hello @khanhcong861989 

Were you able to toggle the GPIO by commenting out MX_TouchGFX_Process() ?

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.

still can't, i'm try remove MX_TouchGFX_Process() but still can't

Ok start with a very simple project where you only toggle that pin.

If it doesn't work you need to attach that simple project and your board schematics.

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.

i update simple project