- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I thought that WDT1, WDT0 have maximum limit period(65536). but I want to revise that maximum period (maybe 3hours)
if i want to use WDT with long-time period by using interrupt, how can i do?
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are posting here in the PSoC5 forum. For PSoC5 the max. period for WDT is 3.072s. For a PSoC4 the situation is quite different. You can set the low frequency clocks in .cydwr view, double clicking on a clock. There you can find the WDTs .
Explanation of WDTs and the APIs are in System Reference Guide from Creators Help menu.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
as you know, i tried to set the low frequency clocks in .cydwr view, but Maximum limit was 65536 ( related to WDT0, WDT1).
so I want to know improve this situation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would be good if you are more precise:
Which development board are you using (if any), which chip?
What are you aiming at, what will your device perform?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sorry. my question is quite vague..
I use Proc BLE chip named '6200IPU15730_RW_PLZ_IC_CPU_CYBL10X7X'
I'am going to develop a long period (2 years)alarm. so in this situation, so battery should be frugal.
and alarm system will be in deep sleep mode until 2 years, except alarm check.
alarm check time will be between 2 hours and 4 hours. in this situation, every 2 hours should be wake up from deep sleep mode
that's why I use WDT. but WDT0, WDT1 related to interrupt, maximum frequency is 2 seconds. and in case of WDT2, it's difficult for
me to generate interrupt. I don't know how to use.
and in order to know if long period(2 years) pass, I should use RTC.
After solving this problem, I will commnunicate with app such as Cysmart
That's all. and attach document I check. Thanks (Psoc technical reference manual can't upload..)
- sean
- 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
I don't know what you indicate. you mean WDT2? that timer can't control interrupt in API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Believe me, it can!
No need to control it yourself, its automatic. Including control of the RTC.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know that timer(WDT2) can control rtc. but can't that timer wake up from deep sleep? because of No interrupt??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wakeup from deep sleep is done with the internal interrupt controller, only a few components are running in deep sleep, no isr component, no high-speed peripheral... There is a callback from the interrupt, so you can do your own things, but do not go to deep sleep in callback.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know that contents.. I aim at expanding period like WDT2(about 2 hours). to make battery comsumtion be frugal, my prod that I'm willing to make should be wake up count minimum
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can configure WDT2 for >18 hours period, isn't that enough?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know the period in WDT2 till 18 hours but I couldn't know how to control interrupt with WDT2. so I want to use WDT with interrupt.
i guess that simply, insert WDT2 at CySysWdtSetInterruptCallback(); and handle this function. is that right? but I couldn't get answer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Program it (better use a quite shorter interval) and check it out for yourself.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
may i get a reference related to this problem??
above all, Thnaks for answering my question!!
- sean
- 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
thansk, finally i use short period rtc
- sean