On Tue, 31 Oct 2006, Phil wrote:
> Hi Sonia,
>
> > #define Result 0x10f00000
>
> Try using 0x10c00000 instead of 0x10f00000. As in...
Sonia,
see my adio and adc_logger software referenced from my ts7200 page
>
> #define Result 0x10c00000
Phil is right. But I've never seen doc that mentioned 0x10f00000.
Jim
----------------------------------------------------------------------------
HomePage: http://www.comp.leeds.ac.uk/jj
TS7200 Page: http://www.comp.leeds.ac.uk/jj/linux/arm-sbc.html
>
> I posted in this group a while ago about this, saying that the doco
> may have been incorrect and never heard anything back, so I just
> assumed that it was something I was particularly doing wrong. But I
> use that address with no problems. If you want to check this and
> other stuff, my kernel driver is in the Files section, if you want
> to download it.
>
> Cheers
> Phil
>
>
> --- In "soniathakur3" <>
> wrote:
> >
> > Hello,
> >
> > I am trying to set the external ADC MAX197. Right now i am just
> > configuring only one channel.But i haven't been able to get any
> > output.Infact it seems like the 0x10f00000 is not getting
> intialized.
> >
> > the code i am using is:
> >
> > #include<unistd.h>
> > #include<sys/types.h>
> > #include<sys/mman.h>
> > #include<stdio.h>
> > #include<fcntl.h>
> > #include<assert.h>
> > #include<time.h>
> > #include<stdlib.h>
> >
> > #define Result 0x10f00000
> > #define Busy 0x10800000
> > #define Extern_ADC 0x22400000
> > #define Channel_0 0x51
> >
> > int main(int argc, char **argv)
>
>
>
>
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/
|