cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX not running on STM32H563 with SPI LCD interface and FreeRTOS

PFlor.2
Senior

I’m not sure why TouchGFX doesn’t seem to be running in a new H563 project when I’ve done this on the H743 on a previous project.  The last project did use LTDC instead of SPI for the display interface so maybe that has something to do with it.  I have confirmed the SPI drivers for the LCD by painting an entire screen from a buffer of color pixels.

Right now I just have a single simple screen created in TouchGFX with internal memory set for assets.

PFlor2_0-1732574243284.png

PFlor2_1-1732574274237.png

I setup the ToughGfxTask as described in the TouchGFX documentation for FreeRTOS…

Real Time Operating System | TouchGFX Documentation

PFlor2_2-1732574309529.png

PFlor2_3-1732574337286.png

I then setup the SPI display interface to TouchGFX as described in documentation…

FMC and SPI Display Interface | TouchGFX Documentation

PFlor2_4-1732574377456.png

PFlor2_5-1732574410949.png

Where can I set a breakpoint to see if the TouchGFXTask is running?  I never reach a breakpoint in this flushFrameBuffer().

I see the TouchGFXTask startup function TouchGFX_Task() does execute…

PFlor2_6-1732574453519.png

Since I’m using the internal flash for TouchGFX there’s nothing need in the linker script STM32H563RGTX_FLASH.ld yet right?  My understanding is I just need to map external flash once I have that setup, just using internal to get things running initially before getting the QuadSPI for the external flash implemented.

 

 

 

 

0 REPLIES 0