I2C Frame structure Understanding | I2C data transmission
ฝัง
- เผยแพร่เมื่อ 5 พ.ค. 2024
- #communicationprotocols #I2C #I2Cframestructure
In this video we will see:
0:00 Index
01:04 Frame structure of I2C communication
02:08 I2C data example
03:09 i2C waves
03:48 Data sampling
04:32 Read or Write operation
04:57 I2C communication Analogy
06:23 Acknowledgement in I2C communication
07:17 Data transmission Tail
07:44 Acknowledgement & NACK in I2C
08:20 Read operation in I2C communication
More Videos:
Embedded Systems:
I2C Communication Part 1: • Basics of I2C communic...
UART Communication Part 2: • Understanding UART Com...
UART Communication Part 1: • Basics of UART Communi...
Basics of Communication: • Communication protocol...
Power Electronics:
Power Factor Correction - • Power Factor Correctio...
Power Factor - • What is Power Factor |...
Powe Supplies:
Full Bridge Converter - • How does a Full Bridge...
Half Bridge Converter - • How does a Half Bridge...
Zeta Converter - • How does a Zeta conver...
Cuk Converter - • How does a Cuk convert...
Buck-boost converter - • How does a Buck Boost ...
Double Ended Forward converter - • Double Ended Forward C...
Active Clamp Forward Converter - • Active Clamp Forward C...
Forward Converter - • How does a Forward con...
SEPIC converter part 2 - • SEPIC converter design...
SEPIC converter part 1 - • SEPIC converter design...
Flyback converter part 2 - • Flyback converter desi...
Flyback converter part 1 - • Flyback converter desi...
Push-pull converter part 2 - • How to design a Push p...
Push-pull converter part 1 - • How to design a Push p...
Boost converter design - • How to design a Boost ...
Buck converter design - • How to design a Buck C...
SMPS basics - • Basics of Switch Mode ...
Electric Vehicles:
Battery management system 2 : • How does a BMS (Batter...
Battery management system 1 : • What is a Battery Mana...
Battery basics part 4 : • Electric Vehicle batte...
Battery basics part 3 : • What are the types of ...
Battery basics part 2 : • What is SOC, SOH, SOP,...
Battery basics part 1 : • Which Battery is used ...
EV motor controllers part 2: • Motor Controllers in E...
EV motor controllers part 1: • Motor Controllers in E...
Charging of EVs: • Working of Electric Ve...
EV basics: • How does an Electric V...
EV parameters: • What is inside the Ele...
EV Motors: • Motors used in electri...
---------------------------------------------------------------------------
Check us out!
Facebook - / foolishengineer-407598...
Instagram - / foolish_engineer
Subscribe now for more videos like this!
Attributes:
1. microcontroller - a href="www.freepik.com/free-photos-v..."Background vector created by freepik - www.freepik.com/a
2. IC - a href="www.freepik.com/free-photos-v..."Water vector created by macrovector - www.freepik.com/a - วิทยาศาสตร์และเทคโนโลยี
Clear explanation, straight to the point and correct. Thank you very much for the video, I'm sure it helped a lot of people!
haven't seen such a good animated video explanation.
Good work!
Glad you liked it! Thank you so much for watching the video!
Great explanation and visualization! 😀 👍
Both of these videos are absolutely fantastic! Been trying to setup i2c on some microcontrollers and this has helped me understand. Thanks!
Thank you so much! Please show support to my video with Super thanks.
very Nice
Sure that it will be watched by millions in 2 years!
Thank you so much!!
Your explanation was very clear and I really liked the toy car analogy.
Thank you so much, Glad you liked it!!
superb video I've ever watched in my lofe on communications, tons of thaks for makers efforts.
Thank you, please subscribe to my channel for more such videos!
The illustration is amazing, keep up the good work. Do you have DDR example?
This is the only correct video of i2c, it is a masterpiece sir
Thank you so much for watching!! Please don't forget to subscribe to our channel
Great explanation. I have rfid access control. It has one port vcc, gnd, sda and scl. What would be its function at that port?
Awesome....
Thanks 🤗
Great content. thank you!
Glad you liked it!
well done!
Thank you so much, Glad you liked it!!
Very nicely explained 👍
Glad you liked it
Super
And please make More videos on embedded system, were here to watch
Working on it!! Soon I'll.
Awesome 😎
Thank you so much for watching!! Please don't forget to subscribe to our channel
Good❤🎉❤🎉
great
Thank you so much, Glad you liked it!!
Dear genius "foolish engineer", you animate & explain very nicely! Great effort & great video! Please make videos on microcontrollers & arduino, raspi etc. Good luck to your channel with a million wishes for a million (& more) sibscribers!
Thank you so much!
I am using an IC for BMS, can you tell me how can we know whether our IC is communicating or not
i didnt understand properly the example with the registers part, the byte of the registers means an adress for store the data inside the rtc?, because when sending more bytes in series how do know each byte to which register be ?
@Foolish_Engineer can you post video for AMBA AXI protocol
Big fan
Loads of Love Vicky!!
But how the initial slave address defined for the RDC IC ?
I believe there has to be a repeat start in read operation which is missing in the explanation. Do correct me if I am wrong.
hello dear nice video ,,, i m not from engg background but made one project with Arduino Uno qmc588l and 16x2 LCD for azimuth sensing , its all work perfect with short length jumpper wire ,, once i connected qmc588l with 15 meter long 1 sq mm thick wire lcd display not showing qmc599l readings , how to fix it ? ,, my project requirement is to sens azimuth from antenna position from long distance ,, thank you
🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉Very fantasy
aren't pin signatures wrong on this rtc
If two masters want to send the data at same time then how?
hello one question , in order to read is it neccessary to send something first ?? like in your case parag gives guddu a car , can there be a case in which he just wants to talk to guddu and no gift given initaially ??? suppose in real world i want to read accelerometers data , do i have to send something to accelerometers and then read , bit confusing ??
cause there are "more than one" data that we can read from RTC like day, time, months, etc so we have to tell the slave which data we wanna get from him. that's why we need to send "something" first to RTC.
@@sabilibili2271 awesome thanx for replying
Can we connect 50+ relays at a time to I2C
Can we control all of these relays ?
Yes We can,
When the address Matches with a slave in multiple slave scenario,will the other slaves remain shutoff until stop command? How is this achieved?
have you faced this in your design?
@@FoolishEngineer no I was just curious.
Why in i2c data frame is always MSB why not LSB?
It is the standard rule
Just like, we write address as 221B, Baker street, London, UK & not as UK, London, Baker Street, 221B
@@FoolishEngineer Really? generally we use LSB as operation why they take MSB isn't it weird....
@Parag Sangtani Hi Parag,
Thanks for your question and following our channel. Your question seems valid but I couldn’t find an exact answer for that.
What I am referring to is, this spec sheet
www.nxp.com/docs/en/user-guide/UM10204.pdf .
In the byte order, they just mention that MSb first. I feel, maybe internal shift register of I2C devices is configured to send MSB first. I hope you know that in UART it is configured as LSB first.
If you feel our answer is incorrect and you get some reference to that, please feel free to share that with us. It will surely help us!
For an example of shift register placement,
Please refer section - Data transmission of this wiki page
en.m.wikipedia.org/wiki/Serial_Peripheral_Interface
And please check the first diagram and it’s shift register placement which makes MSB out first.
I wish I could draw here and explain to you in detail.
Still, it may give you an idea of how to shift register are placed in any slave device.
It is Big Endian
I like your foolishness
In minute 3:25 you say an interrupt is generated. Where is the interrupt generated ? Master or Slave?
Master creates the interrupt