Understanding I2C

  Рет қаралды 64,562

Rohde Schwarz

Rohde Schwarz

Күн бұрын

This video provides a brief technical overview of the I2C protocol and how it is used to transfer digital information.
Learn more about Rohde & Schwarz Oscilloscopes: rsna.us/6058gzlvA
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

Пікірлер: 67
@miguelcaldeirinha5316
@miguelcaldeirinha5316 2 ай бұрын
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
@pauldenisowski
@pauldenisowski Ай бұрын
Thank you!
@evertonf.dossantos4511
@evertonf.dossantos4511 5 ай бұрын
Thank you! This is the best explanation I've found in YT.
@pauldenisowski
@pauldenisowski 5 ай бұрын
Thank you - more to come!
@Annie_EE
@Annie_EE Жыл бұрын
This video saved me so much time - just the information I needed. Please make more!!!
@pauldenisowski
@pauldenisowski Жыл бұрын
Thank you! There are already videos on UART and SPI, and some videos on automotive protocols are currently under development as well.
@andychess
@andychess 5 ай бұрын
Super video. Just the right length and depth of content. Thank you!
@pauldenisowski
@pauldenisowski 5 ай бұрын
Thank you!
@wormdamage
@wormdamage 23 күн бұрын
That has got to be one of the best of these types of videos I've ever seen!
@pauldenisowski
@pauldenisowski 20 күн бұрын
Thank you! I also have videos on UART, SPI, and SPMI :)
@shizudaren
@shizudaren Ай бұрын
As a Communication and networking student, I can confirm that this is exactly what I learn in my 1 hour lecture
@pauldenisowski
@pauldenisowski 20 күн бұрын
Thanks!
@salarbasiri5959
@salarbasiri5959 9 ай бұрын
This is by far the best explaination
@pauldenisowski
@pauldenisowski 9 ай бұрын
Thank you!
@hklausen
@hklausen 11 ай бұрын
Good presentation. It's all very clear.
@pauldenisowski
@pauldenisowski 10 ай бұрын
Thanks for the feedback!
@pascalphase2556
@pascalphase2556 Ай бұрын
Very instructive vidéo ! Thank you from France...
@pauldenisowski
@pauldenisowski 20 күн бұрын
Merci!
@sawekky2392
@sawekky2392 Ай бұрын
I love this explanation. Thank you!
@pauldenisowski
@pauldenisowski Ай бұрын
Thanks!
@mevez3185
@mevez3185 2 ай бұрын
Excellent work. Thanks for your video
@pauldenisowski
@pauldenisowski Ай бұрын
Thanks!
@user-ds4mk7nb8q
@user-ds4mk7nb8q Ай бұрын
Great explanation. Thanks!
@pauldenisowski
@pauldenisowski Ай бұрын
Thanks!
@mums2109
@mums2109 3 ай бұрын
Fantastic video!
@pauldenisowski
@pauldenisowski 2 ай бұрын
Thank you!
@VIKAS-2003
@VIKAS-2003 4 ай бұрын
Best explanation... Thanks!!
@pauldenisowski
@pauldenisowski 4 ай бұрын
Thanks you!
@technical5880
@technical5880 24 күн бұрын
thank you, for the great job.
@kvedavyas2010
@kvedavyas2010 6 ай бұрын
Very good explanation.
@pauldenisowski
@pauldenisowski 5 ай бұрын
Thanks for watching!
@souzasilvestre
@souzasilvestre 6 ай бұрын
best explanation in the web
@pauldenisowski
@pauldenisowski 5 ай бұрын
Thanks!
@DanielGakpetor
@DanielGakpetor Ай бұрын
thanks, this was so clutch
@pauldenisowski
@pauldenisowski Ай бұрын
Thank you!
@ZirJo
@ZirJo 5 ай бұрын
Excellent! Thank you
@pauldenisowski
@pauldenisowski 4 ай бұрын
Thanks for watching!
@eitantal726
@eitantal726 7 ай бұрын
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
@pauldenisowski
@pauldenisowski 7 ай бұрын
Yes - I originally had a few slides about clock stretching but took them out in the interest of time / brevity. Thanks!
@eitantal726
@eitantal726 7 ай бұрын
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*.
@pauldenisowski
@pauldenisowski 7 ай бұрын
Yes, that’s what I meant :). Thanks!
@rodeliohernandez1647
@rodeliohernandez1647 3 ай бұрын
Thank you .
@dylanbaird74
@dylanbaird74 7 ай бұрын
dawg🐐🐐🐐🐐
@kufirre
@kufirre 5 ай бұрын
Very good video
@pauldenisowski
@pauldenisowski 5 ай бұрын
Appreciate it!
@7073shea
@7073shea 6 ай бұрын
Thank you!
@pauldenisowski
@pauldenisowski 5 ай бұрын
Thanks for the feedback!
@neelakantannilakantanswami4031
@neelakantannilakantanswami4031 3 ай бұрын
Thanks for the Video. This Video was very Useful. Can you post another i2c video Explaining about the Arbitration Process and Clock Stretching Concepts ?
@pauldenisowski
@pauldenisowski 2 ай бұрын
I just had this discussion with someone at work yesterday and will probably do a follow-up deeper dive video later this year
@GatoChupete
@GatoChupete Ай бұрын
Ty 🐐
@kakani7598
@kakani7598 Жыл бұрын
Thank you for the excellent video. Could you share your slide?
@pauldenisowski
@pauldenisowski Жыл бұрын
Thanks! We'll be publishing this same information in as a whitepaper / educational note as well.
@arunbennett9248
@arunbennett9248 9 ай бұрын
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?
@andresbarrera515
@andresbarrera515 8 ай бұрын
The sender sends the data, and the receiver responds to the received data with an ACK bit. Once the sender receives the ack bit, it continues sending the next byte, and waits again for the next ACK or NACK.
@bramlemmens6984
@bramlemmens6984 5 ай бұрын
legend
@pauldenisowski
@pauldenisowski 5 ай бұрын
Thanks you for the support!
@ElectroWolf_Arts
@ElectroWolf_Arts 11 ай бұрын
im confused , lets take the example of a 16x2 LCD display with I2C module , the LCD have VCC, GND,V0, A and K pins which are the power and light, and there is the D0-D7, RW, RS AND E for typing the characters so how on earth can the I2C deal with the RW , RS and E signals while the 8 bit DATA are occupied for the D0-D7
@shuyuanliu9797
@shuyuanliu9797 10 ай бұрын
That's a good question. 16x2 LCDs with the HD44780 controller chip (which is very common) can be configured to use a "4-bit mode" where only D4-D7 are used. In this mode, each data or command byte to the LCD is entered by sending two "half-bytes" in succession. This way D4-D7, RW, RS, E (and backlight control) can fit into 8 bits provided by the I2C I/O expander module. AFAIK, the LCDs with the PCF8574 I2C I/O expander all work this way. Even if this 4-bit mode didn't exist, you could choose a different I/O expander that provides more than 8 outputs. The PCF8574 happens to have only 8 outputs, so it uses the simplest protocol and just expects to be told the state of the 8 pins as a byte from I2C. However, for many other I2C I/O expanders especially those with more than 8 I/O lines, instead of just transferring a "plain" byte like that in each I2C frame, it expects commands telling it which pins to set high/low, which pins to set as inputs/outputs, etc. so that they are not limited to 8 I/O lines. An example of this is the TCA9539, a 16-bit I/O expander.
@ElectroWolf_Arts
@ElectroWolf_Arts 10 ай бұрын
@@shuyuanliu9797 thank god ,, sombody gived me a direct answer , its seems like 4 bit mode is the trick here , 00100000 to set that mode and since the D0-D3 are all zeros they can be ignored all the time ,now i can design the logic gate level circuit of that and compile it to FPGA ...... man you are a legend
@robertwatsonbath
@robertwatsonbath Жыл бұрын
Nicely edited to remove the NXT reference. Thank you. You're welcome.
@qwertz3813
@qwertz3813 Жыл бұрын
Is not I2C multimaster?
@pauldenisowski
@pauldenisowski Жыл бұрын
Good question. Yes, I2C allows any node to be the master: whichever node initiates the start condition becomes the master (see slide 5). Many I2C systems are however operated such that only one node is ever the master, but the protocol does allow for multimaster operation.
@brahmendrakumarpujala694
@brahmendrakumarpujala694 5 ай бұрын
🎯 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
@StandforAjdetray
@StandforAjdetray 5 ай бұрын
I am New 🤔
@beastcracker117
@beastcracker117 2 ай бұрын
Best video
@ahmadjaradat3011
@ahmadjaradat3011 3 ай бұрын
Thank you! This is the best explanation I've found in YT.
@pauldenisowski
@pauldenisowski 2 ай бұрын
Thanks - glad it was helpful! I have another serial protocol video coming in a few weeks
Understanding SPMI
13:52
Rohde Schwarz
Рет қаралды 1,9 М.
Understanding SPI
11:50
Rohde Schwarz
Рет қаралды 68 М.
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 6 МЛН
PINK STEERING STEERING CAR
00:31
Levsob
Рет қаралды 23 МЛН
ТАМАЕВ vs ВЕНГАЛБИ. Самая Быстрая BMW M5 vs CLS 63
1:15:39
Асхаб Тамаев
Рет қаралды 4,8 МЛН
PROTOCOLS: UART - I2C - SPI - Serial communications #001
11:58
Electronoobs
Рет қаралды 1,4 МЛН
Understanding Signal Integrity
14:06
Rohde Schwarz
Рет қаралды 77 М.
Part 2 - Understanding the pull-up resistors in the I2C interface
14:57
Making Sense of the World
Рет қаралды 1,9 М.
What is I3C®?
11:17
Microchip Technology
Рет қаралды 13 М.
I2C and SPI on a PCB Explained!
15:34
Altium Academy
Рет қаралды 138 М.
Understanding UART
6:11
Rohde Schwarz
Рет қаралды 172 М.
Understanding EMI Debugging with Oscilloscopes
9:39
Rohde Schwarz
Рет қаралды 19 М.
What is I2C, Basics for Beginners
18:30
nandland
Рет қаралды 161 М.
I2C Frame structure Understanding | I2C data transmission
10:26
Foolish Engineer
Рет қаралды 43 М.
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 660 М.
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,6 МЛН
Lid hologram 3d
0:32
LEDG
Рет қаралды 6 МЛН