This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Adjusting "HAL_DELAY_US" for new clock freq
- From: Rycerz Roman-G11565 <roman dot rycerz at motorola dot com>
- To: "Ecos-Discuss at Sources dot Com (ecos-discuss at sources dot redhat dot com)" <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 10 May 2004 10:14:11 -0500
- Subject: [ECOS] Adjusting "HAL_DELAY_US" for new clock freq
Hi
I am updating a MPC5xx PowerPC board to run at a new clock freq than the original of 40mhz to 56mhz.
What I am confused about is how to accomplish the proper scaling in "hal_delay_us" routine.
Can anyone give me some clues/advice on making this change ??
Thanks
Roman F. Rycerz
Engr Section Mgr
Test & Tools
Motorola IESS, ACES, PCSG, PCG
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss