Tms320C6201/C6202/C6701 Rom Modes; Byte Address To Ea Mapping For Asynchronous Memory Widths - Texas Instruments TMS320C6201 Reference Manual

Tms320c6000 series peripherals
Hide thumbs Also See for TMS320C6201:
Table of Contents

Advertisement

Asynchronous Interface
9.6.1

TMS320C6201/C6202/C6701 ROM Modes

Table 9–19. Byte Address to EA Mapping for Asynchronous Memory Widths
22
21
20
Width
32
22
21
20
16
21
20
19
8
20
19
18
9.6.1.1 8-Bit ROM Mode
9-52
The EMIF supports 8- and 16-bit-wide ROM access modes which are selected
by the MTYPE field in the EMIF CE space control registers. In reading data
from these narrow memory spaces, the EMIF packs multiple reads into one
32-bit-wide value. This mode is primarily intended for word accesses to 8-bit
and 16-bit ROM devices. The following restrictions apply:
Read operations always read 32 bits, regardless of the access size or the
memory width.
The address is shifted up appropriately to provide the correct address to
the narrow memory. The shift amount is 1 for 16-bit ROM and 2 for 8-bit
ROM. Thus, the high address bits are shifted out, and accesses wrap
around if the CE space spans the entire EA bus. Table 9–19 shows the ad-
dress bits on the EA bus during an access to CE1 space for all possible
asynchronous memory widths.
The EMIF always reads the lower addresses first and packs these into the
LSbytes. It packs subsequent accesses into the higher order bytes. Thus,
the expected packing format in ROM is always little-endian, regardless of
the value of the LENDIAN bit.
19
18
17
16
15
19
18
17
16
15
18
17
16
15
14
17
16
15
14
13
In 8-bit ROM mode, the address is left-shifted by 2 to create a byte address
on EA to access byte-wide ROM. The EMIF always packs four consecutive
bytes aligned on a 4-byte boundary (byte address = 4N) into a word access.
The bytes are fetched in the following address order: 4N, 4N + 1, 4N + 2,
4N + 3. Bytes are packed into the 32-bit word from MSByte to LSByte in the
following little endian order: 4N + 3, 4N + 2, 4N + 1, 4N.
EA Line
14
13
12
11
10
Logical Byte Address
14
13
12
11
10
13
12
11
10
9
12
11
10
9
8
9
8
7
6
5
9
8
7
6
5
8
7
6
5
4
7
6
5
4
3
4
3
2
4
3
2
3
2
1
2
1
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320c6701Tms320c6711Tms320c6211Tms320c6202

Table of Contents