Skip to main content

about da14683 soft reset

4 months ago

about da14683 soft reset

Posted bykuda40 points 1 reply
0 upvotes

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

4 months ago

PM_Dialog

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