Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2007 12:25:28 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de>
Cc:        arm@freebsd.org
Subject:   Re: main clock frequency
Message-ID:  <20070613102527.GO42538@cicely12.cicely.de>
In-Reply-To: <57472.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181722224.squirrel@webmail.alpha-tierchen.de>
References:  <55286.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181705783.squirrel@webmail.alpha-tierchen.de> <20070612.215430.-365729166.imp@bsdimp.com> <57472.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181722224.squirrel@webmail.alpha-tierchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 13, 2007 at 10:10:24AM +0200, Björn König wrote:
> So this is my patch.
> 
> It would be interesting for me to know the effective main clock values for
> 10.0 Hz and 16.0 Hz oscillators. My board uses a 18.432 Hz oscillator.

Unfortunately I'm out of time, but will put some tests on my todo list.
A wrong value here only hurts setting up the PLLB for USB.

> Currently I'm working on changing the PCK and MCK on-the-fly via sysctl
> MIB which basically works well for me.

Basicly this sounds intersting.
It might be interesting to switch PCK to 32kHz on idle, which should
be faster than waiting for PLL to setup.
I'm not shure about the possible PLL range anyway, since it requires
external components based on the intended frequency.

I'm a bit concerned about MCK since this also influences timing critical
devices, such as UART rate, SDRAM recharge rate and even timing for
custom hardware, e.g. motors on PWM.

-- 
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd@bwct.de           info@bwct.de            support@fizon.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070613102527.GO42538>