TMP92CF30
2009-06-15
92CF30-155
3.8.3 Basic Functions and Register Settings
This section describes some of the memory controller functions, such as setting the address
range for each address space, associating memory to the selected space and setting the number
of wait states to be inserted.
(1)
Programming chip select spaces
The address ranges of CS0 to CS3 are specified by MSAR0 to MSAR3 and MAMR0 to
MAMR3.
(a)
Memory Start Address registers
Figure 3.8.1 shows the Memory Start Address registers. The MSAR0 to MSAR3
specify the start addresses for the CS0 to CS3 spaces. The bits S23 to S16 specify the
upper 8 bits (A23 to A16) of the start address. The lower 16 bits of the start address
(A15 to A0) are assumed to be 0. Accordingly, the start address can only be a multiple of
64 Kbytes, ranging from 000000H to FF0000H. Figure 3.8.2 shows the relationship
between the start addresses and the Memory Start Address register values.
Memory Start Address Registers (for CS0 to CS3 spaces)
7 6 5 4 3 2 1 0
Bit
Symbol S23 S22 S21 S20 S19 S18 S17 S16
MSAR0
(0143H)
MSAR1
(0147H) Read/Write R/W
Reset
State
1 1 1 1 1 1 1 1
MSAR2
(014BH)
MSAR3
(014FH) Function
Determines A23 to A16 of the start address
Figure 3.8.1 Memory Start Address Register
64KByte
Address
000000H
FFFFFFH
000000H .................... 00H
010000H .................... 01H
020000H .................... 02H
030000H .................... 03H
040000H .................... 04H
050000H .................... 05H
060000H .................... 06H
FF0000H .................... FFH
Start Address
Value in the Memory Start Address register
(MSAR0 to MSAR3)
to
to
Figure 3.8.2 Relationship Between Start Addresses and the Memory Start Address Register Values
Specifies start addresses for CS0 to CS3 spaces
Summary of Contents for TLCS-900/H1 Series
Page 652: ...TMP92CF30 2009 06 12 92CF30 650 ...