EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CPU speed on mv162/167
From: Andrew Johnson <[email protected]>
To: Ralph Lange <[email protected]>
Cc: [email protected]
Date: Tue, 08 Jul 1997 10:43:15 +0100
Ralph,

The BSP in the mv167 has to set a tick-timer divider, the correct
setting of which depends on the clock speed of the board.  Once the
divider is set, the vxWorks system clock  tick rate can be set properly,
but with the wrong divider setting sysClockRateSet doesn't get the right
tick rate.  Whether the same divider setting is needed for the mv162 I
don't know, but the technique I explained is how the 167 BSP retains
knowledge of the clock rate.  It sounds like the mv162 BSP uses a
different method to store the CPU speed.  It's also possible that the
mv162 can determine its own speed by looking at hardware registers.  I
don't think earlier versions of the mv167 could do that (and I'm not
sure whether later versions can or not) which is why they put in the
test they did.

The '0xee' is a magic number which ensures a random number is unlikely
to be thought of as a clock speed, '0x21' is 33 decimal, being the clock
rate in MHz.

The simple answer is - different BSP, different method.

-- Andrew
   ___
 .'   `.	Andrew Johnson, Head of Electronics
/ Royal )	Royal Greenwich Observatory
\ Greenwich	Madingley Road, Cambridge, CB3 0EZ
| Observatory	Tel: +44 1223 374823   Fax: 374700
+----------	WWW: http://www.ast.cam.ac.uk/~anj

References:
CPU speed on mv162/167 Ralph Lange

Navigate by Date:
Prev: RE: SGL encoder in EPICS Eric Bjorklund, NPSM
Next: Re: Bad CALC record kills IOC Marty Kraimer
Index: 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CPU speed on mv162/167 Ralph Lange
Next: [no subject] meyer
Index: 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·