所需E币: 5
时间: 2019-12-24 17:48
大小: 61.99KB
ThePIC16C642(Rev.A)partsyouhavereceivedcon-formfunctionallytotheDeviceDataSheet(DS30559A),exceptfortheanomaliesdescribedbelow.AlltheproblemslistedherewillbeaddressedinfuturerevisionsofthePIC16C642silicon.PIC16C642PIC16C642Rev.ASiliconErrataSheetThePIC16C642(Rev.A)partsyouhavereceivedcon-formfunctionallytotheDeviceDataSheet(DS30559A),exceptfortheanomaliesdescribedbelow.AlltheproblemslistedherewillbeaddressedinfuturerevisionsofthePIC16C642silicon.1.Module:Timer0TheTMR0registermayincrementwhentheWDTpostscalerisswitchedtotheTimer0prescaler.IfTMR0=FFh,thiswillcauseTMR0tooverow(set-tingT0IF).WorkAroundFollowthefollowingsequence:a)Readthe8-bitTMR0registerintotheWregisterb)CleartheTMR0registerc)AssignWDTpostscalertoTimer0d)WriteWregistertoTMR02.……