The13.56MHzread/writedevices(MCRF4XX)usea
16-bitCyclicRedundancyCode(CRC)toensurethe
integrityofdata.Itspolynomialandinitialvaluesare:
CRCPolynomial:X
0
+X
5
+X
12
+X
16
=1000-0100-0000-1000-(1)=8408(hex)
InitialValue:$FFFF
ThispolynomialisalsoknownasCRCCCITT-16.The
interrogatorappliesthesamepolynomialtotheincom-ingandtransmittingdata.MAN752CRCAlgorithmforMCRF45XRead/WriteDeviceAuthor:YoubokLee,PhDMicrochipTechnologyInc.INTRODUCTIONThe13.56MHzread/writedevices(MCRF4XX)usea16-bitCyclicRedundancyCode(CRC)toensuretheintegrityofdata.Itspolynomialandinitialvaluesare:CRCPolynomial:X0+X5+X12+X16=1000-0100-0000-1000-(1)=8408(hex)InitialValue:$FFFFThispolynomialisalsoknownasCRCCCITT-16.Theinterrogatorappliesthesamepolynomialtotheincom-ingandtransmittingdata.FIGURE1:CCITT-16CRCENCODERP(x)=x1x2x3x4x5x6x7x8x9x10x11x12x13x14x15x16(x0)
暂无评论