ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: TS-7260 DIO issues?

To:
Subject: Re: [ts-7000] Re: TS-7260 DIO issues?
From: Don Tucker <>
Date: Thu, 25 Aug 2011 09:22:32 -0500
The headers for the dio functions in ts7xxx.subr read:

# dio_dir_set DIO_NUM(0..8) DIR(0=input,1=output) TS-7260/TS-7300
# dio_data_set DIO_NUM(0..8) 0|1 TS-7260/TS-7300

which would indicate that they accept 0 through 8 as valid DIO values.
The manual indicates the following pin mapping on DIOs for DIO1:

pin DIO
1 0
3 1
5 2
7 3
9 4
11 5
13 6
15 7
8 8

Don

On 8/25/2011 9:00 AM, al wrote:

Don, the HW is probably functional. This MIGHT be a programming error.
If the 7260 is anything like the 7500, the first valid pin number for
'dio' routines is 5. Check the dio source code or example routines to
be certain.

HTH

--- In  <ts-7000%40yahoogroups.com>, Don
Tucker <> wrote:
>
>
> Using TS's little script,
>
>
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/binaries/ts-scripts/ts7xxx.subr
>
> I attempt to toggle the output voltage of DIO0 through DIO4 and see no
> change. I.e., after running the shell (export model=2, .
> ./ts7xxx.subr), I do:
>
> dio_dir_set X 1
> dio_data_set X 0
> dio_data_set X 1
>
> for X=0 through 4, and the voltage remains the same at 3.3V. If I try
> the same thing on DIO5 through DIO7, the voltage will toggle between
> 3.3V and 0V.
>
> Has anyone else seen this behavior, or is it an obvious indication of
> faulty hardware? I am getting no response from TS's tech support.
>
> Don



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<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