Chapter 2
62
••••
Architecture
eSL/eSLS Series (+ eSLZ000) User’s Manual
Case (c) & (d)
The best arrangement for SPA and SPLIM is illustrated in Case (c) where you
already know how much SPA dynamic operation range is needed by setting
SPLIM (not SP) and use the remaining and most of the RAM memory for your
general usage. However, if you provide inadequate space for SPA dynamic
range (as in Case (d), SPLIM interrupt will occur frequently. Therefore, Case
(c) must be used carefully and is recommended for professional programmers
only. Furthermore, under Case (c), you may use BS and BC in RAM Address
0x0000 to 0x0007 as its memory management is user definable.
CAUTION !!
SP value can NOT be equal to SPLIM value in
Case (c)
and
(d)
. Otherwise the data in
data usable range will be damaged.
Cases (a) to (d) Examples:
/**************************************************
* Set the value of SP and SPLIM as in Case(a)
********************************************/******
R0 = #0x0000
IO[SPLIM] = R0
// SPLIM = #0x0000
R0 = #0x07FF
IO[SPA] = R0
// SP = #0x07FF
/**************************************************
* Set the value of SPAR and SPLIM as in Case(b)
***************************************************
R0 = #0x0000
IO[SPLIM] = R0
// SPLIM = #0x0000
R0 = #0x0010
IO[SPA] = R0
// SP = #0x0010
/**************************************************
* Set the value of SPAR and SPLIM as in Case(c)
***************************************************
R0 = #0x0500
IO[SPLIM] = R0
// SPLIM = #0x0500
R0 = #0x07FF
IO[SPA] = R0
// SP = #0x07FF
/**************************************************
* Set the value of SPAR and SPLIM as in Case(d)
***************************************************
R0 = #0x07F0
IO[SPLIM] = R0
// SPLIM = #0x07F0
R0 = #0x07FF
IO[SPA] = R0
// SP = #0x07FF
Summary of Contents for eSL Series
Page 8: ...Contents viii Contents eSL eSLS Series eSLZ000 User s Manual...
Page 11: ...Contents eSL eSLS Series eSLZ000 User s Manual Contents xi...
Page 12: ......
Page 28: ......
Page 110: ...Chapter 3 98 Peripheral Control eSL eSLS Series eSLZ000 User s Manual BC IO INTF1 ADIF RETI...
Page 115: ...Chapter 3 eSL eSLS Series eSLZ000 User s Manual Peripheral Control 103...
Page 148: ......
Page 154: ...Chapter 4 142 Electrical Characteristics eSL eSLS Series eSLZ000 User s Manual...