sntp synchronization for MXRT1170-EVK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

sntp synchronization for MXRT1170-EVK

2,303 次查看
Prerana_Diwani
Contributor I

Is there any example available for SNTP time synchronization with RTC in MXRT1170 SDK? I have already tried with LWIP sntp :SNTP_Init() but this will got stuck into sntp_get_current_timestamp() function. 

0 项奖励
回复
5 回复数

2,294 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Prerana_Diwani ,

  Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.

  Please tell me which SDK version and demo you are testing now, please tell me your used SDK demo path, then I can help you to check the details.

  For the synchronization with RTC, maybe the demo didn't add it, but if you need it, you can add the RTC code by yourself to sync it.

 

Wish it helps you!

Best Regards,

Kerry

0 项奖励
回复

2,291 次查看
Prerana_Diwani
Contributor I
SDK Version : SDK_2_14_0_MIMXRT1170-EVK
Example path : <SDK path>\boards\evkmimxrt1170\lwip_examples\lwip_dhcp\freertos\cm7
Add-on components in example : lwIP_SNTP
add SNTP in above mentioned example, but to get NTP server IP resolved by DNS yet.
0 项奖励
回复

2,243 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Prerana_Diwani ,

  Please also share me your issue project, I will help you to check it on my side with your project.

  Please also tell me your used IDE, eg, MCUXPresso IDE.

Best Regards,

Kerry

0 项奖励
回复

2,230 次查看
Prerana_Diwani
Contributor I

IDE version : MCUXpressoIDE_11.7.1

Device SDK version : MIMXRT1170-EVK 2.13.1

Example code : lwip_dhcp_freertos_cm7

Here, I have attached the main file for your reference. 

0 项奖励
回复

2,171 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Prerana_Diwani ,

   Thanks so much for your information.

  I find your SDK is old, please try the newest SDK2.14.0 and the MCUXpresso 11.8.0, whether that have improvement or not?

  If still have issues, please kindly let me know.

Best Regards,

Kerry

0 项奖励
回复