To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 8663
8662  |  8664
Subject: 
SPI configuration
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Fri, 26 Jul 2002 17:48:57 GMT
Viewed: 
7979 times
  
How should I configure the SPI (master) in order to communicate with a
slave that has a single bi-directional data line?

I guess I should tie the MISO and MOSI pins together at the HB. Then
what?

Should I enable or disable the SPI? Or should I maybe use the port D
Wired-OR Mode? I will also connect a PC to the SCI, then DWOM might be
no good since that also includes the RxD and TxD pins on port D...?

How should I configure the DDRD register as I tie MISO and MOSI
together?

Hope to hear from you very soon!
/Tomas



--
MIME ATTACHMENTS DISCARDED:

1.  Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    Content-Length: 944



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR