IWDT S7G2 + iar + SSP1.5.2

Hello,

I need your help.

I used thread monitor with WDT : working fine.

Now i wanted to move to IWDT : BIG ISSUE there is no reset, it seems that the timer doesn't work.

 

--------------------------------------------------------------------------------------

With WDT 

R_DBG->DBGSTOPCR_b.DSWDT = 0;
g_wdt0.p_api->open(g_wdt0.p_ctrl,g_wdt0.p_cfg);
while(1);

The mcu reset -> working

--------------------------------------------------------------------------------------

With IWDT 

R_DBG->DBGSTOPCR_b.DSIWDT = 0;
g_wdt1.p_api->open(g_wdt1.p_ctrl,g_wdt1.p_cfg);
while(1);

The mcu DOES NOT reset-> PLEASE HELP

--------------------------------------------------------------------------------------

I tried for a day without success

 

Thanks for your help