cancel
Showing results for 
Search instead for 
Did you mean: 

gui with touchgfx and spi communication

hkane.1
Associate II

Hi, I am using an ili9488 LCD and I am connecting it to a stm32L4 microcontroller via spi. I am also using the Adafruit library for the LCD driver.

cubemx version 6.13

touchgfx version 4.24

In this case, I can display some text and color on the LCD with adafruit library and it works fine. But when I try to run the graphics via touchgfx, everything breaks. I only have white screen on the lcd (backlight). That is, adding gfx breaks everything.  to make sure that the functions that we need to put in gfx for the driver work correctly, such as selecting a window correctly and sending information to the lcd, I used the Adafruit library to create the image on the lcd, and also used gfx to create the colored box. But what happened was: it became completely white again (just having backlight )and there was no change. But when I entered debug mode and executed the codes step by step, the Adafruit codes executed correctly and the corresponding image was displayed on the screen, but still the GFX operation did not work also touch and lcd set on same bus hspi2  and  touch also works fine. I'm using below libraries to connect driver and gfx to each other   Has anyone had any experience with this?

0 REPLIES 0