Texas Instruments TMS320C3x User Manual
Page 16

Contents
xvii
Contents
9
TMS320C30 and TMS320C31 External-Memory Interface
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Description of primary and expansion interfaces for the ’C30 and ’C31; external interface timing
diagrams; programmable wait-states and bank switching.
9.1
Overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.2
Memory Interface Signals
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.2.1
TMS320C30 Memory Interface Signals
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.2.2
TMS320C31 Memory Interface Signals
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.3
Memory Interface Control Registers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.3.1
Primary-Bus Control Register
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.3.2
Expansion-Bus Control Register
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.4
Programmable Wait States
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.5
Programmable Bank Switching
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.6
External Memory Interface Timing
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.6.1
Primary-Bus Cycles
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.6.2
Expansion-Bus I/O Cycles
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.6.3
Hold Cycles
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10 TMS320C32 Enhanced External Memory Interface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Description of primary and expansion interfaces for the ’C32; external interface timing
diagrams; programmable wait-states and bank switching.
10.1
TMS320C32 Memory Features
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.2
TMS320C32 Memory Overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.2.1
External Memory Interface Overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.2.2
Program Memory Access
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.2.3
Data Memory Access
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.3
Configuration
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.3.1
External Interface Control Registers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.3.2
Using Physical Memory Width and Data-Type Size Fields
. . . . . . . . . . . . .
10.4
Programmable Wait States
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.5
Programmable Bank Switching
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.6
32-Bit-Wide Memory Interface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.7
16-Bit-Wide Memory Interface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.8
8-Bit-Wide Memory Interface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.9
External Ready Timing Improvement
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.10 Bus Timing
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.10.1 STRB0 and STRB1 Bus Cycles
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.10.2 IOSTRB Bus Cycles
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.10.3 Inactive Bus States
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11 Using the TMS320C31 and TMS320C32 Boot Loaders
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Description of the boot loader operations for the ’C31 and ’C32.
11.1
TMS320C31 Boot Loader
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11.1.1
TMS320C31 Boot-Loader Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11.1.2
TMS320C31 Boot-Loader Mode Selection
. . . . . . . . . . . . . . . . . . . . . . . . . . . .