CRC16 Calculation using HCS08 assembler

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

CRC16 Calculation using HCS08 assembler

2,051件の閲覧回数
genesis57
Contributor I

Hi There

 

I'm a new member in this forum, and I'm looking for your help.

I was searching information for resolving CRC whith a 16 bit generator polynomial x^16+x^15+x^2+1, using a microcontroller S08 (such as 9s08GB60), but I didn' find it.

It's necessary to process a 64 bytes string of data, before it was sent.

I read about one method, using a 512bytes table and a few lines of assembler code, but I don't know how.

 

Regards,

 

Daniel

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

877件の閲覧回数
bigmac
Specialist III

Hello Daniel, and welcome to the forum.

 

The following thread may be of interest as it includes both 16-bit and 8-bit CRC calculation methods.

 http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&message.id=1152

 

This thread show one look-up table method, but for an 8-bit CRC.  I don't know whether using such a small table is feasible for a 16-bit CRC.

 

Regards,

Mac

 

0 件の賞賛
返信