DSPIC30F2020-20E/MM Microchip Technology, DSPIC30F2020-20E/MM Datasheet - Page 20

12KB, Flash, 512bytes-RAM, 30MIPS, 21I/O, 16-bit Family,nanoWatt 28 QFN-S 6x6mm

DSPIC30F2020-20E/MM

Manufacturer Part Number
DSPIC30F2020-20E/MM
Description
12KB, Flash, 512bytes-RAM, 30MIPS, 21I/O, 16-bit Family,nanoWatt 28 QFN-S 6x6mm
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F2020-20E/MM

Core Processor
dsPIC
Core Size
16-Bit
Speed
20 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 ~ 125°C
Package / Case
28-QFN
Package
28QFN-S EP
Device Core
dsPIC
Family Name
dsPIC30
Maximum Speed
20 MHz
Operating Supply Voltage
3.3|5 V
Data Bus Width
16 Bit
Number Of Programmable I/os
21
Interface Type
I2C/SPI/UART
On-chip Adc
8-chx10-bit
Number Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM300023 - KIT DEMO DSPICDEM SMPS BUCKAC164322 - MODULE SOCKET MPLAB PM3 28/44QFNDV164005 - KIT ICD2 SIMPLE SUIT W/USB CABLE
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
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

Related parts for DSPIC30F2020-20E/MM