2020-05-09 08:33 PM
Hi there
I have been experimenting and creating simple TouchGFX GUI applications on STM32 touch screen dev kit.
Is there a simple start guide to creating as simple touchGFX GUI and controlling an LED on the STM32F429i Disco board? I tried some online examples/Youtube but they never seem to work properly.
TouchGFX websites contains good tutorials but they don't include HAL integration and control (as far as I have seen)
To keep it simple, I use ST32CubeMX, TouchGFX designer, and ST_link Utility to flash the board.
Any simple code would be a great help
Thanks
2020-08-17 05:39 AM
Hello,
What's your current status ?
/Alexandre
2020-09-04 05:40 PM
Hi Alexandre
I gave up on the development to be honest, it wasn't as straight through process as I hoped it would be.
I loved the GFX interface, but the library and the examples were too vague to integrate the TouchGFX to the actual STM32 board. Unless you have a direct example I can follow to get a bearing on that process? I use the STM32F4 at work , so I am familiar with the IC
Regards
2020-09-04 05:41 PM
Follow up:
A simple example of a touch application that would turn on a LED would be perfect.
2020-09-04 08:31 PM
Totally agree.... I have spend 3 day looking for a simple but complete example, with no result. An it is very important to undersand how CubeMX could be integrated. The folder structure created by TouchGFX is completly different comparing with CubeMX and there is now way to integrate the three tools (TouchGFX, CubeMX and CubeIDE) CubeMX is very important if we need to use other perifericals in the same board (unless you do it by hand, witch means a lot of time an efford) Thanks for you help!!!!
2020-09-04 09:54 PM
hi i've same problem with u im beginner when first time using c# gui. but ithink u can keep learn on https://create.arduino.cc/projecthub/haoming-weng/c-arduino-gui-to-control-the-led-0877f8. how to configure c# gui to hardwere include STM32.....
2020-09-04 09:57 PM
I think u may try just STM32CUBEIDE ,because its include stm32cubemx inside.hopefully your pc can run easily.
2020-09-05 12:51 AM
LED is simple you can implement it as action on buttons on screen directly or as if gpio button in model tick example
if ((HAL_GPIO_ReadPin(SW3_GPIO_Port, SW3_Pin) == GPIO_PIN_RESET && filter == false && timeout1.t == 0) )
{
filter = true; //block hold gpio key down repeat
static_cast<FrontendApplication*>(Application::getInstance())->handleKeyEvent(73); // call to action asigned to symbolic keyboard keycode event KEY 73
// gpio led directly here ...
}
Project create steps:
2020-09-05 05:48 PM
Thanks but I need a bit more detail, as I have tried that approach and I have apps running on the STM32 but no interaction between the HAL layer and app works.
2020-09-05 09:59 PM
Hello regarding the Project creation, here are my comments:
Project create steps:
Thanks for you help, appreciated!!!!!