x-nucleo-gfx02z1 and nucleo-f767zi and usage of X-CUBE-DISPLAY
Hi,
I am trying to configure the X-NUCLEO-GFX02Z1 display expansion board with the NUCLEO-F767ZI board. The LCD controller used is ST7789, and the interface is configured via FMC.
During BSP initialization (BSP_LCD_Init), I am encountering an error:
- Return status: BSP_ERROR_COMPONENT_FAILURE
- The LCD ID read is not as expected (expected value: 0x858552U as per the BSP driver)
However, if I bypass this failure and proceed:
- I am able to set the orientation using BSP_LCD_SetOrientation
- I can retrieve the orientation using BSP_LCD_GetOrientation successfully
When attempting to draw on the display using:
BSP_LCD_FillRGBRect(0, 0, (uint8_t*)buffer, 0, 0, 100, 100);
there is no visible output on the screen.
Could you please help identify:
- Possible reasons for incorrect LCD ID reading?
- A minimal working example to display a solid color on the screen using this setup?
Any guidance on debugging steps or known issues with this board combination would be greatly appreciated. I am already following official documentation from ST and the X-CUBE-DISPLAY software pack to setup the display and controller.
Thanks in advance!
