- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had implement a Sleep Timer Module,
Interval was set to 8 milisec.
I was checking the interrupt period by using LED.
Interval was shows quite wrong time, around 16u.sec.
This interrupt type set to DERIVED.
When set it to RISING_EDGE, Interrupt never happend.
Tell me what's wrong.
- Labels:
-
PSoC 3
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hmm?
I was try to set Xtal32k for experience,
But It doesn't work.
Data sheet said the sleep timer needs 1KHz ILO instead of Xtal32k
I had uncheck Xtal32k and set ILO to 1KHz,
But It doesn't work.
???
Clock Selection
The Sleep Timer component uses the CTW and requires a 1-kHz clock for its operation. This
clock is produced by the internal low-speed oscillator (ILO). The ILO 1-kHz clock feeds directly to
the CTW counter. The ILO produces clocks with no external components, and with very low
power consumption.
The API function that starts the Sleep Timer automatically enables the 1-kHz clock and leaves it
enabled even after the component is stopped. The first interval can range from 1 to (period + 1)
milliseconds. Additional intervals occur at the nominal period.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content