2 of 2 people found this helpful
No, Watchdog reset should not reset the RTC. RTC is in backup domain and its reset is linked to backup domain reset. Backup domain can be reset during the following cases -
- When you have externally shorted VDDD and VBACKUP in your design (and selected vBackupSource as "VDDD" in cydwr System settings), PSoC Creator generated start-up code will reset backup domain for any POR/XRES event. For all other cases like SW reset, WDT reset etc., backup domain (RTC) is not reset.
- When VBACKUP falls below the min voltage (1.4 V, irrespective of VDD supply). This is sort of Power-On-Reset for the backup domain.
- When you call Cy_SysLib_ResetBackupDomain() in the code, this again is irrespective of what your VDD is (however VBACKUP needs to be above 1.4 V for this call to work - for obvious reason ).
Let me know if you need any further clarification.
The above info should be present in Chapter 18 "Backup System" of the PSoC 6 Architecture TRM.
Meenakshi Sundaram R