ts-7000
[Top] [All Lists]

[ts-7000] ts7260 a/d

To:
Subject: [ts-7000] ts7260 a/d
From: "davidalgeo" <>
Date: Sun, 04 Feb 2007 04:18:14 -0000
I noticed that on the TS7260 the first 3 ADC are used by the system to
monitor the votages.   i am powering the TS7260 a lipo battery so i
need to monitor the input voltage.     

Can user code still read these ADC?  

if so.....
I would assume we would not have to init them since the system should
have already done that.  Is that correct?

if that is so than is just a (from the demo code)
int devmem=(open("/dev/mem", O_RDWR|O_SYNC);
adc_page=(unsigned long)mmap(0, getpagesize(), PROT_READ, MAP_SHARED,
devmem, ADC_PAGE);
read_channel(adc_page, ACD_CH?) 
is all that is needed?

also i did not find in the docs which voltage channel 0 monitors?
channel 1?      channel2?

David 





 
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