所需E币: 3
时间: 2019-12-24 21:23
大小: 80.7KB
ThisapplicationnotedescribestheCyclicRedundancyCheck(CRC)theoryandimplementation.TheCRCcheckisusedtodetecterrorsinamessage.Twoimple-mentationsareshown:•TabledrivenCRCcalculation•LoopdrivenCRCcalculationThisapplicationdescribestheimplementationoftheCRC-16polynomial.However,thereareseveralfor-matsfortheimplementationofCRCsuchasCRC-CCITT,CRC-32orotherpolynomials.CRCisacommonmethodfordetectingerrorsintrans-mittedmessagesorstoreddata.TheCRCisaverypowerful,buteasilyimplementedtechniquetoobtaindatareliability.AN730CRCGeneratingandCheckingEXAMPLE1:MODULO-2CALCULATIONAuthors:ThomasSchmidtMicrochipTechnologyInc.1001100101XOR0100110111INTRODUCTION=1101010010ThisapplicationnotedescribestheCyclicRedundancyCheck(CRC)theoryandimplementation.TheCRCcheckisusedtodetecterrorsinamessage.Twoimple-……