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 / 759
758  |  760
Subject: 
Re: SPI & Mini SSC
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Fri, 20 Sep 1996 12:25:53 GMT
Original-From: 
Mike Ross <MROSS@OUTLAND.JSC.NASA.GOVspamcake>
Viewed: 
1573 times
  
On Thu, 19 Sep 1996, Joe Pickert wrote:


I just got a handyboard and have been playing with it.

I would like to maybe network a couple of miniboards to it for expansion using
the SPI. So:
1) how does one drive the SPI, software wise? (If this info
   is in the 6811 reference manual, just tell me as I am still waiting
   for mine).

It's in the 68HC11 reference manual.  Not hard, but I don't think any
handyboard library routines have been written to queue up bytes to be
streamed out.  If you write any, you might share your stuff here, I have
such a need as well.

2) Can I just connect the 4 SPI pins to each other (SS to SS, MISO to MISO,
   MOSI to MOSI, SCLK to SCLK), or do I need to cross connect MISO and MOSI?
   Are there any termination requirements, etc?

MISO = master in slave out
MOSI = master out slave in,

so cross connect.  It's all in the manual.

-mike

* Michael L. Ross/C33 | Lockheed Engineering & Sciences Co.****
* Robotics Department | 2400 Nasa Rd. 1, Houston, TX 77058*****
*(713)333-7094 voice,(713)333-6071 fax*#include <disclaimer.h>*
* Finger me for my public key.  mross@outland.jsc.nasa.gov ****
* If you weren't a socialist in your twenties, you had no heart.
* If you weren't a conservative by your thirties, you have no brain.



Message has 1 Reply:
  Re: SPI & Mini SSC
 
(...) Probably not, depending on how your write your code. The Master will send data on the MOSI pin, and the slave will receive on the MOSI pin, so that would be straight through cable. Depends though, if all your boards are masters, then you must (...) (28 years ago, 20-Sep-96, to lugnet.robotics.handyboard)

Message is in Reply To:
  SPI & Mini SSC
 
I just got a handyboard and have been playing with it. I would like to maybe network a couple of miniboards to it for expansion using the SPI. So: 1) how does one drive the SPI, software wise? (If this info is in the 6811 reference manual, just tell (...) (28 years ago, 19-Sep-96, to lugnet.robotics.handyboard)

3 Messages in This Thread:

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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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