--- 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/
|