Need Help with PIC as SPI Slave


Results 1 to 4 of 4

Threaded View

  1. #2
    PICtron's Avatar
    PICtron Guest

    Question Mssp?

    Is there really no one who can help?

    I think the MSSP module is the one to use.
    But I'm really struggling with it.

    What registers are to be set and how do I set them?

    And how do I sync to the incomming datastream?

    Here some more details:

    Incomming data is in bursts of two packets (four bytes each packet).
    there is a delay of about 200µS between two packets of a burst
    and there is a delay of about 200 ms between two bursts.
    The clock idles HIGH

    I'm planning to use a 16F876A @ 20MHz

    Any code snippet or advise will be appreciated.
    Last edited by PICtron; - 27th July 2005 at 22:25.

Similar Threads

  1. Reading a slave USB with a pic
    By pcaccia in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 25th October 2008, 12:00
  2. Using SPI with External Interrupts
    By shaiqbashir in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th June 2008, 04:08
  3. 16-bit SPI problem
    By shaiqbashir in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th June 2008, 15:42
  4. SPI configuration PIC versus Atmel
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th July 2007, 19:17
  5. How to configure SPI in PICBASIC PRO?
    By moogle in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 15th April 2007, 18:31

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