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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2,677 Views
easter91
Contributor I

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 ?

Labels (1)
0 Kudos
Reply
1 Reply

2,040 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Christian Ostermeier,

Thank you for your interest in NXP Semiconductor products and the for the opportunity to serve you.

I'd highly recommend you to refer the CRC demo in the LPC177x_8xCMSIS library whose link is below:

LPC177x和LPC178x符合标准外设的固件驱动程序库——CMSIS(Keil, IAR) | www.LPCware.com 


Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply