Electronic Components Datasheet Search
  English  ▼

X  

SAFC161PI Datasheet(PDF) 357 Page - Infineon Technologies AG

Part # SAFC161PI
Description  16-Bit Single-Chip Microcontroller
PDF  400 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  INFINEON [Infineon Technologies AG]
Direct Link  http://www.infineon.com
Logo INFINEON - Infineon Technologies AG

SAFC161PI Datasheet(HTML) 357 Page - Infineon Technologies AG

Back Button SAFC161PI Datasheet HTML 353Page - Infineon Technologies AG SAFC161PI Datasheet HTML 354Page - Infineon Technologies AG SAFC161PI Datasheet HTML 355Page - Infineon Technologies AG SAFC161PI Datasheet HTML 356Page - Infineon Technologies AG SAFC161PI Datasheet HTML 357Page - Infineon Technologies AG SAFC161PI Datasheet HTML 358Page - Infineon Technologies AG SAFC161PI Datasheet HTML 359Page - Infineon Technologies AG SAFC161PI Datasheet HTML 360Page - Infineon Technologies AG SAFC161PI Datasheet HTML 361Page - Infineon Technologies AG Next Button
Zoom Inzoom in Zoom Outzoom out
 357 / 400 page
background image
&3,
6\VWHP 3URJUDPPLQJ
User’s Manual
20-5
1999-08
It is also possible to use the stack underflow and stack overflow traps to cache portions
of a larger external stack. Only the portion of the system stack currently being used is
placed into the internal memory, thus allowing a greater portion of the internal RAM to
be used for program, data or register banking. This approach assumes no error but
requires a set of control routines (see below).
Circular (virtual) Stack
This basic technique allows pushing until the overflow boundary of the internal stack is
reached. At this point a portion of the stacked data must be saved into external memory
to create space for further stack pushes. This is called “stack flushing”. When executing
a number of return or pop instructions, the upper boundary (since the stack empties
upward to higher memory locations) is reached. The entries that have been previously
saved in external memory must now be restored. This is called “stack filling”. Because
procedure call instructions do not continue to nest infinitely and call and return
instructions alternate, flushing and filling normally occurs very infrequently. If this is not
true for a given program environment, this technique should not be used because of the
overhead of flushing and filling.
The basic mechanism is the transformation of the addresses of a virtual stack area,
controlled via registers SP, STKOV and STKUN, to a defined physical stack area within
the internal RAM via hardware. This virtual stack area covers all possible locations that
SP can point to, i.e. 00’F000
H through 00’FFFEH. STKOV and STKUN accept the same
4 KByte address range.
The size of the physical stack area within the internal RAM that effectively is used for
standard stack operations is defined via bitfield STKSZ in register SYSCON (see below).
Table 20-2
Circular Stack Address Transformation
STKSZ
Stack Size
(Words)
Internal RAM Addresses (Words)
of Physical Stack
Significant Bits
of Stack Ptr. SP
0 0 0
B
256
00’FBFE
H...00’FA00H (Default after Reset)
SP.8...SP.0
0 0 1
B
128
00’FBFE
H...00’FB00H
SP.7...SP.0
0 1 0
B
64
00’FBFE
H...00’FB80H
SP.6...SP.0
0 1 1
B
32
00’FBFE
H...00’FBC0H
SP.5...SP.0
1 0 0
B
512
00’FBFE
H...00’F800H (not for 1KByte IRAM)
SP.9...SP.0
1 0 1
B
---
Reserved. Do not use this combination.
---
1 1 0
B
---
Reserved. Do not use this combination.
---
1 1 1
B
1024
00’FDFE
H...00’FX00H (Note: No circular stack)
00’FX00
H represents the lower IRAM limit, i.e.
1KB: 00’FA00
H, 2 KB: 00’F600H,
3KB: 00’F200
H
SP.11...SP.0



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