Kl16 watchdog maximum timeout

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Kl16 watchdog maximum timeout

524 次查看
praveen2
Contributor I

Hi,

Iam facing an issue with KL16 watchdog. Below code is working fine form me.

Clock selected = LPO and its giving 1 second timeout.

But Iam looking at least 1 minute to 2 minute timeout for my application.

void wdt_init(void)
{
    SIM->COPC = 0x0C;

}

void wdt_keep_alive(void)
{
    SIM->SRVCOP = 0x55;
    SIM->SRVCOP = 0xAA;
}

is there any way to increase this timeout. ?

0 项奖励
4 回复数

442 次查看
mjbcswitzerland
Specialist V

Hi

The longest possible COP timeout is 1s using LPO as clock source.

Regards

Mark

0 项奖励

442 次查看
praveen2
Contributor I

Hi,

Thanks for your replay.

But any possibility there, using Bus clock.

With regards,

Praveen

0 项奖励

442 次查看
mjbcswitzerland
Specialist V

Hi

If you use bus clock the maximum timeout is in the ms regions so this mode is usually not very useful.

Regards

Mark

0 项奖励

442 次查看
praveen2
Contributor I

Hi,

Thanks for the replay.

With regards,

Praveen

0 项奖励