ts-7000
[Top] [All Lists]

Re: [ts-7000] SPI - TS7500

To:
Subject: Re: [ts-7000] SPI - TS7500
From: Ferrug <>
Date: Wed, 3 Nov 2010 21:00:52 -0200


humm, right.
Did I just send words of 8bits? How would send 24?
The question of the pin ready, I'm doing manually at first.

What else could it be?

Grateful
Fábio


2010/10/29 Wayne S <>
 

Not sure I know the system that well, but this is a slow converter. According to the AD7193 data sheet, in single conversion mode, the DOUT/RDY pin (or RDY bit)  indicates when the conversion is done. Don't you have to check if conversion is done first before reading?

Also, the spictl help indicates -w should be colon delimited hex octets. Example from help:

./spictl -l 1 -w 0B:00:20:00:00 -r 32 <host><:port>

Wayne



At 10/28/2010 08:30 PM,
Ferrug  wrote:

 
Hello, I'm making a statement of my ts7500 "kit" with an ADC by SPI.
Someone tell me if I'm doing something wrong? He always returns the same three characters. The code is below. The ADC is the AD7193.

//part 1:
sbuslock();
setdiopin(33, 0); ////out 1 down  'CS on'
sbusunlock();
system("spictl -c 10000 -e 1 -w 10:040110:08:280001");
<...snip...>

Thanks ..
Fabio




--
"Dê-me uma alavanca e um bom ponto de apoio que moverei o mundo." Archimedes


__._,_.___


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>
  • Re: [ts-7000] SPI - TS7500, Ferrug <=
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