cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX working together with CANopen (CIA417) protocol stack

SProg
Associate III

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Martin KJELDSEN
Chief III

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

View solution in original post

3 REPLIES 3
Martin KJELDSEN
Chief III

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
Chief III

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
Associate III

Perfect!

Thank you Martin.