Toshiba TLCS-900/L1 Series Manual page 85

Original cmos 16-bit microcontroller
Hide thumbs Also See for TLCS-900/L1 Series:
Table of Contents

Advertisement

(3) Setting memory start addresses and address areas
Figure 3.6.4 show an example of specifying a 64-Kbyte address area starting from
010000H using the CS0 areas.
Set 01H in memory start address register MSAR0<S23:16> (Corresponding to the
upper 8 bits of the start address). Next, calculate the difference between the start
address and the anticipated end address (01FFFFH). Bits 20 to 8 of the result
correspond to the mask value to be set for the CS0 area. Setting this value in memory
address mask register MAMR0<V20:8> sets the area size This example sets 07H in
MAMR0 to specify a 64-Kbyte area.
0
0
0
0
0
0
0
1
S23 S22 S21 S20 S19 S18 S17 S16
MSAR0
0
0
0
0
0
0
0
1
V20 V19 V18 V17 V16 V15
MSMR0
0
0
0
0
0
0
0
Figure 3.6.4 Example Showing How to Set the CS0 Area
After a reset, MSAR0 to MSAR3 and MAMR0 to MAMR3 are set to FFH.
B0CS<B0E>, B1CS<B1E> and B3CS<B3E> are reset to 0. This disabling the CS0,
CS1 and CS3 areas. However, as B2CS<B2M> to 0 and B2CS<B2E> to 1, CS2 is
enabled from 000FE0H to 000FFFH to 003000H to FFFFFFH in TMP91C824. Also,
the bus width and number of waits specified in BEXCS are used for accessing
addresses outside the specified CS0 to CS3 area. (See 3.6.2 "Chip Select/Wait Control
Registers".)
0
1
1
1
1
1
1
1
1
F
F
0
1
H
V14 to V9
0
0
1
1
1
1
1
1
1
7
Setting of 07H specifies a 64-Kbyte area.
91C824-83
1
1
1
1
1
1
1
1
F
F
V8
1
1
1
1
1
1
1
1
H
TMP91C824
1
Memory
end
H
address
CS0 area
size
(64 Kbytes)
Memory
start
address
1
Memory address
mask register
setting
2008-02-20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp91c824fgJtmp91c824-s

Table of Contents