Skip to main content
SProg
Associate III
January 18, 2020
Solved

TouchGFX working together with CANopen (CIA417) protocol stack

  • January 18, 2020
  • 3 replies
  • 1527 views

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.
Best answer by Martin KJELDSEN

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
January 20, 2020

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
January 20, 2020

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
January 20, 2020

Perfect!

Thank you Martin.