Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

dsPIC33FJ64GP710A Datasheet(PDF) 67 Page - Microchip Technology

Part # dsPIC33FJ64GP710A
Description  16-bit Digital Signal Controllers (up to 256 KB Flash and 30 KB SRAM) with Advanced Analog
PDF  362 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

dsPIC33FJ64GP710A Datasheet(HTML) 67 Page - Microchip Technology

Back Button dsPIC33FJ64GP710A Datasheet HTML 63Page - Microchip Technology dsPIC33FJ64GP710A Datasheet HTML 64Page - Microchip Technology dsPIC33FJ64GP710A Datasheet HTML 65Page - Microchip Technology dsPIC33FJ64GP710A Datasheet HTML 66Page - Microchip Technology dsPIC33FJ64GP710A Datasheet HTML 67Page - Microchip Technology dsPIC33FJ64GP710A Datasheet HTML 68Page - Microchip Technology dsPIC33FJ64GP710A Datasheet HTML 69Page - Microchip Technology dsPIC33FJ64GP710A Datasheet HTML 70Page - Microchip Technology dsPIC33FJ64GP710A Datasheet HTML 71Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 67 / 362 page
background image
4.2.7
SOFTWARE STACK
In addition to its use as a working register, the W15 register in the
dsPIC33FJXXXGPX06A/X08A/X10A devices is also used as a software Stack
Pointer. The Stack Pointer always points to the first available free word and
grows from lower to higher addresses. It pre-decrements for stack pops and
post-increments for stack pushes, as shown in Figure 4-6. For a PC push during
any CALL instruction, the MSb of the PC is zero-extended before the push,
ensuring that the MSb is always clear.
The Stack Pointer Limit register (SPLIM) associated with the Stack Pointer sets
an upper address boundary for the stack. SPLIM is uninitialized at Reset. As is
the case for the Stack Pointer, SPLIM<0> is forced to ‘0’ because all stack oper-
ations must be word-aligned. Whenever an EA is generated using W15 as a
source or destination pointer, the resulting address is compared with the value
in SPLIM. If the contents of the Stack Pointer (W15) and the SPLIM register are
equal and a push operation is performed, a stack error trap will not occur. The
stack error trap will occur on a subsequent push operation. Thus, for example,
if it is desirable to cause a stack error trap when the stack grows beyond
address 0x2000 in RAM, initialize the SPLIM with the value 0x1FFE.
Similarly, a Stack Pointer underflow (stack error) trap is generated when the
Stack Pointer address is found to be less than 0x0800. This prevents the stack
from interfering with the Special Function Register (SFR) space.
A write to the SPLIM register should not be immediately followed by an indirect
read operation using W15.
FIGURE 4-6:
CALL
STACK FRAME
4.2.8
DATA RAM PROTECTION FEATURE
The dsPIC33F product family supports Data RAM protection features which
enable segments of RAM to be protected when used in conjunction with Boot
and Secure Code Segment Security. BSRAM (Secure RAM segment for BS) is
accessible only from the Boot Segment Flash code when enabled. SSRAM
(Secure RAM segment for RAM) is accessible only from the Secure Segment
Flash code when enabled. See Table 4-1 for an overview of the BSRAM and
SSRAM SFRs.
4.3
Instruction Addressing Modes
The addressing modes in Table 4-35 form the basis of the addressing modes
optimized to support the specific features of individual instructions. The
addressing modes provided in the MAC class of instructions are somewhat dif-
ferent from those in the other instruction types.
4.3.1
FILE REGISTER INSTRUCTIONS
Most file register instructions use a 13-bit address field (f) to directly address
data present in the first 8192 bytes of data memory (Near Data Space). Most
file register instructions employ a working register, W0, which is denoted as
WREG in these instructions. The destination is typically either the same file reg-
Note:
A PC push during exception processing
concatenates the SRL register to the MSb
of the PC prior to the push.
<Free Word>
PC<15:0>
000000000
0
15
W15 (before CALL)
W15 (after CALL)
0x0000
PC<22:16>
POP
: [--W15]
PUSH : [W15++]



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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