cancel
Showing results for 
Search instead for 
Did you mean: 

LTDC pixel format 565 does not produce output without CLUT being enabled

yusuf1809
Associate

I am using STM32f756 Nucleo board. I have an rgb lcd interfaced via 18 bit (rgb666) connection with the mcu. I have previously used pixel format L8 with CLUT and successfully produced output on the display. Now, I have changed the pixel format to rgb565, changed the frame buffer to 16 bit and populated it with rgb565 values for each pixels. But there is no output on the display unless I enable the CLUT again. I understand that CLUT is only useful for 8bpp. I don't understand why in RGB565 pixel format, the display doesn't show anything without enabling CLUT.

My setup is as follows -

yusuf1809_0-1759222863287.png

yusuf1809_1-1759222887154.png

yusuf1809_2-1759222996347.png

The frame buffer is a 16 bit 240x320 array. The moment I comment out the 5 lines from the bottom, disabling the CLUT and the frame buffer is updated with rgb565 values, there is no output. When these lines are un-commented and the frame buffer is populated with 8 bit values, I can see the output on the display.

Any idea what might be causing this issue?

 

0 REPLIES 0