Chris Radek wrote:
> On Sun, Jul 07, 2013 at 10:34:47PM -0500, Jon Elson wrote:
>
>   
>> I have just committed the 2nd piece of the updates I was making to the
>> hal_ppmc driver to add driver support for two features I added to
>> the PPMC encoder board.  I committed these to the v2.5_branch,
>>     
>
> Jon, Was this everything that you wanted to get into the next 2.5
> release, as we talked about at fest?
>   
As far as code, yes.  But, I need to add info on this to the docs.  I 
also took a quick
look a while ago and think there are other details that need to be 
explained in the
docs.  I'm not sure if that should hold back the release, as anyone can 
read the
formatted docs online when they get periodically rebuilt.

The way I made the encoder filter clock selection is really a computer-nerd
hack, but I can't see a better way.  It comes partly from the way 
board-specific
parameters are handled now in the driver.  The hal_ppmc driver already takes
a few parameters like timestamp='0x00,0x05,0x15' where the 00 means
bus 0,board 0, the 05 means bus 0, board 5, and the 15 means bus 1, board 5.
Not too confusing (and nobody, to my knowledge has EVER used more than
one EPP bus with the PPMC.)  Now, I had to add a setting to the board
address, so it works like enc_clock='0x205' would mean set the clock to
2.5 MHz for bus 0, board 5.  I guess with adequate documentation this
will be usable, but it kind of jammed me into an awkward way to specify
the setting.

There is another area that I need to address in the driver.  it only allows
8 options to be set for each bus, but potentially with the PPMC (analog
servo interface) you could have up to 16 boards on one bus.  That is a more
extensive hack, and I think I may leave it for 2.6    As far as I know,
you could have 16 boards controlled by the driver, you just couldn't
specify loadrt command line parameters to more than 8 on each bus.
Again, nobody has ever bumped into this limitation, as far as I know.

Jon

Jon

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to