logo

CAPSTONE C200 MICROTURBINE TECHNICAL REFERENCE

PDF Publication Title:

CAPSTONE C200 MICROTURBINE TECHNICAL REFERENCE ( capstone-c200-microturbine-technical-reference )

Previous Page View | Next Page View | Return to Search List

Text from PDF Page: 111

Capstone CRC-16 Calculation Calculating a CRC16 is performed using the following method: 1. Initialize the 16-bit CRC value to 0xFFFF 2. Exclusive-OR (XOR) the byte with the 16-bit CRC CHAPTER 10 COMMUNICATIONS 3. When low bit of 16-bit CRC is 1, shift the entire word right 1-bit, Exclusive-OR (XOR) with 0xA001, and proceed to step 5 4. Repeat step 3 for all 8 bits of each byte 5. When low bit of 16-bit CRC is 0, shift the entire word right 1-bit 6. Repeat from step 2 for each byte in sequence The 16-bit CRC is appended to the message low-byte first followed by high-byte. (NOTE: performing a CRC16 calculation on a stream of bytes with its CRC16 value appended will always result with the value 0x0000). Sample ā€œCā€ Code: The following is sample C-code for the CRC error checking. static UWORD crc_add (UCHAR *data, UWORD length, UWORD crc_reg) { int i; while (length--) { crc_reg ^= *data++; for (i = 0; i < 8; ++i) if (crc_reg & 1) crc_reg = (crc_reg >> 1) ^ 0xa001; else } crc_reg >>= 1; return crc_reg; } 410066 Rev C (June 2009) Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction. 10-25

PDF Image | CAPSTONE C200 MICROTURBINE TECHNICAL REFERENCE

capstone-c200-microturbine-technical-reference-111

PDF Search Title:

CAPSTONE C200 MICROTURBINE TECHNICAL REFERENCE

Original File Name Searched:

410066C_C200_Tech_Ref.pdf

DIY PDF Search: Google It | Yahoo | Bing

Capstone Turbine and Microturbine: Capstone microturbines used and new surplus for sale listing More Info

Consulting and Strategy Services: Need help with Capstone Turbine, sizing systems, applications, or renewable energy strategy, we are here to assist More Info

Container Lumber Dry Kiln: Since 1991 developing and innovating dry kilns using standard shipping containers More Info

Supercritical CO2 Lumber Dry Kiln: Compact fast drying in 3 days or less for small amounts of wood and lumber drying More Info

BitCoin Mining: Bitcoin Mining and Cryptocurrency... More Info

Publications: Capstone Turbine publications for microturbine and distributed energy More Info

FileMaker Software for Renewable Energy Developing database software for the renewable energy industry More Info

CO2 Gas to Liquids On-Demand Production Cart Developing a supercritical CO2 to alcohol on-demand production system (via Nafion reverse fuel cell) More Info

Stranded Gas for low cost power Bitcoin Mining Using stranded gas for generators may provide breakthrough low power costs for cryptocurrency miners. More Info

CONTACT TEL: 608-238-6001 Email: greg@globalmicroturbine.com | RSS | AMP