I2C Frame structure Understanding | I2C data transmission

  Рет қаралды 45,084

Foolish Engineer

Foolish Engineer

Күн бұрын

#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

Пікірлер: 64
@RajuBhaai-ue1ku
@RajuBhaai-ue1ku 3 жыл бұрын
haven't seen such a good animated video explanation. Good work!
@FoolishEngineer
@FoolishEngineer 3 жыл бұрын
Glad you liked it! Thank you so much for watching the video!
@CienciaOpenSource
@CienciaOpenSource 2 ай бұрын
Clear explanation, straight to the point and correct. Thank you very much for the video, I'm sure it helped a lot of people!
@lone1derer311
@lone1derer311 9 ай бұрын
Great explanation and visualization! 😀 👍
@jonathanfairchild
@jonathanfairchild 2 жыл бұрын
Both of these videos are absolutely fantastic! Been trying to setup i2c on some microcontrollers and this has helped me understand. Thanks!
@FoolishEngineer
@FoolishEngineer 2 жыл бұрын
Thank you so much! Please show support to my video with Super thanks.
@moinshaikh6684
@moinshaikh6684 2 жыл бұрын
superb video I've ever watched in my lofe on communications, tons of thaks for makers efforts.
@FoolishEngineer
@FoolishEngineer 2 жыл бұрын
Thank you, please subscribe to my channel for more such videos!
@KevinJohnMulligan
@KevinJohnMulligan 2 жыл бұрын
Your explanation was very clear and I really liked the toy car analogy.
@FoolishEngineer
@FoolishEngineer 2 жыл бұрын
Thank you so much, Glad you liked it!!
@NfcRfid
@NfcRfid Жыл бұрын
Great explanation. I have rfid access control. It has one port vcc, gnd, sda and scl. What would be its function at that port?
@PreludeSon
@PreludeSon 10 ай бұрын
The illustration is amazing, keep up the good work. Do you have DDR example?
@pcbworks
@pcbworks 2 жыл бұрын
Sure that it will be watched by millions in 2 years!
@FoolishEngineer
@FoolishEngineer 2 жыл бұрын
Thank you so much!!
@abme0900
@abme0900 9 ай бұрын
Great content. thank you!
@FoolishEngineer
@FoolishEngineer 9 ай бұрын
Glad you liked it!
@mehmetdemir5655
@mehmetdemir5655 2 жыл бұрын
This is the only correct video of i2c, it is a masterpiece sir
@FoolishEngineer
@FoolishEngineer 2 жыл бұрын
Thank you so much for watching!! Please don't forget to subscribe to our channel
@AbhaySingh-kn8jz
@AbhaySingh-kn8jz Жыл бұрын
very Nice
@anurajs811
@anurajs811 3 жыл бұрын
Awesome....
@FoolishEngineer
@FoolishEngineer 3 жыл бұрын
Thanks 🤗
@mrunalahirao9256
@mrunalahirao9256 3 жыл бұрын
Very nicely explained 👍
@FoolishEngineer
@FoolishEngineer 3 жыл бұрын
Glad you liked it
@timse699
@timse699 3 жыл бұрын
well done!
@FoolishEngineer
@FoolishEngineer 2 жыл бұрын
Thank you so much, Glad you liked it!!
@moinshaikh6684
@moinshaikh6684 2 жыл бұрын
And please make More videos on embedded system, were here to watch
@FoolishEngineer
@FoolishEngineer 2 жыл бұрын
Working on it!! Soon I'll.
@jonathangadielramirezmarti8224
@jonathangadielramirezmarti8224 Жыл бұрын
Super
@chetananam9141
@chetananam9141 7 ай бұрын
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!
@FoolishEngineer
@FoolishEngineer 7 ай бұрын
Thank you so much!
@ideamania9798
@ideamania9798 2 жыл бұрын
I am using an IC for BMS, can you tell me how can we know whether our IC is communicating or not
@nakulsingh8444
@nakulsingh8444 2 жыл бұрын
Awesome 😎
@FoolishEngineer
@FoolishEngineer 2 жыл бұрын
Thank you so much for watching!! Please don't forget to subscribe to our channel
@videoalyoum5904
@videoalyoum5904 Жыл бұрын
Good❤🎉❤🎉
@yametekudasaisensei539
@yametekudasaisensei539 Жыл бұрын
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 ?
@NN-uf5xt
@NN-uf5xt 3 жыл бұрын
great
@FoolishEngineer
@FoolishEngineer 3 жыл бұрын
Thank you so much, Glad you liked it!!
@SathishKumar-rh5it
@SathishKumar-rh5it 2 жыл бұрын
But how the initial slave address defined for the RDC IC ?
@veerabalaji5031
@veerabalaji5031 Жыл бұрын
@Foolish_Engineer can you post video for AMBA AXI protocol
@kishor_VU2MZT
@kishor_VU2MZT 3 ай бұрын
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
@jagdeepsahEngineering
@jagdeepsahEngineering 6 ай бұрын
🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉Very fantasy
@ryderman5329
@ryderman5329 Жыл бұрын
aren't pin signatures wrong on this rtc
@vikrantmakar4597
@vikrantmakar4597 3 жыл бұрын
Big fan
@FoolishEngineer
@FoolishEngineer 3 жыл бұрын
Loads of Love Vicky!!
@kavithaseepana3855
@kavithaseepana3855 Жыл бұрын
If two masters want to send the data at same time then how?
@dhruvchoksi826
@dhruvchoksi826 Жыл бұрын
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.
@ShivamKumar-ky6vm
@ShivamKumar-ky6vm 2 жыл бұрын
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 ??
@sabilibili2271
@sabilibili2271 2 жыл бұрын
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.
@ShivamKumar-ky6vm
@ShivamKumar-ky6vm 2 жыл бұрын
@@sabilibili2271 awesome thanx for replying
@prasanthk8048
@prasanthk8048 3 жыл бұрын
Can we connect 50+ relays at a time to I2C Can we control all of these relays ?
@FoolishEngineer
@FoolishEngineer 3 жыл бұрын
Yes We can,
@sahanpweragoda
@sahanpweragoda 2 ай бұрын
Master put address to I2C bus. Then corrosponding slave identify and match with his own address . Then slave say Hi to master ( send ACK to master) How slave match address which is send by master . Which register compare received address and its own address . Thanks.
@mathewm3419
@mathewm3419 Жыл бұрын
When the address Matches with a slave in multiple slave scenario,will the other slaves remain shutoff until stop command? How is this achieved?
@FoolishEngineer
@FoolishEngineer Жыл бұрын
have you faced this in your design?
@mathewm3419
@mathewm3419 Жыл бұрын
@@FoolishEngineer no I was just curious.
@paragsangtani3544
@paragsangtani3544 3 жыл бұрын
Why in i2c data frame is always MSB why not LSB?
@FoolishEngineer
@FoolishEngineer 3 жыл бұрын
It is the standard rule Just like, we write address as 221B, Baker street, London, UK & not as UK, London, Baker Street, 221B
@paragsangtani3544
@paragsangtani3544 3 жыл бұрын
@@FoolishEngineer Really? generally we use LSB as operation why they take MSB isn't it weird....
@FoolishEngineer
@FoolishEngineer 3 жыл бұрын
@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!
@FoolishEngineer
@FoolishEngineer 3 жыл бұрын
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.
@RilwanullahMN
@RilwanullahMN 3 жыл бұрын
It is Big Endian
@woodperfekt
@woodperfekt 9 ай бұрын
I like your foolishness
@bonafontciel
@bonafontciel Жыл бұрын
In minute 3:25 you say an interrupt is generated. Where is the interrupt generated ? Master or Slave?
@FoolishEngineer
@FoolishEngineer Жыл бұрын
Master creates the interrupt
Basics of UART Communication | UART Frame Structure | RS 232 Basics | Part1
10:27
🤔Какой Орган самый длинный ? #shorts
00:42
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 8 МЛН
Женская драка в Кызылорде
00:53
AIRAN
Рет қаралды 409 М.
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 9 МЛН
Reliable data transmission
43:54
Ben Eater
Рет қаралды 1,6 МЛН
How I2C Communication Works and How To Use It with Arduino
9:57
How To Mechatronics
Рет қаралды 1,5 МЛН
SPI communication Data Transmission | SPI communication Daisy chain
7:23
CAN Frame structure Understanding | CAN communication Explained
10:08
Foolish Engineer
Рет қаралды 26 М.
Understanding I2C
10:58
Rohde Schwarz
Рет қаралды 71 М.
Basics of I2C communication | Hardware implementation of I2C bus
6:48
Foolish Engineer
Рет қаралды 75 М.
Basics of I2C on Linux - Luca Ceresoli, Bootlin
48:57
The Linux Foundation
Рет қаралды 11 М.
How does CAN data flow? CAN data flow explained
7:30
Foolish Engineer
Рет қаралды 22 М.
What Is...I2C?
6:25
Microchip Technology
Рет қаралды 67 М.
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 1,9 МЛН
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 9 МЛН
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 4,3 МЛН
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 2,5 МЛН
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 2,2 МЛН
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 401 М.