- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I would like to ask if there is a possibility of waking up the PSoC from sleep using an interrupt (internal) every one second? I am interested if it is possible to do this without counting milliseconds. I used the SleepTimer, but, unfortunately, it generates an interrupt every 1024ms.
Thank you!
George
Solved! Go to Solution.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From the datasheet (component) -
General Description
The Real-Time Clock (RTC) component provides accurate time and date information for the
system. The time and date are updated every second based on a one pulse per second interrupt
from a 32.768-kHz crystal. Clock accuracy is based on the crystal provided and is typically
20 ppm.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To do that precisely you'll need a 32kHz crystal which can be configured as the source for wake-up from sleep.
Look into the "System Reference Guide" accessible from Creator's help-menu.
Bob
- 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
Here is a series of projects with wakeup that you can look at -
http://www.cypress.com/resource-types/video/entering-sleep-mode-and-wakeup-using-rtc-psoc35
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A simple question, just to be sure. The RTC only works when a 32kHz EXTERNAL crystal attached?
Thank you,
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From the datasheet (component) -
General Description
The Real-Time Clock (RTC) component provides accurate time and date information for the
system. The time and date are updated every second based on a one pulse per second interrupt
from a 32.768-kHz crystal. Clock accuracy is based on the crystal provided and is typically
20 ppm.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Clock config info -
http://www.cypress.com/documentation/application-notes/an54439-psoc-3-and-psoc-5lp-external-crystal-... PSoC® 3 and PSoC 5LP Clocking Resources
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you! I know that there is an internal 32kHz clock and the possibility of adding an external ctystal. There is no clear statement made in the documents that the RTC only works with the external one. That was my doubt.
Regards,
George