About 33,700 results
Open links in new tab
  1. Function to Calculate a CRC16 Checksum - Stack Overflow

    May 12, 2012 · I'm working on a library to provide simple reliable communication over an RS232 or RS485 connection. Part of this code involves using a CRC16 checksum on the data to detect …

  2. CRC16 (ModBus) - computing algorithm - Stack Overflow

    Mar 15, 2019 · CRC16 of above message in hex: C9CD I did calculate this manually like the example above, but I'd rather not write this down in binary in this question. I presume my transformation into …

  3. How to generate a CRC-16 from C# - Stack Overflow

    Jan 22, 2016 · I am trying to generate a CRC-16 using C#. The hardware I am using for RS232 requires the input string to be HEX. The screenshot below shows the correct conversion, For a test, I need …

  4. CRC 16 Modbus RTU - Stack Overflow

    May 30, 2023 · You can check it on following link CRC Computation Code in C Output XORing is not part of the code, it must be done as per user's requirement as separate code. /* Update #defines in …

  5. crc16 - CRC-16 specific example for serial connection - Stack Overflow

    Jun 22, 2021 · Section 4: CRC-16 Code and Example (page 95 or 91) that shows a serial packet with a CRC16 value of 133 (LSB) and 24 (MSB). However, I have tried different calculators, for example: …

  6. CRC-CCITT 16-bit Python Manual Calculation - Stack Overflow

    Jul 29, 2016 · Problem I am writing code for an embedded device. A lot of solutions out there for CRC-CCITT 16-bit calculations require libraries. Given that using libraries is almost impossible and a drain …

  7. crc16 - CRC-16 polynomial notation - Stack Overflow

    Feb 28, 2024 · No, there is no difference. The correct way to write those is with superscripts, representing "to the power of": x 16 + x 15 + x 2 + x 0 and: x 16 + x 15 + x 2 + 1 As you noted, …

  8. c - How to use table based CRC-16 code? - Stack Overflow

    Mar 16, 2014 · I was hoping someone might be able to shed some light on why my CRC-16 implementation does not seem to run correctly on Visual Studio? I got the algorithm from a manual …

  9. How to calculate CRC 16 with polynomial x16 + x12 + x5 + 1

    Oct 13, 2016 · I am trying to interface with some system and in their specs they require to calculate CRC 16 for serial communication. Here is an extract from documentation "16 bit CCITT CRC of the …

  10. Calculating CRC16 in Python - Stack Overflow

    I'm trying to evaluate appropriate checksum based on CRC-16 algorithm using crcmod Python module and 2.7 version of Python interpreter. The checksum parameters are: CRC order: 16 CRC …