数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

DSPIC30F2010 数据表(PDF) 18 Page - Microchip Technology

部件名 DSPIC30F2010
功能描述  High-Performance, 16-Bit Digital Signal Controllers
PDF  236 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

DSPIC30F2010 数据表(HTML) 18 Page - Microchip Technology

Back Button DSPIC30F2010 Datasheet HTML 14Page - Microchip Technology DSPIC30F2010 Datasheet HTML 15Page - Microchip Technology DSPIC30F2010 Datasheet HTML 16Page - Microchip Technology DSPIC30F2010 Datasheet HTML 17Page - Microchip Technology DSPIC30F2010 Datasheet HTML 18Page - Microchip Technology DSPIC30F2010 Datasheet HTML 19Page - Microchip Technology DSPIC30F2010 Datasheet HTML 20Page - Microchip Technology DSPIC30F2010 Datasheet HTML 21Page - Microchip Technology DSPIC30F2010 Datasheet HTML 22Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 236 page
background image
dsPIC30F6010A/6015
DS70150C-page 16
© 2007 Microchip Technology Inc.
2.3
Divide Support
The dsPIC DSC devices feature a 16/16-bit signed
fractional divide operation, as well as 32/16-bit and
16/16-bit signed and unsigned integer divide opera-
tions, in the form of single instruction iterative divides.
The
following
instructions
and
data
sizes
are
supported:
1.
DIVF
– 16/16 signed fractional divide
2.
DIV.sd
– 32/16 signed divide
3.
DIV.ud
– 32/16 unsigned divide
4.
DIV.s
– 16/16 signed divide
5.
DIV.u
– 16/16 unsigned divide
The divide instructions must be executed within a
REPEAT loop. Any other form of execution (e.g., a
series of discrete divide instructions) will not function
correctly because the instruction flow depends on
RCOUNT. The divide instruction does not automatically
set up the RCOUNT value, and it must, therefore, be
explicitly and correctly specified in the REPEAT instruc-
tion, as shown in Table 2-1 (REPEAT will execute the tar-
get instruction {operand value + 1} times). The REPEAT
loop count must be set up for 18 iterations of the DIV/
DIVF
instruction. Thus, a complete divide operation
requires 19 cycles.
TABLE 2-1:
DIVIDE INSTRUCTIONS
2.4
DSP Engine
The DSP engine consists of a high-speed 17-bit x
17-bit multiplier, a barrel shifter, and a 40-bit adder/sub-
tractor (with two target accumulators, round and
saturation logic).
The dsPIC30F devices have a single instruction flow
which can execute either DSP or MCU instructions.
Many of the hardware resources are shared between
the DSP and MCU instructions. For example, the
instruction set has both DSP and MCU multiply
instructions which use the same hardware multiplier.
The DSP engine also has the capability to perform inher-
ent
accumulator-to-accumulator
operations,
which
require no additional data. These instructions are ADD,
SUB
and NEG.
The DSP engine has various options selected through
various bits in the CPU Core Configuration register
(CORCON), as listed below:
1.
Fractional or Integer DSP Multiply (IF).
2.
Signed or Unsigned DSP Multiply (US).
3.
Conventional or Convergent Rounding (RND).
4.
Automatic Saturation On/Off for AccA (SATA).
5.
Automatic Saturation On/Off for AccB (SATB).
6.
Automatic Saturation On/Off for Writes to Data
Memory (SATDW).
7.
Accumulator
Saturation
mode
Selection
(ACCSAT).
A block diagram of the DSP engine is shown in
Figure 2-2.
Note:
The divide flow is interruptible. However,
the user needs to save the context as
appropriate.
Instruction
Function
DIVF
Signed fractional divide: Wm/Wn
→ W0; Rem → W1
DIV.sd
Signed divide: (Wm+1:Wm)/Wn
→ W0; Rem → W1
DIV.s
Signed divide: Wm/Wn
→ W0; Rem → W1
DIV.ud
Unsigned divide: (Wm+1:Wm)/Wn
→ W0; Rem → W1
DIV.u
Unsigned divide: Wm/Wn
→ W0; Rem → W1
Note:
For CORCON layout, see Table 3-3.
TABLE 2-2:
DSP INSTRUCTION
SUMMARY
Instruction
Algebraic Operation
CLR
A = 0
ED
A = (x – y)2
EDAC
A = A + (x – y)2
MAC
A = A + (x * y)
MOVSAC
No change in A
MPY
A = x * y
MPY.N
A = – x * y
MSC
A = A – x * y



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com