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-20 11:10 AM
screenSetup is an empty function. Is that right?
void Screen1ViewBase::setupScreen()
{
}
2020-01-20 11:13 AM
my screen is BLANK. That is, it's all white.
2020-01-20 11:28 AM
Martin KJELDSEN (ST Employee) - It might be easier if you could create a working "Hello world" project and stuff it here. Sounds like it'd only take you a few minutes. Would that be possible? using CubeIDE 1.2.1, TouchGFX 4.13.0 (see my comment on CubeIDE 1.2.1)
regards,
John
2020-01-20 11:39 AM
Or better yet, http://ge.tt/4W1PCo03
This is a clean project built with the cubeide 1.2.1 and touchgfx 4.13 for the 429-DISC1 dev board
Only the call to the graphics processing loop has been added to the default task.
2020-01-20 11:49 AM
It would be really helpful :)
2020-01-21 04:10 AM
Sure, just write some random code in there to be able to put a break point there.
2020-01-21 03:04 PM
Same problem here , STM32CUBEIDE v1.2.1 , TouchGFX v4.13 , using CubeMX v5.5 , i have LTDC global interrupt enabled and IRQ enabled in the Code generation part of the NVIC , i've configured the IOC file the same as in the guide , added MX_TouchGFX_Process to the default task , and still getting a white screen.
2020-01-21 03:05 PM
i've tried building this , it builds with no errors , but it gives a white screen when i upload it to my board.
2020-01-21 03:23 PM
@Martin KJELDSEN Do you have any examples with working CubeMX and TouchGFX project? It would help us a lot to determine where is the problem. Most of us are using STM32F429ZI-DISC1 board.
2020-01-21 03:30 PM
Did you do any debugging? Is the application running? Are you receiving your interrupts (these are what drive the touchgfx rendering cycle - No interrupt = no pixels)