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
<*> 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/
|