AnsweredAssumed Answered

Is it possible to calculate CRC16 GENIBUS in Hardware on LPC1778 ?

Question asked by Christian Ostermeier on Feb 10, 2017
Latest reply on Feb 12, 2017 by jeremyzhou

Good morning,

 

for a wireless application i need to calculate CRC values according to the GENIBUS-Specification (see page 26).

Polynomial x^16+x^12+x^5+1 Preset 0xFFFF

According to the LPC1778 User Manual on page 861, CRC-CCITT is using the same polynomal.

 

Input Message 0xC100F0 should result in CRC16/GENIBUS 0xCDBB.

 

So i set the CRC_POLY register to CRC-CCIT ans the SEED register to 0xFFFF.

After writing the Input Message 0xC100F0 to the CRC_WR_DATA Register, CRC_SUM shows wrong results.

 

What am i missing ?

 

Is th Hardware capable to do CRC16/GENIBUS ?

Outcomes