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 / 1216
1215  |  1217
Subject: 
RE: Interfacing HB to PIC
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 9 Jan 1997 17:57:16 GMT
Original-From: 
MSI: Sean Cunningham <sean@msiconsulting.^antispam^com>
Viewed: 
1712 times
  
I really didn't have anything in mind other than the solution.

How could you use the SPI port to communicate with the PIC?

-----Original Message-----
From: Mike Ross [SMTP:mross@outland.jsc.nasa.gov]
Sent: Thursday, January 09, 1997 9:23 AM
To: MSI: Sean Cunningham
Cc: handyboard mailing list
Subject: Re: Interfacing HB to PIC

On Thu, 9 Jan 1997, MSI: Sean Cunningham wrote:

Has anyone interfaced the HB to a PIC chip or other microcontroller
without using the primary serial lines?

I am wondering if maybe there was an I2C or SPI implementation done
somewhere using digital outs.

Are you referring to using the SPI port on the Handyboard, or simulating
the SPI function via other ports?  If you run the handyboard as a master,
then the handyboard is responsible for providing the clock output used to
capture the data by the slave, and you don't have to worry about speed, so
you could bit-bang it out another port via IC statements.  However the SPI
is unused and easy to set up.

* 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: Interfacing HB to PIC
 
(...) Well, in that case, the SPI port is what you want, provided an SPI port is also available on the PIC. Then just set up the SPI config, load the register and the computers exchange 16 bits shifted on a clock generated automatically by the (...) (28 years ago, 9-Jan-97, to lugnet.robotics.handyboard)

2 Messages 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