⚠️ 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.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
The SYS_CTRL_REG is used to trigger a Software Reset to the device. According to the datasheet, the SW reset is triggered by writing the SYS_CTRL_REG[SW_RESET] bit field. Writing a '1' to this bit will software reset the device.
SetBits16(SYS_CTRL_REG, SW_RESET, 1);
Be aware that if the chip boots from Sys-RAF, after the reset, the firmware will be lost and it will not be able to boot. So, if you would like to have software reset functionality, I would suggest you to boot from SPI Flash.
Hi Jesus805
The SYS_CTRL_REG is used to trigger a Software Reset to the device. According to the datasheet, the SW reset is triggered by writing the SYS_CTRL_REG[SW_RESET] bit field. Writing a '1' to this bit will software reset the device.
SetBits16(SYS_CTRL_REG, SW_RESET, 1);
Be aware that if the chip boots from Sys-RAF, after the reset, the firmware will be lost and it will not be able to boot. So, if you would like to have software reset functionality, I would suggest you to boot from SPI Flash.
Thanks, PM_Dialog
谢谢你的回复!是的,我从SPI所以th引导is is perfect.
Cheers,
Jesus805