Skip to main content
DRamb.1
Associate II
April 17, 2023
Solved

STM32H747I-DISCO BSP Example 1.11.0 doesn't display on LCD screen

  • April 17, 2023
  • 5 replies
  • 2879 views

So downloaded code from ST website (i.e. https://www.st.com/en/embedded-software/stm32cubeh7.html - version 1.11.0) then built the CM4 and then the CM7 project for the BSP example.

This builds ok, but when I load onto the board the LCD display just displays random pixels. Any ideas ? Thanks.

This topic has been closed for replies.
Best answer by KDJEM.1

Hello @DRamb.1​ ,

The fix is available on GitHub :

https://github.com/STMicroelectronics/STM32CubeH7/commit/1c84713102f8509deb79ae14db8dbb104c17c45e#diff-8a5b12f7040dfb560c495dc0a1213725ba939bf19d531dd1e97067b6a1a79ec0

In fact , LCD DSI MB1166-A9 delivered with latest version of STM32H747I-DISCO/ boards come based on LCD FGRIDA FRD400B25025-A-CTK instead of FRD397B25009-D-CTK.

Now the firmware is updated , you just need to enable the right hardware component as defined in stm32h747i_discovery_conf.h file and add the new component library (NT35510) in your project .

/* IMPORTANT: One of the following flags must be enabled in stm32h747i_discovery_conf.h file */

/* options in order to select the target daughter board revision connected on STM32H747I DISCOVERY : !!!!!!!!!! */

/* USE_LCD_CTRL_OTM8009A */ /* Applicable for all LCD daughter boards (MB1166) except for Rev -A09 */

/* USE_LCD_CTRL_NT35510 */ /* Applicable only for LCD daughter boards (MB1166) Rev -A09 */

Note that LCD MB1166-A03 A225302336 is also with the LCD FGRIDA FRD400B25025-A-CTK , so you can use this fix.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Kaouthar

5 replies

KDJEM.1
ST Technical Moderator
April 18, 2023

Hello @DRamb.1​ ,

Thank you for reporting the issue.

Which MB1166 Rev.A revision are you Using? A01, A03...?

You can find the MB1166 revision as shown in the below figure.

0693W00000aJ2KBQA0.png 

Thank you,

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
DRamb.1
DRamb.1Author
Associate II
April 18, 2023

The MB1166 is revision A03

KDJEM.1
ST Technical Moderator
April 18, 2023

Hi @DRamb.1​ ,

This issue is already reported in this post.

I confirm the issue on my side, it has been reported.

Sorry for this inconvenience.

Internal ticket number: 147459 (This is an internal tracking number and is not accessible or usable by customers).

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
DRamb.1
DRamb.1Author
Associate II
April 18, 2023

Hi,

Ok looking through that post it says that "this" fixes it:

.GUI_NUMBYTES_section (NOLOAD) : { *(.GUI_NUMBYTES_section) } >SDRAM

But where is this ? I can't find the string GUI_NUMBYTES anywhere in the repository.

Can you give some clear, simple instructions to indicate which file/s I need to edit in the BSP example project ?

Thanks.

KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
June 2, 2023

Hello @DRamb.1​ ,

The fix is available on GitHub :

https://github.com/STMicroelectronics/STM32CubeH7/commit/1c84713102f8509deb79ae14db8dbb104c17c45e#diff-8a5b12f7040dfb560c495dc0a1213725ba939bf19d531dd1e97067b6a1a79ec0

In fact , LCD DSI MB1166-A9 delivered with latest version of STM32H747I-DISCO/ boards come based on LCD FGRIDA FRD400B25025-A-CTK instead of FRD397B25009-D-CTK.

Now the firmware is updated , you just need to enable the right hardware component as defined in stm32h747i_discovery_conf.h file and add the new component library (NT35510) in your project .

/* IMPORTANT: One of the following flags must be enabled in stm32h747i_discovery_conf.h file */

/* options in order to select the target daughter board revision connected on STM32H747I DISCOVERY : !!!!!!!!!! */

/* USE_LCD_CTRL_OTM8009A */ /* Applicable for all LCD daughter boards (MB1166) except for Rev -A09 */

/* USE_LCD_CTRL_NT35510 */ /* Applicable only for LCD daughter boards (MB1166) Rev -A09 */

Note that LCD MB1166-A03 A225302336 is also with the LCD FGRIDA FRD400B25025-A-CTK , so you can use this fix.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.