In part of my Embedded Systems Explained series I'll be explaining the fundamentals of SPI & I2C and telling you how to experiment with them at home.
Texas Instruments MSP430 LaunchPad (US): https://amzn.to/3KzlePN
Texas Instruments MSP430 LaunchPad (UK): https://amzn.to/2UipjAq
MSP430 Microcontroller Basics - Book (US): https://amzn.to/2OY8tDT
MSP430 Microcontroller Basics - Book (UK): https://amzn.to/2P1QoVf
Last video: https://youtu.be/xaCAIZKu_zQ
Follow me on Instagram : http://instagram.com/TheFabytm
Like me on Facebook : http://www.facebook.com/TheFabytm
Secondary Channel : http://www.youtube.com/MoreTheFabytm
Follow me on Twitter : http://www.Twitter.com/TheFabytm
Register to get $5 coupon on PCB order: https://www.nextpcb.com/register?code=thefabytm
Try Amazon Prime with a free 30 day trial: https://amzn.to/2MG3A0T
Sign up for Airalo (international eSIM plans): https://www.airalo.com/?rfsn=4268870.6cf0a4
0:00 Introduction
0:17 Why do we need SPI & I2C?
1:37 SPI
5:09 I2C
8:41 How to experiment?
9:30 Outro
My name is Fabi and I am an Engineer and Tech Enthusiast from Romania. On my YouTube channel I do thorough reviews of gadgets, showcase my programming projects and show you which cars I am driving.
This is part 2 of my Embedded Systems Explained series!
Why do we need SPI and I2C though when we already have UART? Well, there's 2 main drawbacks to this serial communication. First of all, it's asynchronous, secondly, UART is meant for only two devices, whereas many times, multiple devices need to be connected to a system through the same communication protocol.
SPI or Serial Peripheral Interface is a communication protocol which allows for data transfer between multiple systems. The SPI protocol allows for only one controller (or main device) on the SPI bus.
I2C or Inter-Integrated Circuit allows for communication between multiple systems, with the difference being that the I2C protocol also allows for more than one controller on the I2C bus.