Рет қаралды 19,292
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): amzn.to/3KzlePN
Texas Instruments MSP430 LaunchPad (UK): amzn.to/2UipjAq
MSP430 Microcontroller Basics - Book (US): amzn.to/2OY8tDT
MSP430 Microcontroller Basics - Book (UK): amzn.to/2P1QoVf
Last video: • How To Learn Embedded ...
Follow me on Instagram : / thefabytm
Like me on Facebook : / thefabytm
Secondary Channel : / morethefabytm
Follow me on Twitter : / thefabytm
Register to get $5 coupon on PCB order: www.nextpcb.com/register?code...
Try Amazon Prime with a free 30 day trial: amzn.to/2MG3A0T
Sign up for Airalo (international eSIM plans): www.airalo.com/?rfsn=4268870....
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 KZbin 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.