WatchDog reset issue

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
xuguodong
Offline
Last seen: 4 months 2 days ago
Joined: 2020-06-04 13:34
WatchDog reset issue

Diar Dialog,

When using hw_cpm_delay_usec(1000*1000) will trigger watchdog.

Can you give me some advice:

How to set the watchdog's trigger time a little longer?

In addition, although the watchdog was triggered, the DA14683:device did not restart successfully.

 

DA1468x_DA15xxx_SDK_1.0.14.1081

 

Thanks.

Device: 
PM_Dialog
Offline
Last seen: 2 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi xuguodong,

Hi xuguodong,

Please section 30 Watchdog Timer from the datasheet. The timer value can be accessed through the WATCHDOG_REG[WDOG_VAL] register.

In the SDK, the dg_configWDOG_RESET_VALUE is the macro that holds the reset value for Watchdog. In case you want to change it, you should define that macro in your custom_config_X_.h (X: wspi or ram) file and set the new reset value.

Thanks, PM_Dialog