2025-08-08 4:29 AM - edited 2025-08-08 5:38 AM
Hi all,
I'm trying to create a new STM32CubeIDE project for the STM32N6570-DK board and use the BSP drivers. For now I'm just trying to do something simple like display camera output on the onboard LCD (or something simpler like displaying text on lcd). I’ve already added the driver files and their dependencies to my project. For the conf template files, I just renamed them without changing content.
To get the project to build without errors, I had to manually uncomment the following in stm32n6xx_hal_conf.h:
#define HAL_DMA2D_MODULE_ENABLED
#define HAL_LTDC_MODULE_ENABLED
Now, I’m following the initialization sequence from the STM32CubeN6-v1.2.0 example projects and calling the following in main.c:
BSP_LCD_Init(0, LCD_ORIENTATION_LANDSCAPE);
UTIL_LCD_SetFuncDriver(&LCD_Driver);
UTIL_LCD_SetFont(&UTIL_LCD_DEFAULT_FONT);
UTIL_LCD_SetBackColor(UTIL_LCD_COLOR_WHITE);
UTIL_LCD_Clear(UTIL_LCD_COLOR_WHITE);
These functions do not return errors, and I can step over them in debug mode, but the LCD shows nothing.
Is there something I'm missing in the configuration or initialization sequence?
Also, is there a step-by-step guide or official documentation on how to properly integrate the LCD and camera BSP drivers into a new project?
Any help or reference would be greatly appreciated.
Thanks!
2025-08-21 3:23 AM
Hello @Bjorn1 ,
Let me thank you for posting and welcome to the ST Community.
I suggest that you take a look at this use the LCD screen of the STM32N6570DK - STMicroelectronics Community
It highlights how to use the LCD with STM32N6570-DK.
Thanks.
Mahmoud
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.
2025-08-21 11:59 AM
Hi @Bjorn1 ,
Verify the LCD if it is properly connected to the board and that there is no hardware issue.
Check also the display resolution of the LCD:
Introduction to LCD-TFT display controller (LTDC) on STM32 MCUs - Application note.
2025-08-25 2:47 AM