Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC18F24K40-I/SP 数据手册 > PIC18F24K40-I/SP 其他数据使用手册 3/8 页

¥ 14.389
PIC18F24K40-I/SP 其他数据使用手册 - Microchip(微芯)
制造商:
Microchip(微芯)
分类:
微控制器
封装:
DIP-28
描述:
PIC18F24K40-I/SP 管装
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
PIC18F24K40-I/SP数据手册
Page:
of 8 Go
若手册格式错乱,请下载阅览PDF原文件

2016 Microchip Technology Inc. DS80000711A-page 3
PIC18F24/25K40
Silicon Errata Issues
1. Module: Analog-to-Digital Converter
(ADC)
1.1 ADC Conversion
When using the ADCRC as the clock source for
ADCC, there is a delay of one instruction cycle
between the user setting the ADGO bit and
being able to read it set. This can lead to a false
conversion complete scenario (i.e., ADGO
being cleared), depending if the user code has a
bit clear test (BTFSC instruction on the ADGO
bit, immediately after setting the ADGO bit. See
code example below.
e.g.
BSF ADCON0, ADGO ; Start conversion
BTSFC ADCON0, ADGO ; Is conversion done?
GOTO $-1 ; No, test again
The BTFSC will pass the very first time in this
situation.
Work around
Add a NOP instruction after setting the ADGO bit
and before testing the bit for completion of conver-
sion. See code example below.
e.g.
BSF ADCON0, ADGO ; Start conversion
NOP
BTSFC ADCON0, ADGO ; Is conversion done?
GOTO $-1 ; No, test again
Affected Silicon Revisions
1.2 Computation Overflow Bit
If the sign bit of ADFLTR (bit 7 of ADFLTRH) is set,
the Computation Overflow bit will also be set, even
though this is not a legitimate case of an overflow
event.
Work around
None.
Affected Silicon Revisions
2. Module: PIC18 Debug Executive
2.1 Data Write Match Breakpoints
If the data in a GPR location is modified using
any arithmetic instruction like INCF, ADDWF,
SETF, CLRF, etc., the data write match break-
point does not work. It works with MOVF, which
moves the data into the same memory location.
e.g.
1.
MOVLB 0x00
CLRF 0x08
LOOP
INCF 0x08 ;Doesn’t break when data
breakpoint set @ 0x08
with data match for 0xAA
GOTO LOOP
2.
MOVLB 0x00
MOVLW 0xAA
MOVF 0x08 ;Breaks when data
breakpoint set @ 0x08
with data match for 0xAA
Work around
Use data write breakpoints without matching
wherever possible.
Affected Silicon Revisions
Note: This document summarizes all silicon
errata issues from all revisions of silicon,
previous as well as current. Only the
issues indicated by the shaded column in
the following tables apply to the current
silicon revision (A3).
A3
X
A3
X
A3
X
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件