2025-03-27 12:44 AM
Is it possible to make the 4 inch LCD with ST7796S driver IC for raspberry pi work with STM32F756ZG using STMCubeIDE ?
If yes with what kind of code ?
2025-03-27 1:09 AM
Welcome to the forum.
To get started, please see: How to write your question to maximize your chances to find a solution.
@Rio wrote:the 4 inch LCD with ST7796S driver IC for raspberry pi
What display?
If you're talking about some product, please give a link
The ST7796S driver chip is not dedicated to any one host microcontroller/processor - it can be used by any host with a suitable interface:
Use your favourite internet search engine to search for "ST7796S STM32"; eg,
https://www.google.com/search?q=ST7796S+STM32
2025-03-27 6:56 PM
Hi, this is the link for the LCD with ST7796S driver IC which I'm using right now.
MHS-4.0inch Display-B - LCD wiki
I was trying to connect STM32F756ZG with this LCD via SPI by following these two guides but somehow it is not working.
Step-by-step Guide: How to use the LVGL v9 LCD drivers with STM32 devices — LVGL documentation
2025-03-28 1:25 AM
@Rio wrote:this is the link for the LCD with ST7796S driver IC which I'm using right now.
MHS-4.0inch Display-B - LCD wiki
Thanks
@Rio wrote:somehow it is not working.
"not working" gives us nothing to go on - you need to give more info.
Again, please see: How to write your question to maximize your chances to find a solution.
2025-04-06 7:14 PM - edited 2025-04-06 9:29 PM
I've configured all the settings like pins, clock and SPI through STM32CubeIDE according to this guide Step-by-step Guide: How to use the LVGL v9 LCD drivers with STM32 devices — LVGL documentation.
After I set everything, I generated the code (main.c), added some code written inside the guide to the main.c, cloning the LVGL repository in the project tree by github to let the ST7796S driver LCD display communicate with NUCLEO-F756ZG that contains STM32F756ZG and show some words in the display like "Hello World!".
However even though the code runs without any error the display shows nothing but the backlight.