about da14683 soft reset

⚠️
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//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
kuda
Offline
Last seen:1 month 2 weeks ago
加入:2020-03-21 14:58
about da14683 soft reset

HI! PM_Dialog,

I have custom DA14683 boards and got problem about soft reset.

I want to extend hours of battery life, so when device set to sleep mode with turn off all peripheral device.

So when gpio interrupt to wake up da14683, I want to reset cpu to reload program.

But I can't find any api from sdk about da14683 soft reset.

SDK version -->DA1468x_DA15xxx_SDK_1.0.14.1081

sdk supoort软复位吗?

kuda

Device:
PM_Dialog
Offline
Last seen:2 days 9 hours ago
Staff
加入:2018-02-08 11:03
Hi kuda,

Hi kuda,

According to the DA14683 datasheet, if SYS_CTRL_REG[SW_RESET] bitfield is set to 1, then a SW reset will be generated. To so do, please set this bitfield to 1.

REG_SET_BIT(CRG_TOP, SYS_CTRL_REG, SW_RESET);

Thanks, PM_Dialog