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!