cancel
Showing results for 
Search instead for 
Did you mean: 

Touch GFX and custom LCD

total_and_STM32
Associate III

Hello all,

Trying to set up the custom display on the STM32H750B-DK dev board.

Interestingly, the display works via LTDC functions in Keil just fine... but I do not have much luck with the TouchGFX. For example, started with setting up the TBS in the Designer to avoid the complications of memory and other configurations (thanks to the ST support) and continuing in the CubeIDE where I have opened the .*.ioc file to update the MX configuration for the LTDC and TouchGFX... it compiles ok, I can opend the TouchGFX designer and "upload" the picture, for example, I can see the picture to be in the memory. See attached build memory analyzer.

However, when I run the application or debug, I cannot see the preview of the picture.

One of the ideas, as it is explained in the TouchGFX manual, namely Board bring up, would be to preview a simple framebuffer, not sure how easily that would be?

I am not sure how to tackle this problem, so any comments, ideas, or hints are more than welcome!

 

Best.

 

pic_in _memory.pnge memory 

1 REPLY 1
total_and_STM32
Associate III

Started with the "Board bring up" as given by the STM manuals, got stuck here https://support.touchgfx.com/docs/development/board-bring-up/how-to/03-display-internal

I am not sure why I cannot store a simple framebuffer in the available memory cells.

I have reduced the size of the framebuffer to save memory... for testing....

//creating the framebuffer
uint16_t framebuffer_1[1024*60]; //16 bpp framebuffer
//storing the framebuffer to a particular memory
uint16_t* framebuffer_1 = (uint16_t*)0x30000000; //16 bpp framebuffer memory location 

 

For example, I can see I have plenty of RAM, see the above picture about the available RAM...

 

In addition, when trying to debug, it goes rather well; however, I get the following "error."

debug_issue.png

 

Any ideas on how to tackle these issues and make progress would be more than welcome!

 

best.