2026-03-01 11:16 AM - last edited on 2026-03-02 8:19 AM by Andrew Neil
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
2026-03-02 8:14 AM
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
2026-03-02 8:21 AM
@Louie88 wrote:I can choose between FreeRTOS or ThreadX op systems only. I can't use AzoreRTOS...
2026-03-03 3:09 AM
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
2026-03-26 7:59 AM
Hello @Louie88 ,
We have a TBS with STM32N6570-DK running ThreadX if you need that to help you to start prototyping :)