[KW45]How to use peripherals WDOG1?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[KW45]How to use peripherals WDOG1?

Jump to solution
349 Views
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 Kudos
Reply
1 Solution
310 Views
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.

View solution in original post

2 Replies
311 Views
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.

262 Views
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 Kudos
Reply