DSPIC30F2020T-30I/SO Microchip Technology, DSPIC30F2020T-30I/SO Datasheet - Page 20
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
DSPIC30F2020T-30I/SO
Manufacturer Part Number
DSPIC30F2020T-30I/SO
Description
12KB, Flash, 512bytes-RAM, 30MIPS, 21I/O, 16-bit Family,nanoWatt 28 SOIC .300in
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr
Datasheets
1.AC164335.pdf
(286 pages)
2.DSPIC30F2011-20IP.pdf
(26 pages)
3.DSPIC30F1010-30ISO.pdf
(26 pages)
4.DSPIC30F1010-30ISO.pdf
(50 pages)
Specifications of DSPIC30F2020T-30I/SO
Core Processor
dsPIC
Core Size
16-Bit
Speed
30 MIPs
Connectivity
I²C, IrDA, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
21
Program Memory Size
12KB (4K x 24)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM300023 - KIT DEMO DSPICDEM SMPS BUCKDV164005 - KIT ICD2 SIMPLE SUIT W/USB CABLE
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
DSPIC30F2020T-30I/SOTR
dsPIC30F1010/202X
46. Module: RB7 Pin and All Multiplexed
TABLE 5:
DS80445D-page 20
None of the functions multiplexed on this pin yields
correct results.
As a result of this erratum, the following issues
exist:
• ADC channel AN7 does not produce the correct
• The comparator inputs, CMP3D and CMP4B,
• An external crystal is not supported as an
• The Clock Out function does not work
• RB7 cannot be used as a digital input or output
Work around
No work around is available for the OSC2 and
CLKO functionality. The AN7, CMP3D, CMP4B
and RB7 functions can be substituted by using
other available pins.
Affected Silicon Revisions
A1
conversion results (dsPIC30F202X only)
do not function (dsPIC30F202X only)
oscillator source
X
dsPIC30F1010
dsPIC30F2020
dsPIC30F2023
Device
A2
Functions
THE AFFECTED PINS ON THE dsPIC
A3
44-pin TQFP
28-pin SDIP
28-pin SOIC
28-pin SDIP
28-pin SOIC
28-pin QFN
28-pin QFN
44-pin QFN
Package
®
DSC SMPS DEVICES
47. Module: CPU – DAW.b Instruction
EXAMPLE 3:
L0:daw.b
L1: ....
Pin Number
The Decimal Adjust instruction, DAW.b, may
improperly clear the Carry bit, C (SR<0>), when
executed.
Work around
Check the state of the Carry bit prior to executing
the DAW.b instruction. If the Carry bit has already
been set, set the Carry bit again after executing
the DAW.b instruction. Example 3 shows how the
application should process the Carry bit during a
BCD addition operation.
Affected Silicon Revisions
.include “p30fxxxx.inc”
.......
mov.b
mov.b
add.b
bra
daw.b
bset.b SR, #C
bra
A1
X
10
10
10
10
33
33
7
7
A2
X
#0x80, w0
#0x80, w1
w0, w1, w2 ;Perform addition
NC, L0
w2
L1
w2
A3
X
CHECK CARRY BIT BEFORE
DAW.b
© 2010 Microchip Technology Inc.
AN7, CMP3D, CMP4B,
AN7, CMP3D, CMP4B,
;First BCD number
;Second BCD number
;If C set go to L0
;If not, do DAW and
;set the carry bit
;and exit
Functions Affected
OSC2, CLKO, RB7
OSC2, CLKO, RB7
OSC2, CLKO, RB7