Skip to main content
IDim.1
Associate
November 27, 2021
Question

stm32f746 disco +touchgfx+ custom 800x480 LCD

  • November 27, 2021
  • 5 replies
  • 2414 views

Hi,

I am trying to integrate an 24-BIT parallel LCD RVT50HQTNWN00 with stm32f746disco board.

Code was initially exported from touchgfx designer 4.18.0. for the disco board and then edited in cubemx. original 480x272 was removed and the new lcd was soldered.

Parameters edited:

  • LTDC sychronization parameters exported from lcd datasheet.
  • LCD clock frequency.
  • gfx second framebuffer address set to 0xC00BB800 (16x800x480/8)

The rest are the default for disco board. (FMC 16bit, DMA2D ARGB8888)

I think i am missing something basic because the display output is wrong and not stable, but it is clear that color at colums are seperated somehow based on the input image. https://www.youtube.com/watch?v=gdUrviNSBj0

I also tried to write manually color at framebuffer address before touchgfx init, but no matter what color i write the result is always black (stable until touchgfx inits).

Do you have any idea what is wrong here??

Thank you.

0693W00000GZ991QAD.png0693W00000GZ98rQAD.png0693W00000GZ98mQAD.png0693W00000GZ98cQAD.png

This topic has been closed for replies.

5 replies

MM..1
Super User
November 27, 2021

Is your code run or hardfault? Check in debug.

How LCD clk?

Start with single buffer.

IDim.1
IDim.1Author
Associate
November 27, 2021

Code is running OK. i have one thread turning a led on/off.

LCD clock is set to 26 MHZ.

Using single buffer i cannot see a different result, just a few more top lines colored.

0693W00000GZ9JQQA1.png

Tesla DeLorean
Guru
November 27, 2021

I'm confused are you driving this as a 16-bit panel or a 24-bit panel?

I'd probably make it work from the HAL examples, and then migrate to TouchGFX

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
MM..1
Super User
November 28, 2021

Try check HSYNC VSYNC DE connection and polarity

IDim.1
IDim.1Author
Associate
December 23, 2021

OK i found that i was giving lcd wrong power ON sequence.

it works now.