Hi Anand,
Having a look over your code the most obvious thing I can see with
it is the line
#define CTRL_BYTE 0x10f00000
I think it should be this
#define CTRL_BYTE 0x10c00000
Cheers
Phil
--- In anand bhavnani <> wrote:
>
> hello jim,
>
> you have mentioned about a driver that worked for u at
> 5.3k, please mail it.
>
> also i have attatched the code of the driver that i am
> trying to use, but as i have already mentioned its not
> working.
>
> you also said that MAX 197 is not reliable, why
> exactly are u saying so...any technical issues with
> it...
>
> waiting for ur reply,
>
> //anand
>
> --- Jim Jackson <> wrote:
>
> >
> >
> >
> > On Thu, 9 Feb 2006, Phil wrote:
> >
> > >
> > > Using one of the spare EP930x timers, I am
> > actually getting quite
> > > reliable and accurate timing for sampling signals
> > at a rate of
> > > ~5.3kS/s. Also, although I haven't had a chance to
> > test, I am hoping
> > > that I will be able to do this across multiple
> > channels (up to 6
> > > channels, giving ~32kS/s total).
> > >
> > > Which reminds me, I was going to see if anyone was
> > interested in the
> > > drivers that I have written for ADC sampling?
> > Probably not terribly
> > > robust yet, since I only have the one board to
> > play with at the
> > > moment, but could be useful nonetheless. Let me
> > know if you are and
> > > I will post them.
> >
> > I'd be very interested.
> >
> > Jim
> >
> > > --- In Jim Jackson
> > <jj@> wrote:
> > > >
> > > >
> > > > On Wed, 8 Feb 2006, Phil wrote:
> > > > > --- In "ajbanand"
> > <ajbanand@> wrote:
> > > > > >
> > > > > > Hi all,
> > > > > >
> > > > > > i have TS-7250 with MAX197 ADC.
> > > > > > i am trying to provide voice support to my
> > board using the ADC.
> > > > > > i have configured my ADC for single channel
> > usage..
> > > > > > its not giving proper digital values for the
> > analog input, i am
> > > > > getting
> > > > > > value like 0,5,17 etc all less than 100. for
> > bipolar -5 tp +5
> > > range
> > > > > > these values all seem to be noise..
> > > > > > can anyone please explain what could be
> > wrong in my approach...
> > > > >
> > > > > If you reply with the code that you are using,
> > you will get a
> > > better
> > > > > response from the members of this group.
> > Without it, we can't
> > > really
> > > > > help.
> > > > >
> > > >
> > > > Also it would be of use to know the circuit
> > schematic for the
> > > electronics
> > > > feeding the input.
> > > >
> > > > However having said that, I can't see how you
> > can reliably use the
> > > MAX197
> > > > for sampling voice or anyother signal > half the
> > the Kernel HZ
> > > value.
> > > > Timing for the sampes will not be accurate
> > enough, even though
> > > sampling
> > > > one input only, one can get sampling rates of
> > upto 50K samples/sec
> > > (If my
> > > > memory if correct).
> > > >
> > > > Jim
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
> "Stay HUNGRY. Stay FOOLISH." Steve Jobs
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|