public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* Wallclock on LCP2xxx dependency
@ 2010-05-14 20:08 Byron Jacquot
  2010-05-15  7:19 ` Sergei Gavrikov
  0 siblings, 1 reply; 2+ messages in thread
From: Byron Jacquot @ 2010-05-14 20:08 UTC (permalink / raw)
  To: ecos-devel

Howdy Everyone,

I'm trying to track down the history of an item in the LPC2xxx wallclock
driver CDL file.

The Wallclock CDL contains the following:
    requires      { CYGHWR_HAL_ARM_LPC2XXX_IDLE_PWRSAVE == 0 }

I'm trying to figure out where this dependency comes from.  The
IDLE_PWRSAVE option allows the idle thread to turn off the CPU core.
This has no impact on the peripherals, including the RTC.  The
peripherals continue to run, and they will wake the CPU on any interrupt
activity.

I've verified this on live LPC2292/01 hardware - the RTC is keeping
time, and the CPU is spending a fair amount of time idle, as measured
with an Ammeter.

Was there an intent that I'm not grasping?  It seems that this
requirement isn't a hard one.

Thanks,

Byron Jacquot
Vesta Technology


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Wallclock on LCP2xxx dependency
  2010-05-14 20:08 Wallclock on LCP2xxx dependency Byron Jacquot
@ 2010-05-15  7:19 ` Sergei Gavrikov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Gavrikov @ 2010-05-15  7:19 UTC (permalink / raw)
  To: Byron Jacquot; +Cc: ecos-devel

On Fri, 14 May 2010, Byron Jacquot wrote:
> Howdy Everyone,
>
> I'm trying to track down the history of an item in the LPC2xxx wallclock
> driver CDL file.
>
> The Wallclock CDL contains the following:
>    requires      { CYGHWR_HAL_ARM_LPC2XXX_IDLE_PWRSAVE == 0 }
>
> I'm trying to figure out where this dependency comes from.  The
> IDLE_PWRSAVE option allows the idle thread to turn off the CPU core.
> This has no impact on the peripherals, including the RTC.  The
> peripherals continue to run, and they will wake the CPU on any interrupt
> activity.
>
> I've verified this on live LPC2292/01 hardware - the RTC is keeping
> time, and the CPU is spending a fair amount of time idle, as measured
> with an Ammeter.
>
> Was there an intent that I'm not grasping?  It seems that this
> requirement isn't a hard one.

Hi Byron,

It seems for me that is the odd requirement (according LPC2000 datasheets 
even in the sleep mode RTC oscillator is not stopped and its interrupts 
continue to awake core). Could you send a patch in the eCos patches list, 
please?

Thanks for the catch,

Sergei

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-15  7:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-14 20:08 Wallclock on LCP2xxx dependency Byron Jacquot
2010-05-15  7:19 ` Sergei Gavrikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).