question about the pin to pin connections on a SPI interface


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Location
    Tennessee
    Posts
    262


    Did you find this post helpful? Yes | No

    Default Re: question about the pin to pin connections on a SPI interface

    shiftin/out is in chapter 5 of my manual, version 2.6, it explains a lttle better, your code for the conversion of the temprature looks better but I dont understand that */461 part, since it doesnt have a name for that i cant find it in the book, its like another part of code i saw yesterday that had a !! in part of it, how do you find */ or !! in the manual

    Oh, meant to ask, ive seen notations that say you can use several SPI devices on 1 PIC, would you tie all the Data lines together and then just use one I/O for each chip select? so 4 temp chips would use 4 I/O (chip selects) but only 1 clock and serial data pins?

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: question about the pin to pin connections on a SPI interface

    how do you find */ or !! in the manual
    Look in the PBP manual chapter 4 if you are using pre PBP3, chapter 3 if you are using PBP3. It does a good job of explaining it.

    Oh, meant to ask, ive seen notations that say you can use several SPI devices on 1 PIC, would you tie all the Data lines together and then just use one I/O for each chip select? so 4 temp chips would use 4 I/O (chip selects) but only 1 clock and serial data pins?
    You can share everything except the data line.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Need to use SPI but I'm already using the SPI port
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th December 2012, 10:52
  2. 5v on analog pin but reads value
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 9th November 2012, 04:41
  3. VFD pinout and connections
    By rshaver in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 26th October 2010, 06:48
  4. lcd with Hserout and a max232 connections? help
    By flipper_md in forum Schematics
    Replies: 6
    Last Post: - 8th March 2008, 16:06
  5. PIC to PIC, How Many IO Connections Required?
    By CocaColaKid in forum Serial
    Replies: 4
    Last Post: - 1st September 2005, 18:16

Members who have read this thread : 0

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