请参阅PIC16F62A/628 A/648 A迁移(DS400 48 A)。唯一的显著差异是,在代码中不能补偿的电子规格,以及配置比特,您必须改变这些配置比特:必须使用“628数据表”,然后使用其数据表,为“62A”写一个新配置。ND替换所有文本:16F628与16F628,这是一个FugLy*的方式来指定一个配置字。MPASM P16F….Inc包括文件,每个配置位都有有意义的名称,转到MMPASM文件夹,并在P16F628 A.Inc文件中查看参数和模板/代码/16F628 ATMU.ASM,以便在实际的Y-O.CONFIG指令中使用它们。
以上来自于百度翻译
以下为原文
See
PIC16F627A/628A/648A Migration (DS40048A)
The only significant differences are electrical specs, which you cant compensate for in code, and the CONFIG bits, which you must change
You'll have to decode what:
PROCESSOR 16F628
RADIX DEC
INCLUDE "P16F628.INC"
__CONFIG 11110100010100B
means using the '628 datasheet then write a new config for the '628A using its datasheet, and replace all text:
16F628 with
16F628A
That's one *FUGLY* way to specify a Config word. The MPASM P16F....INC include files have meaningful names for each Config bit - goto your MPASM folder and look in the p16f628a.inc file for the parameters and in Template/Code/16F628ATEMP.ASM for how to use them in an actual __CONFIG directive.
请参阅PIC16F62A/628 A/648 A迁移(DS400 48 A)。唯一的显著差异是,在代码中不能补偿的电子规格,以及配置比特,您必须改变这些配置比特:必须使用“628数据表”,然后使用其数据表,为“62A”写一个新配置。ND替换所有文本:16F628与16F628,这是一个FugLy*的方式来指定一个配置字。MPASM P16F….Inc包括文件,每个配置位都有有意义的名称,转到MMPASM文件夹,并在P16F628 A.Inc文件中查看参数和模板/代码/16F628 ATMU.ASM,以便在实际的Y-O.CONFIG指令中使用它们。
以上来自于百度翻译
以下为原文
See
PIC16F627A/628A/648A Migration (DS40048A)
The only significant differences are electrical specs, which you cant compensate for in code, and the CONFIG bits, which you must change
You'll have to decode what:
PROCESSOR 16F628
RADIX DEC
INCLUDE "P16F628.INC"
__CONFIG 11110100010100B
means using the '628 datasheet then write a new config for the '628A using its datasheet, and replace all text:
16F628 with
16F628A
That's one *FUGLY* way to specify a Config word. The MPASM P16F....INC include files have meaningful names for each Config bit - goto your MPASM folder and look in the p16f628a.inc file for the parameters and in Template/Code/16F628ATEMP.ASM for how to use them in an actual __CONFIG directive.
举报