Revised: Aug 1, 20141 ECE263 Embedded System Design Lessons 27, 28 Serial Peripheral Interface.
-
Upload
ursula-hamilton -
Category
Documents
-
view
213 -
download
0
description
Transcript of Revised: Aug 1, 20141 ECE263 Embedded System Design Lessons 27, 28 Serial Peripheral Interface.
![Page 1: Revised: Aug 1, 20141 ECE263 Embedded System Design Lessons 27, 28 Serial Peripheral Interface.](https://reader036.fdocuments.us/reader036/viewer/2022082908/5a4d1ad07f8b9ab0599714c9/html5/thumbnails/1.jpg)
Revised: Aug 1, 2014 1
ECE263 Embedded System Design
Lessons 27, 28Serial Peripheral Interface
![Page 2: Revised: Aug 1, 20141 ECE263 Embedded System Design Lessons 27, 28 Serial Peripheral Interface.](https://reader036.fdocuments.us/reader036/viewer/2022082908/5a4d1ad07f8b9ab0599714c9/html5/thumbnails/2.jpg)
Revised: Aug 1, 2014 2
Serial Peripheral Interface
• Synchronous serial communication system• Transmitter and receiver share common clock• Clock signal provided by Master configured
device and fed to Slave configured devices• SPI data link is considerably faster than the SCI at
the expense of an additional line• SPI operates as a geographically distributed shift
register
![Page 3: Revised: Aug 1, 20141 ECE263 Embedded System Design Lessons 27, 28 Serial Peripheral Interface.](https://reader036.fdocuments.us/reader036/viewer/2022082908/5a4d1ad07f8b9ab0599714c9/html5/thumbnails/3.jpg)
Revised: Aug 1, 2014 3
Serial Peripheral Interface
• SPI acts as 16-bitdistributed shift register• Shares common clock(SCK) provided byMaster configured device• Signals
– SCK– MOSI– MISO– Slave Select (SS)
![Page 4: Revised: Aug 1, 20141 ECE263 Embedded System Design Lessons 27, 28 Serial Peripheral Interface.](https://reader036.fdocuments.us/reader036/viewer/2022082908/5a4d1ad07f8b9ab0599714c9/html5/thumbnails/4.jpg)
Revised: Aug 1, 2014 4
Serial Peripheral Interface
![Page 5: Revised: Aug 1, 20141 ECE263 Embedded System Design Lessons 27, 28 Serial Peripheral Interface.](https://reader036.fdocuments.us/reader036/viewer/2022082908/5a4d1ad07f8b9ab0599714c9/html5/thumbnails/5.jpg)
Revised: Aug 1, 2014 5
Serial Peripheral Interface
![Page 6: Revised: Aug 1, 20141 ECE263 Embedded System Design Lessons 27, 28 Serial Peripheral Interface.](https://reader036.fdocuments.us/reader036/viewer/2022082908/5a4d1ad07f8b9ab0599714c9/html5/thumbnails/6.jpg)
Revised: Aug 1, 2014 6
SPI Activities
![Page 7: Revised: Aug 1, 20141 ECE263 Embedded System Design Lessons 27, 28 Serial Peripheral Interface.](https://reader036.fdocuments.us/reader036/viewer/2022082908/5a4d1ad07f8b9ab0599714c9/html5/thumbnails/7.jpg)
Revised: Aug 1, 2014 7
SPI Applications
• Extend features of 68HC12– additional memory components– Additional ports– Real-time clock– Phase-locked loop– FM transmitter/receiver– high-resolution analog-to-digital– LCD display– multi-channel digital-to-analog converter
![Page 8: Revised: Aug 1, 20141 ECE263 Embedded System Design Lessons 27, 28 Serial Peripheral Interface.](https://reader036.fdocuments.us/reader036/viewer/2022082908/5a4d1ad07f8b9ab0599714c9/html5/thumbnails/8.jpg)
Revised: Aug 1, 2014 8
SPI Applications- multi-channel digital-to-analog converter -
![Page 9: Revised: Aug 1, 20141 ECE263 Embedded System Design Lessons 27, 28 Serial Peripheral Interface.](https://reader036.fdocuments.us/reader036/viewer/2022082908/5a4d1ad07f8b9ab0599714c9/html5/thumbnails/9.jpg)
Revised: Aug 1, 2014 9
SPI Applications- multi-channel digital-to-analog converter -