RT1064 RTWDOG

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

RT1064 RTWDOG

1,005 Views
mjoh
Contributor III

Hello.

RT1064 RTWDOG, register CS, bit UPDATE has reset value of 0. How do I then disable it?

I've tried what's in the Reference Manual:

DisableInterrupts; // disable global interrupt
WDOG_CNT = 0xD928C520; //unlock watchdog
WDOG_CS &= ~WDOG_CS_EN_MASK; //disable watchdog
EnableInterrupts; //enable global interrupt

Which seems to set EN to 0 but it does continue counting.

I also tried this:

DisableInterrupts; // disable global interrupt
WDOG_CNT = 0xD928C520; //unlock watchdog
while(WDOG_CS[ULK]==0); //wait until registers are unlocked

But ULK never seem to become 1.

Labels (1)
0 Kudos
1 Reply

869 Views
jeremyzhou
NXP Employee
NXP Employee

Hi

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To provide the fastest possible support, I'd highly recommend you to refer to the rtwdog demo in the SDK library (~\SDK_2.5.0_EVK-MIMXRT1064\boards\evkmimxrt1064\driver_examples\rtwdog), in the demo, it shows to the developer how to reconfigure Watchdog.

Welcome | MCUXpresso SDK Builder 

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos