DSPIC30F2010T-20E/SOG Microchip Technology, DSPIC30F2010T-20E/SOG Datasheet

IC DSPIC MCU/DSP 12K 28SOIC

DSPIC30F2010T-20E/SOG

Manufacturer Part Number
DSPIC30F2010T-20E/SOG
Description
IC DSPIC MCU/DSP 12K 28SOIC
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F2010T-20E/SOG

Core Processor
dsPIC
Core Size
16-Bit
Speed
20 MIPS
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, Motor Control PWM, QEI, POR, PWM, WDT
Number Of I /o
20
Program Memory Size
12KB (4K x 24)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Data Bus Width
16 bit
Data Ram Size
512 B
Interface Type
CAN, I2C, SPI, UART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
20
Number Of Timers
3
Operating Supply Voltage
2.5 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 6 Channel
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
DSPIC30F2010T20ES
The dsPIC30F2010 (Rev. A1) samples that you have
received conform to the specifications and functionality
described in the following documents:
• DS70157 – “dsPIC30F/33F Programmer’s
• DS70118 – “dsPIC30F2010 Data Sheet”
• DS70046 – “dsPIC30F Family Reference Manual”
The exceptions to the specifications in the documents
listed above are described in this Errata.
dsPIC30F2010 Rev A1 silicon is identified by
performing a “Reset and Connect” operation to the
device using MPLAB
The following text is visible under the MPLAB ICD 2
section in the Output window within MPLAB IDE:
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
Target Device dsPIC30F2010 found,
revision = 0x1
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
The errata described in this section will be addressed
in future revisions of dsPIC30F2010 silicon.
Silicon Errata Summary
The following list summarizes the errata described in
this document:
1.
2.
3.
© 2008 Microchip Technology Inc.
Reference Manual”
Y Data Space Dependency
When an instruction that writes to a location in the
address range of Y data memory is immediately
followed by a MAC type DSP instruction that reads
a location also resident in Y data memory, the
operations will not be performed as specified.
MAC Class Instructions with +4 Address
Modification
Sequential MAC instructions, which prefetch data
from Y data space using +4 address modification
will cause an address error trap.
Decimal Adjust Instruction
The Decimal Adjust instruction, DAW.b, may
improperly clear the Carry bit, C (SR<0>).
®
dsPIC30F2010 Rev. A1 Silicon Errata
ICD 2 within the MPLAB IDE.
dsPIC30F2010
4.
5.
6.
7.
8.
9.
10. Output Compare
11. 10-bit Analog-to-Digital Converter (ADC) –
12. INT0, ADC and Sleep Mode
13. Watchdog Timer
PSV Operations Using SR
In certain instructions, fetching one of the
operands from program memory using Program
Space Visibility (PSV) will corrupt specific bits in
the STATUS Register, SR.
Early Termination of Nested DO Loops
When using two DO loops in a nested fashion,
terminating the inner-level DO loop by setting the
EDT (CORCON<11>) bit will produce unexpected
results.
Interrupting a REPEAT Loop
When a REPEAT loop is interrupted by two or more
interrupts in a nested fashion, an address error
trap may be caused.
DISI Instruction
The DISI instruction will not disable interrupts if a
DISI instruction is executed in the same
instruction
decrements to zero.
32-bit General Purpose Timers
The 32-bit general purpose timers do not function
as specified for prescaler ratios other than 1:1.
Output Compare Module in PWM Mode
Output compare will produce a glitch when loading
a 0% duty cycle in PWM mode. It will also miss the
next compare after the glitch.
The output compare module will produce a glitch
on the output when an I/O pin is initially set high
and the module is configured to drive the pin low at
a specified time.
Sequential Sampling
Sampling multiple channels sequentially using
any conversion trigger other than the auto-convert
feature requires SAMC bits to be non-zero.
ADC event triggers from the INT0 pin will not
wake-up the device from Sleep mode if the SMPIx
bits are non-zero.
The Watchdog Timer does not function as
specified.
cycle
that
the
DS80186J-page 1
DISI
counter

Related parts for DSPIC30F2010T-20E/SOG

DSPIC30F2010T-20E/SOG Summary of contents

Page 1

... Decimal Adjust Instruction The Decimal Adjust instruction, DAW.b, may improperly clear the Carry bit, C (SR<0>). © 2008 Microchip Technology Inc. dsPIC30F2010 4. PSV Operations Using SR In certain instructions, fetching one of the operands from program memory using Program Space Visibility (PSV) will corrupt specific bits in the STATUS Register, SR ...

Page 2

... SDA and SCL pins, causing a false communication start in a single-master configuration or a bus collision in a multi-master configuration. The following sections describe the errata and work around to these errata, where they may apply. © 2008 Microchip Technology Inc. ® DSC ...

