What did you do, what did you see, what did you expect to see? You're not
going to get "nothing". When you read the SPI data port, you're going to get
something.
________________________________________
From: on behalf of
razvan_ionut_stoian
Sent: Monday, December 06, 2010 10:16 AM
To:
Subject: [ts-7000] Re: Standard SPI vs. 3 wire SPI
I have a one channel ADC with MISO/CLK/CS lines only. If I only bring the CS
down in order to initiate a conversion, I get nothing
On the other hand, if I just send a command to the transmission register (as I
usually do with multiple channel ADCs (these have a standard interface)), I
still get nothing.
The SPI interface works great when operated in 4-wire mode.
R.
--- In "Russell N. Nelson - rnnelson" <>
wrote:
>
> I'm confused by your confusion. If you can ignore the MOSI line, that means
> that the slave doesn't care what it gets on its input, and you can just
> ground it so it clocks in zeroes. Think of SPI as a shift register with an
> enable input (/CS). Whatever you give the inputs (MOSI and MISO) is what gets
> clocked into the shift register. After 8 or 16 clocks, you have whatever
> you've clocked in.
>
> ________________________________________
> From: on behalf of
> razvan_ionut_stoian
> Sent: Monday, December 06, 2010 10:05 AM
> To:
> Subject: [ts-7000] Standard SPI vs. 3 wire SPI
>
> Hi.
>
> Does anybody know how to modify (hardware and software) a typical SPI
> interface (CLK/MOSI/MISO/CS) into a 3-wire SPI (no MOSI line)?
>
> In order to receive a word from the slave, one has to send a dummy command
> from master to slave. Since there is no MOSI line, how can the serialization
> of the received data be possible?
>
> Thank you,
> R
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
------------------------------------
Yahoo! Groups Links
------------------------------------
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/
|