DSPIC30F3010-30I/SO Microchip Technology, DSPIC30F3010-30I/SO Datasheet - Page 30
![IC DSPIC MCU/DSP 24K 28SOIC](/photos/6/59/65909/150-28-soic_sml.jpg)
DSPIC30F3010-30I/SO
Manufacturer Part Number
DSPIC30F3010-30I/SO
Description
IC DSPIC MCU/DSP 24K 28SOIC
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr
Datasheets
1.DSPIC30F3010-30ISO.pdf
(228 pages)
2.DSPIC30F3010-30ISO.pdf
(18 pages)
3.DSPIC30F3010-30ISO.pdf
(6 pages)
4.DSPIC30F3010-30ISO.pdf
(16 pages)
5.DSPIC30F3010-30ISO.pdf
(22 pages)
6.DSPIC30F3014-30IP.pdf
(244 pages)
Specifications of DSPIC30F3010-30I/SO
Program Memory Type
FLASH
Program Memory Size
24KB (8K x 24)
Package / Case
28-SOIC (7.5mm Width)
Core Processor
dsPIC
Core Size
16-Bit
Speed
30 MIPs
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, Motor Control PWM, QEI, POR, PWM, WDT
Number Of I /o
20
Eeprom Size
1K x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Product
DSCs
Data Bus Width
16 bit
Processor Series
DSPIC30F
Core
dsPIC
Maximum Clock Frequency
30 MHz
Data Ram Size
1 KB
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52713-733, 52714-737, 53276-922, EWDSPIC
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE4000, DM240002, DM300027, DM330011, DM300018, DM183021
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28SO-1 - SOCKET TRANSITION 28SOIC 300MIL
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
DSPIC30F301030ISO
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F3010-30I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
dsPIC30F
2.5.1
The 17x17-bit multiplier is capable of signed or
unsigned operation and can multiplex its output using a
scaler to support either 1.31 fractional (Q31) or 32-bit
integer results. The respective number representation
formats are shown in Figure 2-10. Unsigned operands
are zero-extended into the 17th bit of the multiplier
input value. Signed operands are sign-extended into
the 17th bit of the multiplier input value. The output of
the 17x17-bit multiplier/scaler is a 33-bit value, which
is sign-extended to 40 bits. Integer data is inherently
represented as a signed two’s complement value,
where the MSB is defined as a sign bit. Generally
speaking, the range of an N-bit two’s complement inte-
ger is -2
range is -32768 (0x8000) to 32767 (0x7FFF), includ-
ing ‘0’ (see Figure 2-10). For a 32-bit integer, the data
range
2,147,483,645 (0x7FFF FFFF).
FIGURE 2-10:
In the special case when both input operands are 1.15
fractions and equal to 0x8000 (-1
multiplication is corrected to 0x7FFFFFFF (as the clos-
est approximation to +1) by hardware, before it is used.
It should be noted that with the exception of DSP mul-
tiplies, the dsPIC30F ALU operates identically on inte-
ger and fractional data. Namely, an addition of two
integers will yield the same result (binary number) as
the addition of two fractional numbers. The only differ-
ence is how the result is interpreted by the user. How-
ever, multiplies performed by DSP operations are
different. In these instructions, data format selection is
made with the IF bit (CORCON<0>) and US bits
(CORCON<12>), and it must be set accordingly (‘0’
for Fractional mode, ‘1’ for Integer mode in the case
of the IF bit, and ‘0’ for signed mode, ‘1’ for unsigned
mode in the case of the US bit). This is required
because of the implied radix point used by dsPIC30F
fractions. In Integer mode, multiplying two 16-bit inte-
gers produces a 32-bit integer result. However, multi-
plying two 1.15 values generates a 2.30 result. Since
the dsPIC30F uses 1.31 format for the accumulators,
DS70082G-page 28
N-1
is
MULTIPLIER
to 2
-2,147,483,648
Different Representations of 0x4001
Integer:
N-1
1.15 Fractional:
-2
2
– 1. For a 16-bit integer, the data
0
0
0
0
0x4001 = 2
0x4001 = 2
16-BIT INTEGER AND FRACTIONAL MODES
2
2
1
1
14
-1
2
2
0
0
-2
13
-1
(0x8000 0000)
14
2
10
0
+ 2
2
+ 2
0
-3
12
), the result of the
...
-15
0
= 16385
0
= 0.500030518
0
2
11
....
0
0
0
0
Preliminary
to
0
0
0
0
0
When the multiplier is configured for fractional multipli-
cation, the data is represented as a two’s complement
fraction, where the MSB is defined as a sign bit and the
radix point is implied to lie just after the sign bit (QX for-
mat). The range of an N-bit two’s complement fraction
with this implied radix point is -1.0 to (1-2
16-bit fraction, the Q15 data range is -1.0 (0x8000) to
0.999969482 (0x7FFF), including ‘0’ and has a preci-
sion of 3.01518x10
tiply operation generates a 1.31 product, which has a
precision of 4.65661x10
Certain multiply operations always operate on signed
data. These include the MAC/MSC, MPY[.N] and
ED[AC] instructions. The 40-bit adder/subtractor may
also optionally negate one of its operand inputs to
change the result sign (without changing the oper-
ands). This is used to create a multiply and subtract
(MSC) or multiply and negate (MPY.N) operation.
a DSP multiply in Fractional mode also includes a left
shift by one bit to keep the radix point properly
aligned. This feature reduces the resolution of the
DSP multiplier to 2
computation.
The same multiplier is used to support the MCU multi-
ply instructions, which include integer 16-bit signed,
unsigned and mixed sign multiplies. Additional data
paths are provided to allow these instructions to write
the result back into the W array and X data bus (via the
W array). These paths are placed prior to the data
scaler. The IF bit in the CORCON register, therefore,
only affects the result of the MAC class of DSP instruc-
tions. All other multiply operations are assumed to be
integer operations. If the user executes a MAC instruc-
tion on fractional data without clearing the IF bit, the
result must be explicitly shifted left by the user program
after multiplication in order to obtain the correct result.
0
0
0
0
0
0
0
-5
-30
0
. In fractional mode, a 16x16 mul-
0
, but has no other effect on the
2004 Microchip Technology Inc.
-10
0
.
0
2
2
1
-15
1
0
1-N
). For a