From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16458 invoked by alias); 15 May 2010 07:19:10 -0000 Received: (qmail 16447 invoked by uid 22791); 15 May 2010 07:19:09 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-fx0-f49.google.com (HELO mail-fx0-f49.google.com) (209.85.161.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 15 May 2010 07:19:03 +0000 Received: by fxm12 with SMTP id 12so1913815fxm.36 for ; Sat, 15 May 2010 00:19:00 -0700 (PDT) Received: by 10.223.65.18 with SMTP id g18mr2753483fai.32.1273907940752; Sat, 15 May 2010 00:19:00 -0700 (PDT) Received: from sg-desktop.local ([86.57.137.251]) by mx.google.com with ESMTPS id j23sm14627508faa.2.2010.05.15.00.18.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 15 May 2010 00:18:58 -0700 (PDT) Date: Sat, 15 May 2010 07:19:00 -0000 From: Sergei Gavrikov To: Byron Jacquot cc: ecos-devel@ecos.sourceware.org Subject: Re: Wallclock on LCP2xxx dependency In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2010-05/txt/msg00005.txt.bz2 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