
Appendix
MPT-3000R / RHV Series User Manual
81
2. Protocol
Signal transmit format
Bandwidth
Baud rate: 19200 bps
Data Format
Parity: No Parity
1 start bit
8 data bits
1 stop bit
Packet Format
Header
Size
Command
Data
CRC
2 bytes
1 byte
1 byte
0
– 64 bytes
2 bytes
Header
bytes indicate start of the packet.
Size
specifies number of bytes for data field.
Command
identifies action, which is required to be performed on the
data.
CRC
verifies data integrity for header, size, command and data bytes.
CRC
Protocol uses 16-bit CCITT CRC to verify data integrity.
P(x) = X
16
+X
12
+X
5
+1
unsigned
calc_crc(
unsigned char
*data,
unsigned
n,
unsigned
start) {
unsigned
I, k, q, c, crcval;
crcval=start;
for
(I=0; I<n; I++) {
c=data(I) & 0xFF;
q=(crcval^c) & 0x0F;
crcval=(crcval>>4)^(q*0x1081);
q=(crcval^(c>>4)) & 0x0F;
crcval=(crcval>>4)^(q*0x1081);
}
return
crcval;
}
Содержание MPT-3000RHV
Страница 1: ...MPT 3000R RHV Multi Purpose Railway System User s Manual Version 1 3 Mar 2018...
Страница 17: ...General Information MPT 3000R RHV Series User Manual 9 1 1 8 Dimensions Unit mm MPT 3000R...
Страница 18: ...10 MPT 3000R RHV Series User Manual MPT 3000RHV...
Страница 34: ...26 MPT 3000R RHV Series User Manual MBT 3001R bottom SIO Intel Atom E3845...
Страница 62: ...54 MPT 3000R RHV Series User Manual 4 4 1 CSM Configuration...
Страница 71: ...BIOS Setup MPT 3000R RHV Series User Manual 63 4 4 4 10 USB Configuration...
Страница 72: ...64 MPT 3000R RHV Series User Manual 4 5 Chipset Settings 4 5 1 North Bridge...