1. 首页
  2. 课程学习
  3. 嵌入式
  4. 从PIC16C74A74B迁移到 PIC18C442

从PIC16C74A74B迁移到 PIC18C442

上传者: 2022-10-11 03:57:20上传 PDF文件 368.45 KB 热度 12次

ThePIC18CXX2wasintendedtomakeconversions

frommidrangecontrollerstoenhancedcontrollersas

easilyaspossible.Changestoregisterandbitnames,

andbitlocationswerekepttoaminimum.The

PIC18CXX2wasdesignedtobepin-compatiblewith

28-pinand40-pinmidrangecontrollers.

Thisapplicationnotedescribestheminimumchanges

requiredtoportcodefromthePIC16C74Atothe

PIC18C442,andaretypicalwhenmigratingcodefrom

anymidrangecontrollertoanyenhancedcontroller.

ChangestothePIC16C74Acodelargelyconsistsof

renamingregistersandbits,movingbitstonewregis-

ters,andplacingvariablesintotheappropriateplaces

inRAM.Whereadditionalfeatureshavebeenadded,

changestocodehavebeensuggested.AN716MigratingDesignsfromPIC16C74A/74BtoPIC18C442Note2:OscillatoroperationshouldbeverifiedtoAuthor:BrettDuaneensurethatitstartsandperformsasMicrochipTechnologyInc.expected.Adjustingtheloadingcapacitorvaluesand/ortheoscillatormodemaybeINTRODUCTIONrequired.ThePIC18CXX2wasintendedtomakeconversions

用户评论