Minimum lines for SSP


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,588

    Default Minimum lines for SSP

    EDIT:

    Nevermind.

    I just found the SPI Daisy Chain connection in the datasheet. That means I can keep using 4-strand telephone wire.


    How fast can MSSP transmit at 64MHz?

    I was initially planning on using USART at 115,200, but I'd like to know if it's worth the hassle to switch over to MSSP.

    Robert
    Last edited by Demon; - 19th December 2014 at 20:12.

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,588

    Default Re: Minimum lines for SSP

    I had to share GND when using USART between 2 PICs.

    Do I also have to share the GND line between 2 PICs when using MSSP in Daisy Chain?

    I'd really like to avoid having to run another cable underground and was hoping I could get away with just CLK, DATAIN, DATAOUT and SS in Daisy Chain.

    Robert

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516

    Default Re: Minimum lines for SSP

    Hi Robert,
    The SPI master Clock can run as fast as FOsc/4, ie the same as the instruction clock which, at 64MHz, is 16MHz. ~140times faster than 115kbaud.
    The problem is that you're most likely not going to be able to feed the MSSP module with data at fast enough to keep an overall speed anywhere close to 16Mbit. (And it probably won't work reliably over any sort of length of telephone wire....)

    The slowest selection for the SPI Clock is FOsc/64 which would be 1MHz in your case - 8.7 times faster than 115kbaud.

    /Henrik.

    EDIT: Yes for a simple direct Connection they must share the same reference. There are of course things like RS485, optical transmission etc etc but again, for a simple direct Connection they need to share the same GND potential.
    Last edited by HenrikOlsson; - 19th December 2014 at 20:30.

Similar Threads

  1. Minimum Vref Voltage?
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 10th November 2013, 14:59
  2. Minimum power modes for PIC18LF4620
    By BrianT in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 6th February 2008, 02:30
  3. SSP interrupt with 18F4525
    By Najim in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 8th March 2006, 11:50
  4. Minimum power operation - 16F877A
    By btaylor in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 2nd March 2006, 03:44
  5. I2CWRITE using SSP ?
    By BigWumpus in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th April 2005, 07:15

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