Page 3

... Y data memory is not immediately followed by a DSP MAC type instruction that performs a read operation of a location in Y data memory. © 2008 Microchip Technology Inc. dsPIC30F2010 2. Module: MAC Class Instructions with +4 Address Modification Sequential MAC class instructions, which prefetch data from Y data space using +4 address modification, will cause an address error trap ...

Page 4

... Result in W3 (3) SR<1:0> bits , Result in W3 (3) SR<1:0> bits (3) SR<1:0> bits , Result in W4 (3) SR<1:0> bits , Result in W2 (3) SR<1:0> bits (4) SR<15:10> bits CORRECT RESULTS ;Load PSVPAG register ;indirect PSV access ;from 0x000200 ;works ok ;from program memory ;results are ok! © 2008 Microchip Technology Inc. ...

Page 5

... Note: For details on the functionality of EDT bit, see section 2.9.2.4 in the dsPIC30F Family Reference Manual. © 2008 Microchip Technology Inc. dsPIC30F2010 6. Module: Interrupting a REPEAT When interrupt nesting is enabled (or NSTDIS (INTCON1<15>) bit is ‘0’), the following sequence of events will lead to an address error trap: 1 ...

Page 6

... When these events occur, the output compare module will drive the pin low for one instruction cycle (T ) after the module is enabled. CY Work around None. However, the user may use a timer interrupt and write to the associated PORT register to control the pin manually. © 2008 Microchip Technology Inc ...

Page 7

... Work around None. If ADC event trigger from the INT0 pin is required, initialize SMPI<3:0> to ‘0000’ (interrupt on every conversion). © 2008 Microchip Technology Inc. dsPIC30F2010 13. Module: Watchdog Timer The Watchdog Timer does not function as specified. If the CLRWDT instruction is not executed ...

Page 8

... One may use a large DISI value and then set the DISICNT register to zero, as shown in Example 10. A macro may also be used to perform this task, as shown in Example 11. // protect CPU IPL modification // set CPU IPL remove DISI protection // safely modify the CPU IPL © 2008 Microchip Technology Inc. ...

Page 9

... IFSxbits.QEIIF = 0; POSCNT_b15 ^= 0x8000; // Overflow or Underflow } © 2008 Microchip Technology Inc. 18. Module: QEI Interrupt Generation The Quadrature Encoder Interface (QEI) module does not generate an interrupt when MAXCNT is set to 0xFFFF and the following events occur: 1. POSCNT underflows from 0x0000 to 0xFFFF. ...

Page 10

... Sleep mode. Example 13 demonstrates the work around described above would apply to a dsPIC30F2010 device. ; Ensure flag is reset ; Return from Interrupt Service Routine the function call would be following the or _GotoSleep © 2008 Microchip Technology Inc. ...

Page 11

... Note: The above work around is recommended for users for whom application hardware changes are not possible. © 2008 Microchip Technology Inc. Work around 3: Instead of executing a PWRSAV #0 instruction to put the device into Sleep mode, perform a clock switch to the 32 kHz Low-Power (LP) Oscillator with a 64:1 postscaler mode ...

Page 12

... If the D_A flag and the I2COV flag are both set, a valid data byte was received and a previous valid data byte was lost. It will be necessary to code for handling this overflow condition. © 2008 Microchip Technology Inc slave interrupt 2 C nodes. ...

Page 13

... Table 22-17 “AC Characteristics: Internal RC Accuracy” of the “dsPIC30F2010 Data Sheet” (DS70118). The actual internal FRC accuracy is: • ±4% for 25°C • ±5% for -40°C and 85°C • ±6% for 125°C © 2008 Microchip Technology Inc. dsPIC30F2010 2 24. Module there are two I ...

Page 14

... C bus, and can cause 2 C module are set to values ‘1’ and 2 C module and the first data 2 C masters should be synchro module to be initialized 2 C module is with other modules that have 2 C module module. © 2008 Microchip Technology Inc. ...

Page 15

... Port Pin Multiplexed with IC1), and 24 (FRC). Revision H (5/2008) 2 Added silicon issues 25 and 26 (I C), and 27 (Timer). Revision J (9/2008) 2 Replaced issues 20 and with issue 30 (I Added silicon issues 26 (PLL Lock Status Bit), 27 (PSV 2 Operations) and 28-30 (I C). © 2008 Microchip Technology Inc. Removed 2 C), 22 (Motor 2 C). dsPIC30F2010 DS80186J-page 15 ...

Page 16

... NOTES: DS80186J-page 16 © 2008 Microchip Technology Inc. ...

Page 17

... PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 18

... Philippines - Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan - Hsin Chu Tel: 886-3-572-9526 Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2008 Microchip Technology Inc. 01/02/08 ...

Related keywords