Skip to main content
Louie88
Senior
March 1, 2026
Question

TouchGFX project: FreeRTOS or ThreadX available, but not AzureRTOS ?

  • March 1, 2026
  • 4 replies
  • 261 views

Hello,

I successfully improved the TouchGFX based Clock Example demo app to use RTC chip (and LSE crystal clock) of the N6570 MCU. Because the STM32N6570-DK board does not provide backup battery the RTC loses the current date/time during every power off. One solution would be to sync the RTC chip with an SNTP server via Internet. I successfully solved this with STM32H7474I-DISCO board with LwIP and SNTP client, but the STM32N6570-DK board does not support LwIP.

I found an example for the STM32N6570-NUCLEO-144 board which is probably similar (or close) to STM32N6570-DK board. The problem is that the found Nx_SNTP_Client application uses NetXDuo and AzureRTOS while my project runs under FreeRTOS op system.

How can I solve this? When create a new TouchGFX project I can choose between FreeRTOS or ThreadX op systems only. I can't use AzoreRTOS...

Can anybody help?

Thanks,

Louis

 

4 replies

Louie88
Louie88Author
Senior
March 2, 2026

Dear mƎALLEm,

Thank you for changing/fixing the title of my post. Maybe it was complicated or it was a bit foggy...

All what I need is to connect to an SNTP server and sync the RTC from a TouchGFX application running on STM32N6570-DK discovery board.

Thanks,

Louis

 

 

Andrew Neil
Super User
March 2, 2026

@Louie88 wrote:

I can choose between FreeRTOS or ThreadX op systems only. I can't use AzoreRTOS...


ThreadX is AzureRTOS !

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Louie88
Louie88Author
Senior
March 3, 2026

Thanks Andrew!

I did not know that!

So, if I create a new TouchGFX project under ThreadX (Not under FreeRTOS) then I probably will be able to enable NetXDuo and SNTP client. The only problem is that Nx_SNTP_Client example for the STM32N6570-NUCLEO-144 board does not have Nx_SNTP_Client*.ioc file so I have no idea how to setup the SNTP Client in STM32CubeMX..

Thanks for your help!

Louis

Osman SOYKURT
Technical Moderator
March 26, 2026

Hello @Louie88 ,

We have a TBS with STM32N6570-DK running ThreadX if you need that to help you to start prototyping :)

Osman SOYKURTST Software Developer | TouchGFX