1. 首页
  2. 课程学习
  3. 嵌入式
  4. WDT的超时周期自动校正

WDT的超时周期自动校正

上传者: 2022-10-23 09:16:59上传 PDF文件 64.53 KB 热度 8次

TheWDTtimerisasimpleRCtimerwithatypical

time-outperiodofabout18ms.Thistime-outperiodis

dependentonVoltage,TemperatureandSiliconpro-

cessvariations.Hencethetoleranceonthetime-out

periodisverywide:Min.of9mstoaMax.of33ms

(pleaserefertoappropriatedatasheetfordevice

dependentvalue).Thereareapplicationswherean

additionaltimerwouldbeusefulasanapproximate

timekeeper,hencegettingamoreprecisevalueofthe

WDTtime-outisuseful.ThisTechBriefimplementsan

automaticcalibrationoftheWDTtime-outperiodon

start-up.TB004AutomaticCalibrationoftheWDTTime-outPeriodCONCLUSIONAuthor:StanD’SouzaAdvancedMicrocontrollerThecalibrationoftheWDTissimpleandtakesverylit-TechnologyDivisiontleoverheadinaprogram.ThecodeinAppendixAiswrittenforaPIC16C84device,butcanbetranslatedtoworkonanyPIC16CXXXproduct.ThecodeinAppendixBiswritt

用户评论