Skip to main content
SProg
Associate III
Jan 18, 2020 6:00 PM UTC
Solved

TouchGFX working together with CANopen (CIA417) protocol stack

Hello,

We made a custom board based on STM32F746NG to drive a 5' TFT, using the TouchGFX library.

Next step is to import a CANopen protocol stack (bought from 3rd party company) for Lift application. In general stack is running using one timer.

Since TouchGFX by default running with FreeRTOS, is there a guide or directions on how to switch to bare-metal configuration?

This topic has been closed for replies.
Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
Jan 20, 2020 9:58 AM UTC

Hi,

Yes, there is. For TouchGFX Generator through CubeMX (5.5.0) you can simply select "No OS" now and you'll get an OS driver that doesn't use FreeRTOS. This is our freedom now that we're an X-CUBE (before Freertos was a requirement for TouchGFX through CubeMX).

Try reading this article. Concretely, the section "Driver: Real-Time Operating System"

https://touchgfx.zendesk.com/hc/en-us/articles/360010921760-TouchGFX-HAL-Development

If you don't want to use CubeMX you can still generate the driver and use it in a non-CubeMX project. Or you can read the following document i've attached here.

/Martin

3 replies

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
Jan 20, 2020 9:58 AM UTC

Hi,

Yes, there is. For TouchGFX Generator through CubeMX (5.5.0) you can simply select "No OS" now and you'll get an OS driver that doesn't use FreeRTOS. This is our freedom now that we're an X-CUBE (before Freertos was a requirement for TouchGFX through CubeMX).

Try reading this article. Concretely, the section "Driver: Real-Time Operating System"

https://touchgfx.zendesk.com/hc/en-us/articles/360010921760-TouchGFX-HAL-Development

If you don't want to use CubeMX you can still generate the driver and use it in a non-CubeMX project. Or you can read the following document i've attached here.

/Martin

Martin KJELDSEN
Principal III
Jan 20, 2020 10:00 AM UTC

And then absorb the following on how to integrate backend with UI application:

https://community.st.com/s/question/0D50X0000AU4zodSQB/interfacing-with-hardware-in-touchgfx-applications

SProg
SProgAuthor
Associate III
Jan 20, 2020 10:57 AM UTC

Perfect!

Thank you Martin.