[KW45]How to use peripherals WDOG1?

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

[KW45]How to use peripherals WDOG1?

跳至解决方案
431 次查看
ppx
Contributor II

I see in the KW45 Reference Manual:

 

This device has two instances of the WDOG module, WDOG0 and WDOG1.

On reset, the WDOG0 is enabled and the WDOG1 is disable by default.

 

I can initialize normally and use WDOG0, but when I try to use WDOG1 it looks like this:捕获.PNG

I tried to enable WDOG1 before using it like this:捕获.PNG

Hope for a reply.

0 项奖励
回复
1 解答
392 次查看
nxf77486
NXP TechSupport
NXP TechSupport

Hello,

 

Thank you for contacting NXP support.

I understand your concern, but can you please also share the configuration registers you are using for the WDOG1. With the usage of the Register window in the MCUXpresso is also important to double check if the CC (Clock configuration register is enable for the WDOG1).

Please help me providing this information in order to find a solution to your case.

在原帖中查看解决方案

2 回复数
393 次查看
nxf77486
NXP TechSupport
NXP TechSupport

Hello,

 

Thank you for contacting NXP support.

I understand your concern, but can you please also share the configuration registers you are using for the WDOG1. With the usage of the Register window in the MCUXpresso is also important to double check if the CC (Clock configuration register is enable for the WDOG1).

Please help me providing this information in order to find a solution to your case.

344 次查看
ppx
Contributor II

Thank you for your reply, which perfectly solved my problem.

After I enabled the clock before initialization, it worked fine !

 

CLOCK_EnableClock(kCLOCK_Wdog1);

0 项奖励
回复