Communication and Protocal Data - CRC

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

5/4/2019 Communication and Protocal Data: CRC

Communication and Protocal Data


Bluetooth, Internet Protocol,VOIP,RS-232 Electrical Signal Characteristics, Modbus Communications Protocol
and CAN BUS

Search Home
Electronic Circuit Kits Shop
Showing posts with label CRC. Show all posts Robot Kits Shop
Robot Sensors Shop
T H U R S D A Y, O C T O B E R 0 8 , 2 0 0 9
analytics
C CODE Error Check CRC-16
Correct transmission of the frame is assured by means of the CRC-16 Blog Archive
cyclical redundancy check. ▼ 2010 (8)
Both CRC-16 characters are generated as follows, based upon all of the
▼ March (2)
characters included in the
Free Software VOIP
frame (slave address to last data byte):
Open Source Software VOIP
1 Presetting of a 16 bit register (CRC-16 register) with FFFFh
► February (2)
2 Exclusive OR linking of the low bytes in the CRC-16 register to the
frame’s character, ► January (4)
results to CRC-16 register
► 2009 (32)
3 Shift the CRC-16 register one bit to the right,
A “0“ is added and the displaced, least significant bit (LSB) is saved ► 2006 (6)
4 Where LSB = 0, continue as of step 5.
Where LSB = 1, establish exclusive OR linking of the CRC-16 registers to
A001h.
5 Repeat steps 3 and 4 until a total of 8 shifts to the right have occurred. free directory submission
At this point, one of the frame’s characters has been processed.
6 Execute steps 2 through 5 for each of the frame’s remaining characters. Engineering Lecture Video
7 The content of the CRC-16 register, preceded by the low byte, is added
Transformer Basics and Practical
to the frame
Transformer Video
after all of the frame’s characters have been processed.
Operating an AC Induction Motor
programming in C and How it works
Lecture Video Speed Control of
unsigned int crc_16 (unsigned char *buffer, unsigned int length) { Induction Motor and Induction
unsigned int i, j, lsb, tmp, crc = 0xFFFF; Motor Drives
for ( i = 0; i < tmp =" (unsigned" j =" 0;" lsb =" crc">>= 1;
if ( lsb != 0 ) crc ^= 0xA001; Labels
} Basic Bluetooth (1)
}
return (crc); Bluetooth (8)
} Bluetooth Application (3)
Bluetooth Devices (1)

Posted by kop at 5:47 PM Bluetooth Technology (4)


Labels: CRC, Modbus, Protocol Bluetooth USB (1)
CAN (5)
Home Older Posts CRC (1)
Data Communication (1)
Subscribe to: Posts (Atom)
Flash (1)
Internet (8)

rs232-rs485.blogspot.com/search/label/CRC 1/2
5/4/2019 Communication and Protocal Data: CRC

Microcontroller (1)
Modbus (2)
Protocol (11)
RS-485 (1)
RS232 (4)
USB (2)
VIDEO Solfware (1)
Voice Over Internet Protocol (9)
VOIP (9)
VOIP Solfware (1)
VOIP Technology (2)
Wireless (2)
Wireless Networks (2)

Control and Automation

The mathematical model of the


magnetic levitation system
Magnetic Levitation System -
SYSTEM IDENTIFICATION
Modeling of Magnetic Levitation
System

Subscribe To

Posts

All Comments

blog directory

Technology Blogs - BlogCatalog


Blog Directory

GetBlogs Blog
Directory

rs232-rs485.blogspot.com/search/label/CRC 2/2

You might also like