Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
13Activity
0 of .
Results for:
No results containing your search query
P. 1
spi

spi

Ratings:

2.0

(1)
|Views: 152 |Likes:
Published by api-3834772

More info:

Published by: api-3834772 on Nov 25, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

\u2122
SPI
1
Getting Started: SPI
\u00a9 Date:
SPI
SPI
\u2122

Overview and Use of the
PICmicro Serial Peripheral
Interface

Overview and Use of the
PICmicro Serial Peripheral
Interface

In this presentation, we will look at what the Serial Peripheral Interface, otherwise
known as the SPI, is, and how it is used to communicate data to and from the
PICmicro microcontroller.

SPI is frequently used when few I/O lines are available, but communication between
two or more devices must be fast and easy to implement.
2
Getting Started: SPI
\u00a9 Date:
SPI
SPI
SPI
lCovered Topics:

lOverview of SPI
lUsing SPI on the PICmicro\u00ae MCU
lExample: A code walk-though for an SPI

Master and Slave
lFinding More Information
lCovered Topics:

lOverview of SPI
lUsing SPI on the PICmicro\u00ae MCU
lExample: A code walk-though for an SPI

Master and Slave
lFinding More Information
In this presentation, we will discuss the following topics:
We will first cover an Overview of SPI.
This section of the tutorial will introduce you to SPI and its concepts.
Next, we will examine the use of SPI on the PICmicro MCU.
The details of how SPI is implemented on a PICmicro device will be examined.
Then, a Code Walkthrough will be given.
The walkthough will explore code for both an SPI Master and SPI Slave. The
example will have the Master generate data for sending to the slave.
Finally, there will be a few resources given at the end of the presentation. These
resources will allow you to explore in more detail the SPI interface.
3
Getting Started: SPI
\u00a9 Date:
SPI - Overview
SPI
SPI-
-Overview
Overview
lSPI stands for Serial Peripheral Interface
lUsed for moving data simply and quickly
from one device to another

lSerial Interface
lSynchronous
lMaster-Slave
lData Exchange

lSPI stands for Serial Peripheral Interface
lUsed for moving data simply and quickly
from one device to another

lSerial Interface
lSynchronous
lMaster-Slave
lData Exchange

SPI stands for Serial Peripheral Interface.

SPI is a synchronous protocol that allows a master device to initiate communication with a slave device. Data is exchanged between these devices. We will look at this more in detail as we progress though this tutorial.

SPI is implemented in the PICmicro MCU by a hardware module called the
Synchronous Serial Port or the Master Synchronous Serial Port. This module is
built into many different PICmicro devices. It allows serial communication between
two or more devices at a high speed and is reasonably easy to implement.

Activity (13)

You've already reviewed this. Edit your review.
1 hundred reads
ALi liked this
ALi liked this
tuyen1989 liked this
tuyen1989 liked this
cuterose95 liked this
Mick Parry liked this
Mick Parry liked this
nishant_nikhar liked this
vinavieira liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->