TMS320C32 Memory Overview
10-5
TMS320C32 Enhanced External Memory Interface
The PRGW status bit field of the CPU status (ST) register reflects the setting
of the PRGW pin. Figure 10–2 depicts all the bit fields of the CPU status (ST)
register.
Figure 10–2. Status Register
Á
Á
ÁÁÁ
ÁÁÁ
31–16
ÁÁÁ
ÁÁÁ
15
ÁÁÁ
ÁÁÁ
14
ÁÁÁ
ÁÁÁ
13
ÁÁ
ÁÁ
12
ÁÁÁ
ÁÁÁ
11
ÁÁ
ÁÁ
10
ÁÁÁ
ÁÁÁ
9
ÁÁ
ÁÁ
8
ÁÁÁ
ÁÁÁ
7
ÁÁÁ
ÁÁÁ
6
ÁÁ
ÁÁ
5
ÁÁÁ
ÁÁÁ
4
ÁÁ
ÁÁ
3
ÁÁÁ
ÁÁÁ
2
ÁÁÁ
ÁÁÁ
1
ÁÁ
ÁÁ
0
ÁÁ
ÁÁ
Á
Á
Á
xx
PRGW
status
INT
config
ÁÁÁ
Á
Á
Á
ÁÁÁ
GIE
ÁÁ
ÁÁ
ÁÁ
CC
ÁÁÁ
Á
Á
Á
ÁÁÁ
CE
ÁÁ
ÁÁ
ÁÁ
CF
xx
ÁÁ
ÁÁ
ÁÁ
RM
ÁÁÁ
Á
Á
Á
ÁÁÁ
OVM
ÁÁÁ
Á
Á
Á
ÁÁÁ
LUF
ÁÁ
ÁÁ
ÁÁ
LV
ÁÁÁ
Á
Á
Á
ÁÁÁ
UF
ÁÁ
ÁÁ
ÁÁ
N
ÁÁÁ
Á
Á
Á
ÁÁÁ
Z
ÁÁÁ
Á
Á
Á
ÁÁÁ
V
C
ÁÁ
ÁÁ
ÁÁ
Á
ÁÁÁ
ÁÁÁ
R
ÁÁÁ
R/W
ÁÁÁ
R/W
ÁÁ
R/W
ÁÁÁ
R/W
ÁÁ
R/W
ÁÁÁ
ÁÁ
R/W
ÁÁÁ
R/W
ÁÁÁ
R/W
ÁÁ
R/W
ÁÁÁ
R/W
ÁÁ
R/W
ÁÁÁ
R/W
ÁÁÁ
R/W
ÁÁ
R/W
ÁÁ
Notes:
1) xx = reserved bit, read as 0
The status of the PRGW pin also affects the reset value of the physical memory
width bit fields of the STRB0 and STRB1 bus-control registers. The physical
memory width is set to 32-bit memory width if the PRGW pin is logic low after
the device reset. The physical memory width is set to 16-bit memory width if
the PRGW pin is logic high after the device reset (see Section 10.3 for more
information).
The cycle before and the cycle after changing the PRGW should not
perform a program fetch over the external memory interface.
10.2.3 Data Memory Access
The ’C32 can load and store 8-, 16-, or 32-bit data quantities from and into
memory. Because the CPU has a 32-bit architecture, the device internally
handles all 8-, 16-, or 32-bit data quantities as a 32-bit value. Hence, the external
memory interface handles the conversion between 8- and 16-bit data quantities
to the internal 32-bit representation. The external memory interface also
handles the storage of 32-, 16-, or 8-bit data quantities into 32-, 16-, or 8-bit wide
memories.
10.2.3.1
8-, 16-, or 32-Bit Integers Data Types
The ’C32 supports 8-, 16- or 32-bit integer data quantities. When 8- or 16-bit
integers are read from external memory, the value is loaded into the LSBs of
the register with the MSBs sign-extended or zero-filled. The polarity of the sign
ext/zero-fill bit field of the corresponding STRB control register controls the
sign extension or zero fill (see paragraphs 10.3.1.1 and 10.3.1.2). The 32-bit
integer data access is identical to that of the ’C30 and ’C31.