HELP What PIC to use for my project

Discussion in 'Embedded Systems and Microcontrollers' started by icem, Feb 2, 2011.

  1. icem

    Thread Starter New Member

    Nov 15, 2009
    26
    0
    I need to choose a PIC which will be connected to an RF Transmitter/ receiver, via SPI interfacing.

    Can anyone recommend what PIC i could use.

    Thank you
     
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
  3. icem

    Thread Starter New Member

    Nov 15, 2009
    26
    0
    Thank you very much for your help
     
  4. icem

    Thread Starter New Member

    Nov 15, 2009
    26
    0
    Most of the PIC in the PIC18F family have something called MSSP module which, from the microchip website can be used for SPI interfacing.

    Does anyone know how you can do this
     
  5. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    You will find all relevant information in the datasheet.
     
  6. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,884
    1,005
    I am just getting started on the whole protocol thing myself. I did some searching and it looks like MSSP might be a form or subset of SPI.

    But first you need to determine if you need SPI. What makes you think so? Does your transmitter say it needs it?
     
  7. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
  8. AlexR

    Well-Known Member

    Jan 16, 2008
    735
    54
    An even better Microchip engine is http://www.microchip.com/maps/microcontroller.aspx
    Just plug in the features you need and it comes back with a list of PICs that will suit your requirements.
     
  9. icem

    Thread Starter New Member

    Nov 15, 2009
    26
    0
    Yes the transmitter/receiver im using is the ALPHA TRANSMITTER / RECEIVER MODULES model numbers are
    ALPHA-TX433S
    ALPHA-RX433S
    I bought them from maplins, if you look at the data sheets it uses SPI Interfacing.

    From the research i have done these module are, to me, clear to how the data is transmitted.
     
  10. icem

    Thread Starter New Member

    Nov 15, 2009
    26
    0
    Also is it possible even if the PIC i use does not have a built in function for SPI, can i use spare IO ports as the lines for SPI.

    To my knowledge SPI interfacing has 4 line;
    serial clock
    serial data output
    serial data input
    Chip select (optional)
     
  11. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,884
    1,005
    Yes it is possible. Check the C18 Microchip Library documentation. I believe there is a software version of SPI. Basically, it bit bangs a couple of your regular pins.
     
Loading...