Hi Dialog,
重置:
For the system we use the LIS3DH as the accelerator, we get the data from the accelerator then sending out. Since our system use the battery, we find sometimes the system powered on is not working. Also we use the watchdog reset through the software, it did not work either. But when we use the reset PIN P06 short with the VCC, it starts to work. Else we re-plug off and plug on again the battery, it can make the system works. Is there anyway in the software we can make the reset totally?
Device:
Hi liuluan002,
I dont quite get the question, but i suppose that you are looking for a way to reset your system, so you can use the platform_reset() function in order to do that. Also what the watchdog reset doesn't work means ? if the watchdog handler gets invoked the device is reseted if it isn't in development debug mode. Check the NMI_HandlerC() function and make sure that this command gets executed SetWord16(SYS_CTRL_REG, (GetWord16(SYS_CTRL_REG) & ~REMAP_ADR0) | SW_RESET );. You can also find some info about the watchdog in the below link
https://support.dialog-semiconductor.com/testing-watchdog
Thanks MT_dialog