Hi Phil,
The TS-11 kernel compile got resolved with a comment by Eddie at
technologic. There were two issues - one that choosing some of the
new kernel options as modules causes a crash and the second that I
still have the CROSS_COMPILE pointed wrong. For the kernel compile
it has to be
CROSS_COMPILE=/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-
Where as for your driver it has to be:
CROSSDIR=/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux
Beats me why.
Yes, i realized this ADC chip is multiplexing. We can probably live
with reading just 1 channel at that frequency.
Cheers
Gertjan
--- In "Phil" <> wrote:
>
> Gertjan,
>
> > I agree with your comment, 'it can not be done from userspace'.
Do
> you
> > know if it can be done with the kernel driver that I am trying
to get
> > to compile ? If not, I am save my time and move on to a
different
> > vendor....
>
> Yes, it will easily do 5kHz sampling. The sampling frequency I am
> using for my project is 5.3kHz and I have never had a problem. I
have
> also had it working up to 20kHz.
>
> Were you hoping to sample more than one channel at the same time
> though? If so, you just have to realise that it is multiplexed, so
> reading two channels at 5kHz is similar to reading one at 10kHz.
Now
> again, I know this works, I have been reading three channels at
5kHz
> ok, but you probably wont be able to read all eight at that
frequency.
>
> I am still looking over my code to make sure the driver is working
as
> efficiently as possible so that you can get the most out of it.
One
> slightly unfortunate thing is that the busy signal from the ADC
hasn't
> been routed back to an interruptable source for the ARM. So in
some
> modes the driver has to waste cycles polling the busy signal. If
> anyone disagrees with this, I would be happy to hear that I have
> overlooked something and that it can be done?? :)
>
> And as to your problems with the -ts11 kernel, I will attempt to
build
> the driver against that, and see if I can give you some feedback.
>
> Cheers
> Phil
>
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/
|