MC13192 and CRC calculation question

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

MC13192 and CRC calculation question

498件の閲覧回数
GusPS
Contributor I

Hi,

 

Reading the MC13192RM I coulnd't find the details about the CRC calculation used on every TX of the MC13192 chip.

I'm having an issue with TX and RX with odd packets. Even packets are fine, but surely some bug is in the odd routine I made, and if I could know how the CRC is calculated it can help me to track down the problem.

I'm sending from a node, for example, four bytes as the payload: "PEPE". The other node receving this payload reports that CRC is 0x5891.

So, I went to http://www.lammertbies.nl/comm/info/crc-calculation.html and typed "PEPE", and any result is not equal to 0x5891.

The problem with odds packets is that sending for example "GUSTAVO", I'm receving "GUSTAVA", with a CRC = to 0x4E31. So, I would like to use the CRC to help me check to determine is the error is in the TX routine or the RX routine.

 

If anyone has deatils about the CRC calculation used in MC13192, please let me know.

Thank you very much.

Gustavo.

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

337件の閲覧回数
GusPS
Contributor I

Besides the CRC calculation question, i could solve the TX an RX problem.

The issue was on the TX routine. The last 2 bytes of the recursive SPI must be Dummy and then the Character. I was sending first the Character and then the Dummy.

Gustavo.

0 件の賞賛
返信