Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I am using psoc5 lp cy8c5888lti-lp097, i m able to to take my micro controller to hibernate with the help of code example which is available in Psoc creator. I took my controller to hibernate without watchdog reset but when I am trying with WDT interrupt it reset and my code start again. I have scheduler,FreeRtos,USB,LED which i use as a heartbeat. Do i need to stop any specific interrupt or any specific settings. may be I am missing with something. below is my hibernate function it is working fine but i believe there is something which is consuming power because before hibernate my current reading is 0.033 mA and is hibernate it is 0.007 mA but in code exaple it shows 0.000 mA.
I believe i am missing with some task or interrupt or something which i need to stop before entering to hibernate.
And i want to use my this function with WDT interrupt. i use CyWdtStart(CYWDT_1024_TICKS,CYWDT_LPMODE_DISABLED); it is still not working with my code but working absolutely fine with my code example. same API.
/* Prepare system clocks for the Hibernate mode */
/* Switch to the Hibernate Mode */
/* Restore clocks' configuration */
I am doing software reset coz i want to start my code from the beginning. if i don't do this I am not able to have an access to my USB.
Hi- Actually, if you have enabled WDT, you need to clear WDT before WDT time out through out the application to prevent WDT reset (not just in Jump2Hibernate ). Is that being done? For low power in Hibernate - refer the guidelines in :
Thanks for your time and reply. i did try WDT Clear before entering to Jump2Hibernate function but i guess it is not working as my device is not in hibernate mode i am sure because i tried this in hibernate code example in that it is working fine with WDT but in my code i think it is not going in hibernate mode fully. Im using RTOS, USB Uart, Scheduler. I am in doubt that there is something else also i need to stop before entering to Hibernate and I am not able to find that.
Thanks for the document which you shared with me, I already read that doc.I did acc to that also.