Serial Peripheral Interface


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2008
    Location
    South Eastern Ma
    Posts
    4

    Default Serial Peripheral Interface

    Hi,

    I am new to PIC's and am in the process of trying to replace a BS2SX stamp with a 18F4520. We need the additional storage space. I need to be able to communicate with an external Hitachi compass module to extract heading info and a Parallax GPS module for location. In reading the 18F4520 datasheet they talk about SSPI. This seems to be the thing for the communication that I need to accomplish. Has anyone had any experience with this? Is there some code written somewhere that I could use as a guide to get started? I have the PICBASIC Pro compiler if that is a help.


    Thank

    DonD

  2. #2
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by DonD View Post
    am new to PIC's.....BS2SX stamp with a 18F4520. We need the additional storage space. I need to be able to communicate with an external Hitachi compass module to extract heading info and a Parallax GPS module for location.
    Far as I know, those modules talk using standard serial (I.e. UART, not SPI).
    Get ahold of the datasheets for the modules, figure out how they 'talk' and make the PIC 'talk back'. Easy stuff.
    But...
    I am new to PIC's and am in the process of trying to replace a BS2SX stamp with a 18F4520
    Do yourself a favor...Work your way UP to using PBP/PIC's to talk serially to external modules.
    Make an LED blink first, read a button, display something on an LCD, and so on and so on.
    Seen it time and time again...jumping in with both feet doesn't work.
    And even though the Stamp's and PBP/PIC's are very similar, they are quite different animals.

Similar Threads

  1. Replies: 33
    Last Post: - 19th March 2010, 03:02
  2. Please help with EDE702 - Serial to LCD interface
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th October 2008, 02:48
  3. Serial interface with RFID reader
    By brid0030 in forum Serial
    Replies: 8
    Last Post: - 23rd January 2007, 06:23
  4. Serial Peripheral Interface (SPI)
    By O2_Guy in forum Serial
    Replies: 1
    Last Post: - 22nd March 2006, 20:01
  5. Replies: 0
    Last Post: - 25th November 2005, 14:35

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts