This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Adjusting "HAL_DELAY_US" for new clock freq


Rycerz Roman-G11565 said:
> 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 ??

You should not have to change anything other than the RTC calculations,
in particular CYGHWR_HAL_POWERPC_BOARD_SPEED  The timings should work
out from there.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]