ts-7000
[Top] [All Lists]

[ts-7000] Re: ts-7250 settle time (MAX197)

To:
Subject: [ts-7000] Re: ts-7250 settle time (MAX197)
From: "charliem_1216" <>
Date: Fri, 29 May 2009 03:13:48 -0000
--- In  "j.chitte" <> wrote:
>
> > > > > 
> > > > > On Tue, 26 May 2009, j.chitte wrote:
> > > > > 
> > > > > >
> > > > > > All this is rather acedemic on TS7250 as supplied since the since 
> > > > > > the 
> > > > > > 100Hz system clock means the fastest you can get from the driver is 
> > > > > > 10ms 
> > > > > > (yes you lose three orders of magnitude on what the 197 is capable 
> > > > > > of 
> > > > > > doing).
> > > > > >
> > > > > > If you want faster sampling a fair bit of work will be required.
> > > > > 

> 
> Hi Charlie,
> 
> any chance you would like to post the ported version of Phil's 2.4 driver. 
> I've been using the latter for over a year and I've written my control logic 
> using it.
> 
> porting and testing it is a human resource drain I was not looking forward to.
> 
> Since you've already ported it, it would be a great not to need to reinvent 
> the wheel.
> 
> TIA, jacques.
>

OK, I've posted adc-0.0.3.tgz in the example code section of the group.  A few 
notes:
* This is against 2.6.29.1-Matt1 (but should apply to vanilla too).
* Most of the work was already done by Phil, I just got it to build.
* There are a few FIXMEs in adc_util.c; one is a bug and prevents sample 
frequency changing via IOCTL.  Changing via the /proc filesystem still works 
though.  The fix is easy though, change to a 64bit div call in the kernel (in 
linux/math64.h).
* I've been building this as an out-of-tree module, so you have to edit the 
Makefile to point to your kernel source tree.  The Makefile should work if it's 
in-tree too.

regards, ...... Charlie



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU