Timegap between Reset and WDT interrupt trigered time

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Timegap between Reset and WDT interrupt trigered time

946件の閲覧回数
udaylearns
Contributor I

Hi, Am unable to execute my complete WDT ISR in K20D kinetis microcontroller , System is getting reset before few instructions in WDT interrupt are executed, how to increase this limitation

ラベル(2)
0 件の賞賛
5 返答(返信)

785件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

Customer can add WDOG time-out value during the system initialization phase.

The WDOG register modification should within WCT (watchdog configuration time).


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

785件の閲覧回数
udaylearns
Contributor I

Do you mean to say that maximum amount of time in Watch dog ISR is WCT , which is 128 clock cycles?

0 件の賞賛

785件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

No. The WCT just watchdog configuration time. You could modify the WDOG timeout register value in code start up phase.

Then you could get enough time to execute the WDOG interrupt handle routine when WDOG interrupt happens.


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

785件の閲覧回数
udaylearns
Contributor I

Hi Ma Hui .

I have increased the watch dog timeout value, but i didn't find my complete Watch dog ISR executing.

Can you mention the registers to be modified?

0 件の賞賛

785件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

1> Customer could modify below registers about watchdog time-out value:

Watchdog Time-out Value Register High (WDOG_TOVALH)  &

Watchdog Time-out Value Register Low (WDOG_TOVALL)

2> Customer also could feed the watchdog in watchdog interrupt service routine at very beginning.

3> Customer also could modify the watchdog clock source from bus clock to LPO clock to extend the watchdog time-out time.


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