LEC-13 - 13 Serial Peripheral Interface Serial Peripheral...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
13 Serial Peripheral Interface 4/5/2010 © Copyright Kenneth Short 2010 1 4/5/2010 © Copyright Kenneth Short 2010 1 Serial Peripheral Interface (SPI) Prof. Ken Short 4/5/2010 © Copyright Kenneth Short 2010 2 Overview SPI ± The Serial Peripheral Interface (SPI) is a popular synchronous serial communications protocol ± SPI is typically used to allow ICs on the same printed circuit board to communicate ± The project for the remaining laboratories will involve the design of an SPI system ± It will allow you to put into practice the concepts you have learned so far this semester as well as the concepts you will learn during the remainder of the semester
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
13 Serial Peripheral Interface 4/5/2010 © Copyright Kenneth Short 2010 2 4/5/2010 © Copyright Kenneth Short 2010 3 Project: SPI Test System ± You will design a configurable SPI master/slave system that can be used to test the SPI capabilities of other ICs ± The system will be implemented using a single FPGA ± The system will allow an operator to easily configure the SPI Test System to communicate with some target IC ± The system can then be used to test the operation of the target ICs SPI ± Since the system will provide functionality similar to an SPI in a microcontroller, we will start by developing an understanding of that functionality 4/5/2010 © Copyright Kenneth Short 2010 4 Microcontroller SPI Functionality ± In many applications serial bus systems have gained in popularity over parallel because they use fewer connections ± This is particularly true with microcontrollers where the number of pins is limited ± Serial buses allow a microcontroller to communicate with external peripheral devices ± Serial buses also allow inter-processor communication in multi-microcontroller systems (multi-master systems)
Background image of page 2
13 Serial Peripheral Interface 4/5/2010 © Copyright Kenneth Short 2010 3 4/5/2010 © Copyright Kenneth Short 2010 5 Connecting Systems or Peripherals Using Buses ± Information (data) is transferred from one system (or subsystem) to another using buses ± Two categories of buses exist: parallel buses and serial buses ± A parallel bus transfers an one n-bit word of data in a single bus cycle ± A serial bus transfers an n-bit word of data in n bus cycles ± As a first approximation, we can say that a parallel bus is n times faster in transferring data as a serial bus 4/5/2010 © Copyright Kenneth Short 2010 6 Parallel Bus Microcontroller address data control Peripheral Peripheral Peripheral n
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
13 Serial Peripheral Interface 4/5/2010 © Copyright Kenneth Short 2010 4 4/5/2010 © Copyright Kenneth Short 2010 7 Serial Bus Microcontroller select data clock Peripheral Peripheral Peripheral 1 4/5/2010 © Copyright Kenneth Short 2010 8 Serial Bus Cascade Microcontroller data clock Peripheral Peripheral Peripheral 1
Background image of page 4
13 Serial Peripheral Interface 4/5/2010 © Copyright Kenneth Short 2010 5 4/5/2010 © Copyright Kenneth Short 2010 9 Serial Buses ± There are a large number of different serial buses
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/30/2010 for the course ESE 382 taught by Professor Short during the Spring '10 term at SUNY Stony Brook.

Page1 / 26

LEC-13 - 13 Serial Peripheral Interface Serial Peripheral...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online