K32L2B21: Watchdog timer example

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

K32L2B21: Watchdog timer example

3,138件の閲覧回数
nre
Contributor II

Hi,
I tried to use the example code from the SDK for testing the watchdog timer.
The terminal is active so I can see that "COP example start!" and "COP refresh %d time" prints are visualized, then the code enters infinite loop at the end of the example, but the expected microcontroller reset never occurs!
I am using CPU_K32L2B31VLH0A directive and my evolution board is FRDM-K32L2B3

What could be the reason that WDT never resets?


My default example config is:
* configCop.enableWindowMode = false;
* configCop.timeoutMode = kCOP_LongTimeoutMode;
* configCop.enableStop = false;
* configCop.enableDebug = false;
* configCop.clockSource = kCOP_LpoClock;
* configCop.timeoutCycles = kCOP_2Power10CyclesOr2Power18Cycles;
but i also tried with configCop.timeoutCycles = kCOP_2Power5CyclesOr2Power13Cycles; also without successful WDT resets.

My Defined symbols are:
DEBUG (tried also without this define)
CPU_K32L2B31VLH0A
DISABLE_WDOG=0
FRDM_K32L2B
FREEDOM

0 件の賞賛
返信
3 返答(返信)

3,125件の閲覧回数
FelipeGarcia
NXP Employee
NXP Employee

Hi,

So you mean you tried the example with no modifications and it does not work, correct?

Could you please let me know what is the SDK version you are using?

Best regards,

Felipe

0 件の賞賛
返信

3,109件の閲覧回数
nre
Contributor II

Sure, I'm using SDK_2.9.0_K32L2B21xxxxA

0 件の賞賛
返信

3,099件の閲覧回数
FelipeGarcia
NXP Employee
NXP Employee

Hi,

I used MCUXpresso SDK 2.10.0 for same board as you (FRDM-K32L2B3) and the cop example worked correctly, please check snippet below.

FelipeGarcia_1-1630604852286.png

Best regards,

Felipe

0 件の賞賛
返信