HELP What PIC to use for my project

Thread Starter

icem

Joined Nov 15, 2009
26
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
 

Thread Starter

icem

Joined Nov 15, 2009
26
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
 

spinnaker

Joined Oct 29, 2009
7,830
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
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?
 

AlexR

Joined Jan 16, 2008
732
It will depend on your programmer unit. Check which PICs that are compatible with your programmer. From the top of my head I would recommend a PIC18F type chip with SPI. And using C as your programming language
You can use this site to find a chip http://www.microchip.com/ParamChartSearch/chart.aspx?branchID=1004&mid=10&lang=en&pageId=74
Oh and please do not use a 16F84 type chip. Use a more modern one with more functions.
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.
 

Thread Starter

icem

Joined Nov 15, 2009
26
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?
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.
 

Thread Starter

icem

Joined Nov 15, 2009
26
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)
 

spinnaker

Joined Oct 29, 2009
7,830
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)
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.
 
Top