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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,864件の閲覧回数
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 ?

ラベル(1)
0 件の賞賛
1 返信

1,227件の閲覧回数
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 件の賞賛