cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX UI works in simulator but not displaying on STM32H7B3I-EVAL TFT (only backlight ON)

vijayajangam
Associate II

Hello,

The board revision I am using is MB1370-lcd-b02 a254300030.

I am working with the STM32H7B3I-EVAL board and using TouchGFX (TouchGFX Designer).

I have created a simple screen in TouchGFX, and:

  • The simulation runs correctly on PC
  • The project builds successfully in STM32CubeIDE
  • The code flashes successfully to the board

However, on hardware:

  • The TFT backlight turns ON
  • But no UI is displayed (screen is blank)
14 REPLIES 14
JohanAstrup
ST Employee

Hello @vijayajangam.

Which board revision do you have? You can find it on a sticker on the underside of the board.

I have just tested with the board I have here, and it works fine. The board revision I am using is MB1331-H7B3LIQ-D03.

Best regards,
Johan

Hello @JohanAstrup  I’m experiencing the same issue on my side.

In my case, I’m using the STM32H7B3I-EVAL D04 board revision.

The project compiles and flashes correctly, but nothing is displayed on the screen (black screen / backlight only). The TouchGFX simulator works fine.

For reference, here are my versions:

  • TouchGFX Designer: 4.26.1

  • Demo version: v3.0.17

  • STM32 MCU Package: v1.13.0

  • STM32CubeMx Version: v6.17.0

I suspect this might be related to external memory initialization or loader configuration, but I haven’t found a clear solution yet.

Has anyone managed to get this working with this combination of versions and board revision?

Any guidance would be appreciated.

Was there an application already running on the board when you received it?

How are you powering the board? With this specific EVAL board, I sometimes experience issues if I do not use an external power supply, as the board requires quite a lot of power. Please remember to set the jumper correctly according to your setup on the pins between the DC jack and the RS232 connector.

Could you also try to run one of the demos from the firmware pack? For example the one placed here:
C:\Users\YOUR_USER_NAME\STM32Cube\Repository\STM32Cube_FW_H7_V1.13.0\Projects\STM32H7B3I-EVAL\Examples\LTDC\LTDC_ColorKeying.

Best regards,
Johan

Hi Johan,

Thanks for your suggestions.

Yes, the board was working correctly when I received it, and the jumper configuration is correct.

I have also tested the LTDC_ColorKeying example from the firmware package, and it runs properly on the board, so display, LTDC, and power supply all seem to be working fine.

Given that, the issue appears only with the TouchGFX project.

Best regards,
Javier

JohanAstrup
ST Employee

Hello again.

I have investigated this a bit further. Since I do not have the correct hardware yet, I am unfortunately unable to verify the issue.

However, as far as I can see, the touch driver has been changed from FT5336 to GT911 on D04. Since the TBS available in TouchGFX Designer uses BSP code, there is a good chance that this could cause a hardfault. I do not know whether you have tried debugging the application to see what happens .. ?
You can quickly verify whether this resolves the issue by commenting out the contents of TouchGFX/target/STM32TouchController.cpp.

If this is indeed the issue, then there are two ways to fix this:

1. We previously had the exact same case with the STM32H735G-DK. This was fixed in version 3.0.22 of the TBS. You could look at TouchGFX/target/STM32TouchController.cpp in that project and try to replicate the behavior.

2. Update to the latest version of the BSP, which you can find in the firmware package.

Unfortunately, I cannot guarantee that the touch driver is the only issue until I get the new revision. Once we receive the new revision, we will update the relevant projects available in TouchGFX Designer.

Please let me know once you have had time to test it. Thank you!

Best regards,
Johan

Hello  JohanAstrup

my touch gfx project zip attatched here please find it and give me proper solution.

The board revision I am using is MB1370-lcd-b02 a254300030.

 

Thanks

Vijaya

I have i2c slave model work properly the default adress used by contoller given in schematich work on 84 aand 85 adress but the other peripheral adress not get give me the roadmap for the coding of communication protocols

I2C Slave Address detect. how can i code done for other peripherals using mfx expander give me solution

vijayajangam_0-1776491210208.png

vijayajangam_1-1776491394393.png

 

mƎALLEm
ST Employee

Hello,

It could be the something related to the external flash. So the assets are not uploaded to the external flash.

Check what CubeIDE is saying when uploading your application to the board.

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.