Phillip Stanley-Marbell
Foundations of Embedded Systems
Department of Engineering, University of Cambridge
http://physcomp.eng.cam.ac.uk
Topic 09: Digital Sensor and Actuator I/O
(~30 minutes)
Version 0.2020
(Video)
20
Intended Learning Outcomes for This Topic
2
Design an I2C implementation that trades I/O speed for I/O power
By the end of this topic, you will be able to:
Explain the difference between I2C and SPI
Interpret a SPI/I2C sensor’s datasheet and determine how to control it
Describe common serial I/O interfaces used in embedded systems
Choose sensors with alternative I/O interfaces when SPI/I2C are not a good fit
20
Embedded Systems: Computation + Sensors
3
(a) KL03 ARM Cortex M0+ Microcontroller. (Image: Freescale.)
(b) iCE40 FPGA. (Image: Lattice semiconductor.)
(c) A few sensors. The devices are 3–5mm on a side. (Image: Bosch Sensortec.)
(d) Modern sensor ICs often comprise
a transducer IC paired inside the same
IC package with a mixed-signal IC for
signal conditioning and processing.
(Image: Bosch Sensortec.)