Serial peripheral interface
Upcoming SlideShare
Loading in...5
×
 

Serial peripheral interface

on

  • 614 views

Serial Communication Protocol

Serial Communication Protocol

Statistics

Views

Total Views
614
Views on SlideShare
612
Embed Views
2

Actions

Likes
0
Downloads
13
Comments
0

1 Embed 2

http://www.slideee.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Serial peripheral interface Serial peripheral interface Presentation Transcript

  • Serial Peripheral Interface Abhijeet Kapse
  • Index  Introduction  Overview  Communication  Advantages  Disadvantages  Applications
  • Introduction  Communication Protocol Developed By Motorola  Four Wire Protocol  Serial Interface  Master-Slave Approach  Synchronous- Data clocked with Clock Signal  Data Rate-10mbps View slide
  • Overview Simple SPI Protocol Specifies 4 Signal Wires 1. Master Out Slave In (MOSI) 2. Master In Slave Out (MISO) 3. Serial Clock (SCLK) 4. Slave Select (SS) View slide
  • Single Master Single Slave  • •  • • Master Initiates the Connection Controls SCLK and Data transfer Slave Transmits Data Receives Data SCLK MOSI Master MISO SS Slave
  • Single Master Multiple Slave SCLK MOSI Master MISO SS1 SS2 SCLK MOSI MISO SS SCLK MOSI MISO SS
  • How Do They Communicate  Communication Initiated by Master only  Master Configures the clock – Frequency less than equal to maximum frequency Slave Support  Master Selects Slave – By Pulling chip select(SS) of particular Slave-peripheral to Low State
  • Advantages  Full Duplex Communication  Higher Throughput than I2C  Not Limited to 8 bit words in case of bit transferring  Arbitrary choice of message size, content and Purpose  Low Power
  • Disadvantages  Requires more pins than I2C  No hardware flow control  No Slave Acknowledgement  Multi Master Difficult to Implement  Short Distance
  • SPI Peripherals  Converters (ADC, DAC)  Memories (EEPROM, RAM’s, Flash)  Sensors (Temperature, Humidity, Pressure)  Real Time Clocks  Misc.- Potentiometers, LCD controllers, UART’s, USB controller, CAN controller, amplifiers