Understanding I2C

preview_player
Показать описание
This video provides a brief technical overview of the I2C protocol and how it is used to transfer digital information.

Timeline:
00:00 Introduction
00:14 About I2C
01:00 Basic I2C topology
01:36 Overview of I2C frames
02:10 Start condition
02:51 Slave address
03:36 Aside: timing relationship between SDA and SCL
04:16 Read / write bit
04:51 Ack(knowledge) bit
05:32 Data byte(s)
06:06 Multiple data bytes
06:48 Stop condition
07:28 About “open drain”
08:14 Pull up resistor values
08:56 Modes / speeds
09:54 Summary
Рекомендации по теме
Комментарии
Автор

I am currently doing my master in eletronic Engineering and by far this is the best explanation i have found in the internet, very complete and easy to understand. Congrats

miguelcaldeirinha
Автор

Thank you! This is the best explanation I've found in YT.

evertonf.dossantos
Автор

I'm a beginner to all this EE stuff but I've dabbled for years. I've seen I2C thrown around a lot but I didn't understand what it meant. Your video helped me immensely. You earned a like and subscribe from me!

BeginnerMoto
Автор

This video saved me so much time - just the information I needed. Please make more!!!

Annie_EE
Автор

Super video. Just the right length and depth of content. Thank you!

andychess
Автор

9:52 detail about modes & speed: Clock stretching. If it wants to, during transfer the slave is allowed to hold the clock line low. The master has to wait until the clock line is released. The slave can effectively slow down the speed

eitantal
Автор

That has got to be one of the best of these types of videos I've ever seen!

wormdamage
Автор

As a Communication and networking student, I can confirm that this is exactly what I learn in my 1 hour lecture

shizudaren
Автор

7:47 note about open-drain terminology: Drain is actually plus (aka VDD). Source is ground (aka VSS). Open-drain means I can only connect to VSS, but not to VDD. so when he said a "logic that opens and closes a drain", he meant logic that can *open and close a source*.

eitantal
Автор

🎯 Key Takeaways for quick navigation:

00:00 🌐 *Overview of I2C Protocol*
- Brief introduction to I2C protocol.
- I2C developed by Philips in 1982.
- Purpose: Short-distance data communication using a synchronous Master-Slave protocol.
01:12 🔄 *I2C Topology and Connection*
- I2C topology involves a master connected to slave nodes.
- Two shared lines: SDA (Serial Data) and SCL (Serial Clock).
- Connection details: Shared pull-up resistors, dynamic addition/removal of devices.
01:40 📡 *I2C Frame Structure*
- I2C frames initiated by start conditions.
- Master sends slave address and read/write indication.
- Frame ends with a stop condition, ensuring bus availability.
03:49 ⏰ *Timing Relationship in I2C*
- SDA transitions only during the clock's low phase.
- Ensures unambiguous start and stop conditions.
- Crucial for preventing contention in data transmission.
05:02 🎭 *Read/Write Bit and Acknowledgment in I2C*
- Read/write bit indicates the master's intention.
- Acknowledge (ACK) bit confirms proper data reception.
- NACK (Negative Acknowledge) signifies lack of acknowledgment.
06:00 📊 *Data Transmission and Byte Handling*
- Data sent in 8-bit bytes, MSB first.
- Each byte individually acknowledged.
- Stop condition indicates the end of the frame.
07:38 🔗 *Role of Pull-Up Resistors in I2C*
- Pull-up resistors maintain idle high state.
- Open drain system ensures quick pull-down to ground.
- Pull-up resistor values affect communication speed.
09:19 🚀 *I2C Bus Speed Modes*
- Various modes with corresponding achievable speeds.
- High-speed and Ultra-fast modes modify standard I2C behavior.
- Practical data rate influenced by pull-up resistors and bus capacitance.
10:01 📝 *Summary of I2C Protocol*
- I2C widely used for short-distance data exchange.
- Master-slave communication through frames.
- Pull-up resistors, open-drain, start/stop sequences are key elements.

Made with HARPA AI

brahmendrakumarpujala
Автор

Good presentation. It's all very clear.

hklausen
Автор

NGL!! Best Explaination Boss! Too Good!!!!

tanmaygote
Автор

Very instructive vidéo ! Thank you from France...

pascalphase
Автор

Thanks for the Video. This Video was very Useful.
Can you post another i2c video Explaining about the Arbitration Process and Clock Stretching Concepts ?

neelakantannilakantanswami
Автор

Dear friends, I'm a little confused in the page "Aside: timing relationship between SDA and SCL". As you mentioned in the former page, the SDA and SCL are both high in the begaining, but why in this page it shows starts with low?

AlbertSong-StupidForOneSec
Автор

Why are there two separate lines for the data bits? Are they high and low at the same time? How does that work?

Ryan-qnwr
Автор

Thank you for the excellent video. Could you share your slide?

kakani
Автор

hi do you have any recommendation software to draw sda and scl frames?

sha_guns
Автор

Can someone tell me how this ack bit works? As in the video it is set by the receiver. So, the sender send the data and the ack is set by the receiver at the end? If yes how it happens can anyone explain?

arunbennett