- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I am using CYBLE 212011-01 and made project that use BLESS DEEPSLEEP power mode while advertising, and interrupt by WDT every 100ms.
After few seconds since started this program, main loop is stuck but the WDT fired every 100ms and the main loop never recovered.
There aren't any problems if I use BLESS SLEEP power mode and ACTIVE with WDT.
Can anyone help me to solve this problem?
Best regards.
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Riku Ueda,
Please go through the modified project which I was attached.
Please let me know if this helps you.
Thanks,
PSYU.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Riku Ueda,
Please enable the WDT in the firmware using the following API. This API only will enable the WDT and generates interrupt, without this API interrupt won't be generated.
Void CySysWdtEnable (uint32 counterMask)
Please refer the section Watchdog Timers configuration in the datasheet for more information on WDT.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply.
I inserted the CySysWdtEnable() after setting WDT and then It worked correctly for a while but suddenly stucked...
Can't I use WDT and BLESS_DEEPSLEEP at the same time without special configuration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Riku Ueda,
We can use WDT and BLESS DEEPSLEEP at the same time where WDT uses low frequency clock (WCO) whenever system enters into Deep sleep mode low frequency clocks are activated.
Will send you the modified project.
Thanks,
PSYU.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Awesome!
I made sure BLE and WDT didn't stop all day long.
Your project is helpful, thank you so much.
Riku.