1. 首页
  2. 课程学习
  3. 嵌入式
  4. CRC校验码生成和检查

CRC校验码生成和检查

上传者: 2022-10-20 11:09:45上传 PDF文件 80.70 KB 热度 23次

ThisapplicationnotedescribestheCyclicRedundancy

Check(CRC)theoryandimplementation.TheCRC

checkisusedtodetecterrorsinamessage.Twoimple-mentationsareshown:

•TabledrivenCRCcalculation

•LoopdrivenCRCcalculation

Thisapplicationdescribestheimplementationofthe

CRC-16polynomial.However,thereareseveralfor-matsfortheimplementationofCRCsuchas

CRC-CCITT,CRC-32orotherpolynomials.

CRCisacommonmethodfordetectingerrorsintrans-mittedmessagesorstoreddata.TheCRCisavery

powerful,buteasilyimplementedtechniquetoobtain

datareliability.AN730CRCGeneratingandCheckingEXAMPLE1:MODULO-2CALCULATIONAuthors:ThomasSchmidtMicrochipTechnologyInc.1001100101XOR0100110111INTRODUCTION=1101010010ThisapplicationnotedescribestheCyclicRedundancyCheck(CRC)theoryandimplementation.TheCRCcheckisusedtodetecterrorsinamessage.Twoimple-

下载地址
用户评论