ts-7000
[Top] [All Lists]

RE: [ts-7000] TS-ADC16 configuration question

To: <>
Subject: RE: [ts-7000] TS-ADC16 configuration question
From: "Stefan Wolpert" <>
Date: Tue, 2 Mar 2010 01:33:54 -0500


Agreeing with ar:

 

Unfortunately, I donât think different ranges are possible.  From my experience with the ADC16 board, setting the ranges or other config parameters of the ADC affects both LTC1859 chips (there are 2 ADC chips, each 8-channel, on-board), because of the interface with the on-board Lattice CPLD.

 

Looking at the ADC16 libraries the code to configure the range:

adc_set_inrng () {

  adc_stop > /dev/null

  let BASEIO=`adc_baseio`\|0x2

  let BIT6=$1\&0x1

  if test $BIT6 -eq 0; then

    bit_clr $BASEIO 6 > /dev/null

  else

    bit_set $BASEIO 6 > /dev/null

  fi

  let BIT7=$1\&0x2

  if test $BIT7 -eq 0; then

    bit_clr $BASEIO 7 > /dev/null

  else

    bit_set $BASEIO 7 > /dev/null

  fi

  echo `adc_inrng` 

}

 

This looks like only two bits are configured (the number of bits configured for *one chip*), meaning that setting the voltage range sets the range for both chips.

 

In other words, it is possible to have each chip running at a different voltage range, but I donât think this is possible with the current logic running on the CPLD.  Might try calling Technologic to see if they know off-hand of any undocumented config register or have newer code.

 

All in all, obviously running everything at +/-5V will allow you to measure everything you want, just the 0-5V inputs will have half the resolution you might have liked.

 

Good luck,

Stefan

 

From: [ On Behalf Of Angel
Sent: Monday, March 01, 2010 8:47 PM
To:
Subject: Re: [ts-7000] TS-ADC16 configuration question

 

 

Hi,

I don't think you can.

ar

On Tue, 2010-03-02 at 01:11 +0000, Alex wrote:
>
> I need to sample 4 channels with ADC16 board. 2 channels maximum input
> range is [0 5] Volts, two other channels should have input range [-5
> +5 V]. Does anybody know if I can configure different input ranges on
> different ADC channels?
>
>
>
>

 



__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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