SPI PIC to PIC Bi-Directional Communication


Closed Thread
Results 1 to 6 of 6
  1. #1

    Default SPI PIC to PIC Bi-Directional Communication

    Has anyone done this? If so how hard is it to talk to each one of the PICs? How do you send and receive information? I'm debating on whether to use SPI or plain serial to have two MCU talk to each other.

  2. #2
    Join Date
    Oct 2006
    Posts
    11

    Default PIC to PIC communication via SPI

    hi

    i m also doing the same pic to pic comm via spi.i need a help from you.i m using 16f877a.can i get the source code.i m trying to transmit a data from one pic and receiving the data in other side pic and displaying the received data in the lcd.

    sakthi

  3. #3

    Default

    If I had the code I would love to share it. Unfortunately I received no help with this posting.

  4. #4
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251

    Default

    I did some projects with hserin and hserout up to 250000 baud.
    Just test on a special character and the give the rest of the data. This will work in both directions and also from a picchip to a pc and visa versa.

  5. #5
    Join Date
    Jun 2005
    Location
    Penang
    Posts
    40

    Lightbulb What?

    Just goto Microengineeringlabs website and look for the example.I have checked and used the code but i face some weird problem with it.Sorting it out for now.

  6. #6
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by sakthi View Post
    hi

    i m also doing the same pic to pic comm via spi.i need a help from you.i m using 16f877a.can i get the source code.i m trying to transmit a data from one pic and receiving the data in other side pic and displaying the received data in the lcd.

    sakthi



    You don't ASK for much, do ya?


    hi
    i need the code for usart communication between two PICs(16f877a).i tried a lot for reception without using interrupt method,if u have time plz help me to do the program.
    Sakthi

    hi miseter
    i tried the coding by setting trisc as input port but i didnt get the output.plz help me to solve the prblm.
    Sakthi

    if u find any wrong in my code plz help me to correct it
    -Sakthi

    hi,
    i m doing project in rfid.i need the details abt the power source for that rfid reader,i m using 125khz reader.if any one knows plz help and provide some details abt the power supply circiut.
    sakthi

    Hi all,
    I need the procedure how to install the ic prog in XP for PIC 16F877A.I tried a lot but i didnt get the output the program was not burn in to IC.Plz help me
    -Sakthi

    hi,
    i m doing a project using PIC,now i m trying to transmit a charater from one PIC and to receive that character in another PIC via SPI.I tried a lot using EMBC code.Please help me.if u can give the code,i m using PIc16f877A.
    sakthi

    Hi
    thanks for your above reply.i installed the ig prog in a successfull manner.now i need the baud rate calculation formula for the 20khz (oscillator frequency)pic16f877a controller,totransmit the data via USART.hope u will reply me.
    -Sakthi

    Hi
    i m need of code for transmitting data from one PIC and another PIc receives the transmitted data,the communication is via SPI.i tried a lot bt i didnt get the o/p.i want to know what are the registers i have to configure.and i wantto know whether i have to dowload the transmitter prgm in one PIC and receiver program in another program.plz help me,i need it urgently.plzzzzzzzzzzzzzz.i m using pic16f877a
    Reply With Quote

Similar Threads

  1. 2 PIC, serial communication
    By lightgreen in forum Serial
    Replies: 6
    Last Post: - 21st November 2009, 15:20
  2. SPI Communication between two pic 16f877
    By anti83 in forum Serial
    Replies: 1
    Last Post: - 5th July 2008, 21:06
  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. Pic to Pic communication?
    By Rob Martin in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th April 2004, 19:41

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