TMP92CF30
2009-06-15
92CF30-157
(c)
Setting the start addresses and address ranges
An example of specifying a 64-Kbyte address space starting from 010000H for the
CS0 space:
Set 01H in the MSAR0<S23:S16> bits that corresponds to the upper 8 bits of the
start address. Then, calculate the difference between the start address and the
anticipated end address (01FFFFH) based on the size of the CS0 space. Bits 20 to 8 of
the calculation result correspond to the mask value to be set for the CS0 space. Setting
this value in the MAMR0<V20:V8> bits specifies the block size. This example sets 07H
in MAMR0 to allocate a 64-Kbyte address space for the CS0 space.
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0 1 F F F F
S23 S22 S21 S20 S19 S18 S17 S16
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0 1 0 0 0
V20 V19 V18 V17 V16 V15
V14
∼
V9
V8
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
7
H
H
Memory
end
address
Memory
Start
address
CS0 area
Size
(64
Kbytes)
Memory address
mask register
setting
MSAR0
MSMR0
Setting of 07H specifies a 64-Kbyte area.
H
0
(d)
Programming block sizes
Table 3.8.3 shows the relationship between CS spaces and their block sizes. The “
Δ
”
symbol indicates the size that might not be programmable depending on the
combination of the values of the Memory Start Address and Memory Address Mask
registers. When specifying a block size indicated as “
Δ
”, set the start address register to
a multiple of the desired block size starting from 000000H.
If the 16-Mbyte range is defined as CS2 space, or if two or more spaces overlap, the
settings for the CS space with the smallest number overrides the settings for other
spaces because of its highest priority.
Example: Defining 128 Kbyte area as the CS0 space:
a. Valid start addresses
000000H
020000H
040000H
060000H
128 Kbytes
128 Kbytes
128 Kbytes
The desired block size can be programmed with this
configuration.
:
b. Invalid start addresses
000000H
010000H
030000H
050000H
64 Kbytes
128 Kbytes
128 Kbytes
This start address is not a multiple of the desired block size.
Hence, the desired block size cannot be programmed with this
configuration.
Summary of Contents for TLCS-900/H1 Series
Page 652: ...TMP92CF30 2009 06 12 92CF30 650 ...