CRC error detection in embedded applications

Поділитися
Вставка
  • Опубліковано 19 вер 2024

КОМЕНТАРІ • 16

  • @therianet
    @therianet 4 роки тому

    finally non theoretical explanation than is actually useful

  • @TheNinjasSub
    @TheNinjasSub 6 років тому +2

    Thank you for this video. It was amazing clear and helped me a ton.

  • @prathamkalgutkar7538
    @prathamkalgutkar7538 4 роки тому

    I'm just a Beginner in This Subject, but Being a Receiver It's Possible that It may not have any information regarding Calculated Checksum.
    In Such Situation, The Sender can append the Checksum along with Data.
    The Reciever can Calculate the CRC of whole Data and It will result in a checksum of 0 or whatever Specified Value

    • @0033mer
      @0033mer  4 роки тому

      Yes .. the CRC is sent along with the data to the receiver as shown at 1:00.
      FEC video: ua-cam.com/video/BHDA9o68DRM/v-deo.html

  • @yossrysawaby3447
    @yossrysawaby3447 6 років тому

    Very clear explanation! thank you so much

  • @mananshah4344
    @mananshah4344 4 роки тому +1

    Is the CRC 0x1CED correct? After implementing in software as per the procedure, I get 0x1BE9. Which one would be right?

    • @0033mer
      @0033mer  4 роки тому

      Check it with a CRC calculator My CRC generator is CRC-16-CCITT Normal 1021 Little Endian used in X-Modem. Calculator shows 1CED
      www.scadacore.com/tools/programming-calculators/online-checksum-calculator/

    • @mananshah4344
      @mananshah4344 4 роки тому

      @@0033mer Can I share my code with you that shows CRC as 0x1BE9. Can you check what am I doing wrong in this code? your email please?

  • @IIIIIIIIIIIllllllIIIIIIIIIII
    @IIIIIIIIIIIllllllIIIIIIIIIII 7 років тому

    Great work! Thanks for making this.

  • @YouTubeChannel2000
    @YouTubeChannel2000 5 років тому

    The shift should be to the left.

    • @0033mer
      @0033mer  5 років тому +1

      CRC-16-CCITT little endian is calculated with shift right.
      practicingelectronics.com/articles/article-100003/article.php

    • @BurntTransistor
      @BurntTransistor 2 роки тому

      @@0033mer I believe 0x1021 is shift left and 0x8408 is shift right en.wikipedia.org/wiki/Cyclic_redundancy_check

    • @0033mer
      @0033mer  2 роки тому

      @@BurntTransistor The example is a CRC16 standard (CRC-16-CCITT) used in X.25, XMODEM, Bluetooth and many others.
      Check out this link: www.scadacore.com/tools/programming-calculators/online-checksum-calculator/
      Enter F881 hex and look at CRC-16-CCITT Little Endian. Result CRC is 1CED.

  • @ashling7585
    @ashling7585 5 років тому

    thanks! this really helped