cancel
Showing results for 
Search instead for 
Did you mean: 

Frame Buffer Pixel Format - RGB565 to GRAY4. (ILI9341 SPI Display)

Vins
Senior

I have integrated ILI9341 SPI display to Touch GFX. Frame Buffer Pixel Format is - RGB565 and getting the output. But when I change Frame Buffer Pixel Format from RGB565 to GRAY4 not getting the output.

(Actually ILI9341 Supports RGB565). Is this possible to print GRAY4 images on RGB565 ILI9341 display?

Frame Buffer Pixel Format : RGB565

0693W00000UFQFCQA5.png Frame Buffer Pixel Format : GRAY4

0693W00000UFQGPQA5.png

7 REPLIES 7
Yoann KLEIN
ST Employee

Hello @Vins​ ,

What does "not getting the output" mean for you ?

Do you have corrupted frames or the project is simply not compiling ?

Thanks,

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX

@Yoann KLEIN​ Project is compiling but not showing any images from the Touch GFX on ILI9341 display.

What happens when you run on target ?

Can you share screenshots or picture of your display?

Yoann KLEIN
ST Software Developer | TouchGFX

@Yoann KLEIN​ 

It shows only 3 vertical lines.0693W00000UFR2EQAX.jpg

And which MCU are you using ?

Yoann KLEIN
ST Software Developer | TouchGFX

@Yoann KLEIN​ 

  1. STM32F769I.
  2. Touch GFX Version -4.20.0
  3. CubeMX-6.6.1.
  4. CubeIDE-1.10.1.

MM..1
Chief III

TouchGFX dont mangle framebuffer format to other format for hw LCD. You need rewrite your custom code for partial buffer sending .