powerpc mvme5500 clock off by factor of 150

Peter Dufault dufault at hda.com
Mon Mar 7 12:41:25 UTC 2005


On Mar 6, 2005, at 3:20 PM, Peter Dufault wrote:

> The clock on the MVME5500 seems to be off by a factor of 150...

Here's what I've figured out this AM.

The clock code that's used is the code in libcpu/powerpc/mpc6xx/clock.


The clockIsr is going off every 57.9 seconds.

In Clock_initialize the values are:
BSP_bus_frequency 133333333 (correct)
BSP_time_base_divisor 4000
rtems_configuration_get_microseconds_per_tick() 10000
Clock_Decrementer_value 333330


What is that loop in clockIsr doing where it loops until decr < 0?

Peter

Peter Dufault
HD Associates, Inc.




More information about the users mailing list