- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I have tried the power management_Hibernate code example for psoc5 lp family. I am using it in my Cy8c5888LTI-LP097 controller. I am able to go in hibernate mode without watchdog reset but when i try the same code example with watchdog timer, it is not working with it.. I already tried
CyWdtStart(CYWDT_1024_TICKS,CYWDT_LPMODE_DISABLED); and
CyWdtStart(CYWDT_1024_TICKS,CYWDT_LPMODE_MAXINTER);
API so that it will stop the watchdog in hibernate and sleep mode but it is not working in my case.
this is my case i am clearing WDT before entering hibernate mode.
if(Pin_1_Read() == 0) {
/* Turn off LED to indicate Hibernate mode */
LED_P1_2_Write(0u);
CyWdtClear();
/* Prepare system clocks for the Hibernate mode */
CyPmSaveClocks();
/* Switch to the Hibernate Mode */
CyPmHibernate();
/* Restore clocks' configuration */
CyPmRestoreClocks();
LED_P1_2_Write(1u);
}
Any suggestion in this case.
Thanks in advance...
Regards
Abhishek
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Abhishek,
Could you please check the attached project?
I programmed the attached project in CY8CKIT-050 and at my end, WDT is not reset and is disabled in hibernate mode as expected.
Thanks,
Shanmathi