2020-01-12 08:56 AM
Hi all,
I am trying to configure my stm32f429i-disc1 with the lates CubeMX 5.5 and TouchGfx 4.13. I have followed the instructions from here: https://touchgfx.zendesk.com/hc/en-us/articles/360010921760-TouchGFX-HAL-Development, but my display is still all white (there should be red background with simple 'hello world' string on it).
The project compiles and there is also 1s_cnt which increments properly. I've tried to debug the project and noticed that program enters inside functions:
on startup but only once.
Both the board and the cable are ok, because I can flash MCU with other project and then screen works fine.
Have you got any ideas what I am doing wrong?
Solved! Go to Solution.
2020-01-18 03:01 AM
@Martin KJELDSEN Hey guys from ST/TouchGFX, can you check this issue and update a document I mentioned in my first comment? It looks like many people have the same problem.
2020-01-19 04:57 AM
@Martin KJELDSEN Martin, I have the LTDC global interrupt enable for LTDC in Generate IRQ handler and Call HAL handler. The interrupt is getting called in TouchGFXGeneratedHAL at line 25 and 505 (my display is 800x480 and Accumulated Active Height is 506). That was with FreeRTOS. I also tried with no OS and I get the same results except my display is green.
2020-01-20 01:06 AM
Which problem is that? Black screen?
2020-01-20 01:07 AM
Hi,
Are you getting your setupScreen() method called in your view? If the application isn't ticked properly, then nothing will be rendered.
/Martin
2020-01-20 01:10 AM
It's okay the setupscreen of a view is entered only once, that's the whole idea.
What is your display interface? LTDC? Check the CFBAR register to see what the LTDC thinks is the current framebuffer address.
Does your memory hold what you think? Try having a red box or something similar and check that the content of the framebuffer is correct.
/Martin
2020-01-20 01:13 AM
Okay, green and what did you expect the screen to be? Green is not random data, so it may be a display configuration issue. Check the framebuffer memory to see if the contents are what you expect - If it is, then the display may be configured incorrectly.
2020-01-20 01:13 AM
That's your issue. No interrupt, no rendering.
/Martin
2020-01-20 01:16 AM
I'm only seeing CubeIDE 1.2.0 on the ST download site. Are you sure you're using 1.2.1 ?
2020-01-20 04:39 AM
Yes, I have a black screen when using FreeRTOS and a green screen when I use No OS.
2020-01-20 10:57 AM
from about : Version: 1.2.1
Build: 5190_20200115_1224 (UTC)