RT1062 SNVS_HP_RTC_StartTimer() call does not return

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

RT1062 SNVS_HP_RTC_StartTimer() call does not return

1,778 次查看
Steve23
Contributor II

Hi,

We have an issue which seems very similar to https://community.nxp.com/t5/MCUXpresso-SDK/rt1050-RTC-cannot-start/td-p/1313153 where on startup the call to SNVS_HP_RTC_StartTimer() does not return because the attempt to set the RTC_EN bit in the SNVS HPCR does not succeed (the bit remains 0, so the loop in the function never terminates).

We have checked that our 32kHz crystal is running OK and checked that the VDD_SNVS_IN supply is OK.

However, this only occurs when we are running in debug mode connected via a Segger j-link debugger. When running the code without the debugger everything is fine.

Thanks for any help you can give with this.

0 项奖励
回复
3 回复数

1,491 次查看
cervenka
Contributor III

I have this issue with VSCode and gnu-debugger

0 项奖励
回复

1,740 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @Steve23 ,

I tested by MCUXpresso and jlink. It works fine, never pending by this bit. What IDE do you use?

 

Regards,

Jing

0 项奖励
回复

1,732 次查看
Steve23
Contributor II

Hi @jing,

Thanks for your response, we are also using MCUXpresso with a j-link.

However, we have been doing further investigations on this and have discovered that the issue seems to only occur when running an older version of the MCUXpresso. The version where this problem occurs for us is 11.3.1 but it does not occur on 11.5.0 or the latest 11.6.0.

So we have updated the IDE and it seems to have resolved the problem.

 

 

0 项奖励
回复