Kl16 watchdog maximum timeout

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

Kl16 watchdog maximum timeout

510 Views
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 Kudos
4 Replies

428 Views
mjbcswitzerland
Specialist V

Hi

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

Regards

Mark

0 Kudos

428 Views
praveen2
Contributor I

Hi,

Thanks for your replay.

But any possibility there, using Bus clock.

With regards,

Praveen

0 Kudos

428 Views
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 Kudos

428 Views
praveen2
Contributor I

Hi,

Thanks for the replay.

With regards,

Praveen

0 Kudos