cancel
Showing results for 
Search instead for 
Did you mean: 

ST7580 Modem UART Package CRC-32 Calculation Error

oner
Associate
Posted on October 16, 2015 at 10:35

Dear All,

I tried to implement my own protocol for PLC modem with another company MCU. But When I calculate CRC32, it returns 32bir diffrent CRC and ST7580 ignore my package.

For example;

02 09 50 04 01 23 45 67 89 AB CD EF 1D 04

STM32-ST7580 communicaiton package. CRC is 1D 04 and only payload is added to CRC32-Little endian calculation.

But when I calculate, CRC value is 0x45BEBFF6...

How can I solve this issue?

Please help me..

best regards.

#crc32 #crc #st7580
1 REPLY 1
oner
Associate
Posted on October 18, 2015 at 19:16

I solve the issue..

CRC32 is used in PLC frame not between ExternalHost and ST7580.

In local frame that used for ExternalHost  communication, needs Checksum only.

CheckSum = Length + Cmd + Data