Anonymous
Not applicable
Jun 04, 2013
02:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 04, 2013
02:52 AM
I need counting time between pulses in a PIO. Without low power requirements I can use a Timer, capture using PIO, and in the interrupt reseting counter for next measure. When I want the fresh data I only need to read the last capture. Meanwhile I can sleep psoc4. I've tested and works good. With Psoc4, Sleep power requirements (about 0,6-0,9mA) aren't good for me, so I'll try using deep sleep. I can use a clock ILO based, and capture in the same way, and read value in the watchdog interrupt, but as I can read in datasheet, using DeepSleep the Timer interrupt doesn't get fired (only WDT, so I can't reset counter). I have also doubt the Timer module can work in DeepSleep mode. Also ILO precission isn't good (About 60%, 10% with Trim module). Is there better way for doing this in DeepSleep mode? Can I reduce from 0,6mA power consumption in Sleep mode?
3 Replies
Jun 04, 2013
03:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 04, 2013
03:28 AM
The ILO is very wide tolerance. A way around this would be a production test/cal routine,
where a known accurate source is fed to PSOC 4, it measures, and computes a G factor to
correct readings. But then to do that right one would have to sweep locus of T and V to have
complete correction, probably impractical. Maybe a first order correction might suffice, you would
have to work the numbers.
The TRM pretty much confirms what can be used as wakeup sources -
Jun 04, 2013
03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 04, 2013
03:30 AM
Attachments are accessible only for community members.
Jun 04, 2013
03:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 04, 2013
03:31 AM