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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 63

  • @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!

  • @RajuBhaai-ue1ku
    @RajuBhaai-ue1ku 3 ปีที่แล้ว +11

    haven't seen such a good animated video explanation.
    Good work!

    • @FoolishEngineer
      @FoolishEngineer  3 ปีที่แล้ว +1

      Glad you liked it! Thank you so much for watching the video!

  • @lone1derer311
    @lone1derer311 6 หลายเดือนก่อน +1

    Great explanation and visualization! 😀 👍

  • @jonathanfairchild
    @jonathanfairchild ปีที่แล้ว +4

    Both of these videos are absolutely fantastic! Been trying to setup i2c on some microcontrollers and this has helped me understand. Thanks!

    • @FoolishEngineer
      @FoolishEngineer  ปีที่แล้ว

      Thank you so much! Please show support to my video with Super thanks.

  • @AbhaySingh-kn8jz
    @AbhaySingh-kn8jz 9 หลายเดือนก่อน

    very Nice

  • @pcbworks
    @pcbworks 2 ปีที่แล้ว +2

    Sure that it will be watched by millions in 2 years!

  • @KevinJohnMulligan
    @KevinJohnMulligan 2 ปีที่แล้ว +1

    Your explanation was very clear and I really liked the toy car analogy.

    • @FoolishEngineer
      @FoolishEngineer  2 ปีที่แล้ว

      Thank you so much, Glad you liked it!!

  • @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!

  • @PreludeSon
    @PreludeSon 8 หลายเดือนก่อน +1

    The illustration is amazing, keep up the good work. Do you have DDR example?

  • @mehmetdemir5655
    @mehmetdemir5655 ปีที่แล้ว

    This is the only correct video of i2c, it is a masterpiece sir

    • @FoolishEngineer
      @FoolishEngineer  ปีที่แล้ว

      Thank you so much for watching!! Please don't forget to subscribe to our channel

  • @NfcRfid
    @NfcRfid ปีที่แล้ว +2

    Great explanation. I have rfid access control. It has one port vcc, gnd, sda and scl. What would be its function at that port?

  • @anurajs811
    @anurajs811 3 ปีที่แล้ว

    Awesome....

  • @abme0900
    @abme0900 6 หลายเดือนก่อน

    Great content. thank you!

  • @timse699
    @timse699 2 ปีที่แล้ว

    well done!

    • @FoolishEngineer
      @FoolishEngineer  2 ปีที่แล้ว

      Thank you so much, Glad you liked it!!

  • @mrunalahirao9256
    @mrunalahirao9256 3 ปีที่แล้ว

    Very nicely explained 👍

  • @jonathangadielramirezmarti8224
    @jonathangadielramirezmarti8224 ปีที่แล้ว

    Super

  • @moinshaikh6684
    @moinshaikh6684 2 ปีที่แล้ว

    And please make More videos on embedded system, were here to watch

  • @nakulsingh8444
    @nakulsingh8444 2 ปีที่แล้ว

    Awesome 😎

    • @FoolishEngineer
      @FoolishEngineer  2 ปีที่แล้ว

      Thank you so much for watching!! Please don't forget to subscribe to our channel

  • @videoalyoum5904
    @videoalyoum5904 9 หลายเดือนก่อน

    Good❤🎉❤🎉

  • @NN-uf5xt
    @NN-uf5xt 2 ปีที่แล้ว

    great

    • @FoolishEngineer
      @FoolishEngineer  2 ปีที่แล้ว

      Thank you so much, Glad you liked it!!

  • @chetananam9141
    @chetananam9141 5 หลายเดือนก่อน

    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!

  • @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

  • @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 ?

  • @veerabalaji5031
    @veerabalaji5031 11 หลายเดือนก่อน

    @Foolish_Engineer can you post video for AMBA AXI protocol

  • @vikrantmakar4597
    @vikrantmakar4597 3 ปีที่แล้ว +1

    Big fan

  • @SathishKumar-rh5it
    @SathishKumar-rh5it ปีที่แล้ว

    But how the initial slave address defined for the RDC IC ?

  • @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.

  • @kishor_VU2MZT
    @kishor_VU2MZT 14 วันที่ผ่านมา

    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 3 หลายเดือนก่อน

    🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉Very fantasy

  • @ryderman5329
    @ryderman5329 ปีที่แล้ว

    aren't pin signatures wrong on this rtc

  • @kavithaseepana3855
    @kavithaseepana3855 10 หลายเดือนก่อน

    If two masters want to send the data at same time then how?

  • @ShivamKumar-ky6vm
    @ShivamKumar-ky6vm ปีที่แล้ว

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว

      @@sabilibili2271 awesome thanx for replying

  • @prasanthk8048
    @prasanthk8048 2 ปีที่แล้ว

    Can we connect 50+ relays at a time to I2C
    Can we control all of these relays ?

  • @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 ปีที่แล้ว +1

    Why in i2c data frame is always MSB why not LSB?

    • @FoolishEngineer
      @FoolishEngineer  3 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @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 6 หลายเดือนก่อน +1

    I like your foolishness

  • @bonafontciel
    @bonafontciel ปีที่แล้ว

    In minute 3:25 you say an interrupt is generated. Where is the interrupt generated ? Master or Slave?