- 150 Million Floating-Point Operations
Per Second (MFLOPS)
- 75 Million Instructions Per Second
(MIPS)
D34K × 32-Bit (1.1-Mbit) On-Chip Words of
Dual-Access Static Random-Access
Memory (SRAM) Configured in 2 × 16K plus
2 × 1K Blocks to improve Internal
Performance
Dx5 Phase-Locked Loop (PLL) Clock
Generator
DVery Low Power: < 200 mW @ 150 MFLOPS
D32-Bit High-Performance CPU
D16-/32-Bit Integer and 32-/40-Bit
Floating-Point Operations
DFour Internally Decoded Page Strobes to
Simplify Interface to I/O and Memory
Devices
DBoot-Program Loader
DEDGEMODE Selectable External Interrupts
D32-Bit Instruction Word, 24-Bit Addresses
DEight Extended-Precision Registers
DFabricated Using the 0.18-µm (l
Gate Length) TImeline Technology by
Texas Instruments (TI)
description
-Effective
eff
DOn-Chip Memory-Mapped Peripherals:
- One Serial Port
- Two 32-Bit Timers
- Direct Memory Access (DMA)
Coprocessor for Concurrent I/O and CPU
Operation
D164-Pin Low-Profile Quad Flatpack (HFG
Suffix)
D144-Pin Non-hermetic Ceramic Ball Grid
Array (CBGA) (GNM Suffix)
DTwo Address Generators With Eight
Auxiliary Registers and Two Auxiliary
Register Arithmetic Units (ARAUs)
DTwo Low-Power Modes
DTwo- and Three-Operand Instructions
DParallel Arithmetic/Logic Unit (ALU) and
Multiplier Execution in a Single Cycle
DBlock-Repeat Capability
DZero-Overhead Loops With Single-Cycle
Branches
DConditional Calls and Returns
DInterlocked Instructions for
Multiprocessing Support
DBus-Control Registers Configure
Strobe-Control Wait-State Generation
D1.8-V (Core) and 3.3-V (I/O) Supply Voltages
The SM/SMJ320VC33 DSP is a 32-bit, floating-point processor manufactured in 0.18-µm four-level-metal
CMOS (TImeline) technology. The SM/SMJ320VC33 is part of the SM320C3x generation of DSPs from Texas
Instruments.
The SM320C3x internal busing and special digital-signal-processing instruction set have the speed and
flexibility to execute up to 150 million floating-point operations per second (MFLOPS). The SM/SMJ320VC33
optimizes speed by implementing functions in hardware that other processors implement through software or
microcode. This hardware-intensive approach provides performance previously unavailable on a single chip.
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
TImeline and SM320C3x are trademarks of Texas Instruments.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of Texas Instruments
standard warranty. Production processing does not necessarily include
testing of all parameters.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251-1443
Copyright 2002, Texas Instruments Incorporated
On products compliant to MIL−PRF−38535, all parameters are tested
unless otherwise noted. On all other products, production
processing does not necessarily include testing of all parameters.
1
SM320VC33, SMJ320VC33
DIGITAL SIGNAL PROCESSOR
SGUS034E - FEBRUARY 2001 - REVISED OCTOBER 2002
description (continued)
The SM/SMJ320VC33 can perform parallel multiply and ALU operations on integer or floating-point data in a
single cycle. Each processor also possesses a general-purpose register file, a program cache, dedicated
ARAUs, internal dual-access memories, one DMA channel supporting concurrent I/O, and a short
machine-cycle time. High performance and ease of use are the results of these features.
General-purpose applications are greatly enhanced by the large address space, multiprocessor interface,
internally and externally generated wait states, one external interface port, two timers, one serial port, and
multiple-interrupt structure. The SM320C3x supports a wide variety of system applications from host processor
to dedicated coprocessor. High-level-language support is easily implemented through a register-based
architecture, large address space, powerful addressing modes, flexible instruction set, and well-supported
floating-point arithmetic.
JTAG scan-based emulation logic
The 320VC33 contains a JTAG port for CPU emulation within a chain of any number of other JTAG devices.
The JTAG port on this device does not include a pin-by-pin boundary scan for point-to-point board level test.
The Boundary Scan tap input and output is internally connected with a single dummy register allowing loop back
tests to be performed through that JTAG domain.
The JTAG emulation port of this device also includes two additional pins, EMU0 and EMU1, for global control
of multiple processors conforming to the TI emulation standard. These pins are open collector-type outputs
which are wire ORed and tied high with a pullup. Non-TI emulation devices should not be connected to these
pins.
The VC33 instruction register is 8 bits long. Table 1 shows the instructions code. The uses of SAMPLE and
HIGHZ opcodes, though defined, have no meaning for the SM/SMJ320VC33, which has no boundary scan. For
example, HIGHZ will affect only the dummy cell (no meaning) and will not put the device pins in a
high-impedance state.
Table 1. Boundary-Scan Instruction Code
INSTRUCTION NAMEINSTRUCTION CODE
EXTEST00000000
BYPASS11111111
SAMPLE00000010Boundry is only one dummy cell
HIGHZ00000110Boundry is only one dummy cell
PRIVATE1
PRIVATE2
PRIVATE3
PRIVATE4
PRIVATE5
PRIVATE6
PRIVATE7
PRIVATE8
PRIVATE9
PRIVATE10
PRIVATE11
Use of Private opcodes could cause the device to operate in an unexpected manner.
2
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251-1443
pinout
NC
NC
NC
A20
V
A19
A18
A17
DV
A16
A15
V
A14
A13
CV
A12
A11
DV
A10
V
DV
V
CV
DV
PAGE3
PAGE2
V
PAGE1
PAGE0
NC
NC
SM320VC33, SMJ320VC33
DIGITAL SIGNAL PROCESSOR
SGUS034E - FEBRUARY 2001 - REVISED OCTOBER 2002
SS
RESET
V
143
144
63
62
†‡
CV
MCBL/MP
EDGEMODE
140
141
142
66
65
64
DD
INT0
139
67
INT1
138
68
INT2
137
69
INT3
136
70
71
SS
V
135
XF0
134
72
73
XF1
133
74
DD
DV
132
131
75
SS
TCLK0
TCLK1DXCLKX0
FSX
V
127
128
129
130
80
79
78
77
76
126
NC
NC
125
124
NC
123
122
NC
121
NC
120
DV
DD
119
CLKR
118
FSR0
117
V
SS
116
DR0
115
TRST
114
TMS
113
CV
DD
112
TDI
111
TDO
110
TCK
109
V
SS
108
EMU0
107
EMU1
106
DV
DD
105
D0
104
D1
103
D2
102
D3
101
V
SS
100
D4
99
D5
98
DV
DD
97
D6
96
D7
95
CV
DD
94
D8
93
D9
92
V
SS
91
D10
90
D11
89
DV
DD
88
D12
87
D13
86
D14
85
D15
84
NC
83
NC
81
82
HFG PACKAGE
(TOP VIEW)
DD
DD
SS
163
43
162
44
A21
161
45
DV
160
46
A22
159
47
158
48
A23
157
49
V
RSV0
156
50
RSV1
155
51
NCNCNC
164
1
2
3
4
5
SS
6
7
8
9
DD
10
11
12
SS
13
14
15
DD
16
17
18
DD
19
A9
20
21
SS
A8
22
23
A7
24
A6
25
A5
26
DD
27
A4
28
SS
29
A3
30
A2
31
DD
32
A1
33
A0
34
DD
35
36
37
SS
38
39
40
41
42
DD
CV
154
52
CLKMD0
CLKMD1
152
153
54
53
PLLV
151
55
SS
XIN
150
56
XOUT
148
149
58
57
PLLV
EXTCLK
147
59
DV
146
60
DD
SHZ
145
61
H1
NC
DV
DD
H3
SS
DD
R/W
V
STRB
DV
IACK
RDY
CV
DD
HOLD
HOLDA
SS
D30
D31
D29
V
DV
DD
D28
D27
SS
D25
D24
D26
V
DV
DD
D23
D22
SS
DD
D21
D20
D19
CV
D18
V
DV
DD
D17
D16
SS
NC
NC
V
respectively.
SS,
NC
NC
NC - No internal connection
†
DVDD is the power supply for the I/O pins while CVDD is the power supply for the core CPU. VSS is the ground for both the I/O
pins and the core CPU.
‡
PLLVDD and PLLVSS are isolated PLL supply pins that should be externally connected to CVDD and V
The SM/SMJ320VC33 device is packaged in 164-pin low-profile quad flatpacks (HFG Suffix) and in 144-ball
fine pitch ball grid arrays (GNL and GNM Suffix).
CLKR01I/O/ZSerial port 0 receive clock. CLKR0 is the serial shift clock for the serial port 0 receiver.SR
CLKX01I/O/Z
DR01I/O/ZData-receive. Serial port 0 receives serial data on DR0.SR
DX01I/O/ZData-transmit output. Serial port 0 transmits serial data on DX0.SR
FSR01I/O/Z
FSX01I/O/Z
†
I = input, O = output, Z = high-impedance state
‡
S = SHZ active, H = HOLD active, R = RESET active
§
Recommended decoupling. Four 0.1 µF for CVDD and eight 0.1 µF for DVDD.
TYPE
PRIMARY-BUS INTERFACE
32-bit data portSHR
Data port bus keepers. (See Figure 9)S
Read/write. R/W is high when a read is performed and low when a write is performed
over the parallel interface.
1O/ZPage strobes. Four decoded page strobes for external accessSHR
Ready. RDY indicates that the external device is prepared for a transaction
completion.
Hold. When HOLD is a logic low, any ongoing transaction is completed. A23- A0,
D31-D0, STRB, and R/W are placed in the high-impedance state and all
transactions over the primary-bus interface are held until HOLD becomes a logic high
or until the NOHOLD bit of the primary-bus-control register is set.
Hold acknowledge. HOLDA is generated in response to a logic-low on HOLD.
HOLDA indicates that A23-A0, D31-D0, STRB, and R/W are in the high-impedance
state and that all transactions over the bus are held. HOLDA is high in response to
a logic-high of HOLD or the NOHOLD bit of the primary-bus-control register is set.
CONTROL SIGNALS
Reset. When RESET is a logic low, the device is in the reset condition. When RESET
becomes a logic high, execution begins from the location specified by the reset vector.
Internal acknowledge. IACK is generated by the IACK instruction. IACK can be used
to indicate when a section of code is being executed.
Shutdown high impedance. When active, SHZ places all pins in the high-impedance
state. SHZ can be used for board-level testing or to ensure that no dual-drive
conditions occur. CAUTION: A low on SHZ corrupts the device memory and register
contents. Reset the device with SHZ high to restore it to a known operating condition.
External flags. XF1 and XF0 are used as general-purpose I/Os or to support
interlocked processor instruction.
SERIAL PORT 0 SIGNALS
Serial port 0 transmit clock. CLKX0 is the serial shift clock for the serial port 0
transmitter.
Frame-synchronization pulse for receive. The FSR0 pulse initiates the data-receive
process using DR0.
Frame-synchronization pulse for transmit. The FSX0 pulse initiates the data-transmit
process using DX0.
CONDITIONS
WHEN
SIGNAL IS Z TYPE
SHR
S
S
SR
SR
SR
SR
‡
6
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251-1443
SGUS034E - FEBRUARY 2001 - REVISED OCTOBER 2002
†
DESCRIPTION
Terminal Functions (Continued)
SM320VC33, SMJ320VC33
DIGITAL SIGNAL PROCESSOR
TERMINAL
NAMEQTY
TYPE
TIMER SIGNALS
TCLK01I/O/Z
TCLK11I/O/Z
Timer clock 0. As an input, TCLK0 is used by timer 0 to count external pulses. As
an output, TCLK0 outputs pulses generated by timer 0.
Timer clock 1. As an input, TCLK1 is used by timer 1 to count external pulses. As
an output, TCLK1 outputs pulses generated by timer 1.
SUPPLY AND OSCILLATOR SIGNALS
H11O/ZExternal H1 clockS
H31O/ZExternal H3 clockS
CV
DV
V
SS
PLLV
PLLV
DD
DD
DD
SS
8I
16I
18IGround. All grounds must be connected to a common ground plane.
1IInternally isolated PLL supply. Connect to CVDD (1.8 V)
1IInternally isolated PLL ground. Connect to V
EXTCLK1I
XOUT1O
XIN1I
CLKMD0,
CLKMD1
2IClock mode select pins
+VDD. Dedicated 1.8-V power supply for the core CPU. All must be connected to
a common supply plane.
+VDD. Dedicated 3.3-V power supply for the I/O pins. All must be connected to a
common supply plane.
§
§
SS
External clock. Logic level compatible clock input. If the XIN/XOUT oscillator is
used, tie this pin to ground.
Clock out. Output from the internal-crystal oscillator. If a crystal is not used, XOUT
should be left unconnected.
Clock in. Internal-oscillator input from a crystal. If EXTCLK is used, tie this pin to
ground.
RSV0 - RSV12IReserved. Use individual pullups to DVDD.
JTAG EMULATION
EMU1- EMU02I/OEmulation pins 0 and 1, use individual pullups to DV
DD
TDI1ITest data input
TDO1OTest data output
TCK1ITest clock
TMS1ITest mode select
TRST1ITest reset
†
I = input, O = output, Z = high-impedance state
‡
S = SHZ active, H = HOLD active, R = RESET active
§
Recommended decoupling. Four 0.1 µF for CVDD and eight 0.1 µF for DVDD.
CONDITIONS
WHEN
SIGNAL IS Z TYPE
SR
SR
‡
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251-1443
7
SM320VC33, SMJ320VC33
DIGITAL SIGNAL PROCESSOR
SGUS034E - FEBRUARY 2001 - REVISED OCTOBER 2002
functional block diagram
PAGE0
PAGE1
PAGE2
PAGE3
RDY
HOLD
HOLDA
STRB
R/W
D31- D0
A23- A0
RSV(0,1)
SHZ
EDGEMODE
RESET
INT(3- 0)
IACK
MCBL/MP
XF(1,0)
TDI
TDO
EMU0
EMU1
TCK
TMS
TRST
EXTCLK
XOUT
XIN
CLKMD(0,1)
MUX
RAM
Block 0
(1K × 32)
24
32324040
REG1
REG2
Multiplier
40
40
40
32
24
24
32
32
32
32
Cache
(64 × 32)
322424
PDATA Bus
PADDR Bus
DDATA Bus
DADDR1 Bus
MUX
DADDR2 Bus
DMADATA Bus
DMAADDR Bus
IR
PC
Controller
JTAG Emulation
H1
H3
PLL CLK
32
CPU1
RAM
Block 1
(1K × 32)
2424323232
24
32
CPU1
CPU2
REG1
REG2
ARAU0ARAU1
24
32-Bit
Barrel
Shifter
ALU
Extended-
Precision
Registers
(R7-R0)
DISP0, IR0, IR1
BK
Auxiliary
Registers
(AR0- AR7)
Other
Registers
(12)
24
32
DMA Controller
Global-Control
Source-Address
Destination-
40
40
24
32
32
Boot
Loader
Register
Register
Address
Register
Transfer-
Counter
Register
40
RAM
Block 2
(16K × 32)
24
24
32
Peripheral Data Bus
FSX0
DX0
CLKX0
FSR0
DR0
CLKR0
TCLK0
TCLK1
RAM
Block 3
(16K × 32)
24
32
Serial Port 0
Serial-Port-Control
Register
Receive/Transmit
(R/X) Timer Register
Data-Transmit
Register
Data-Receive
Register
Timer 0
Global-Control
Register
Timer-Period
Register
Timer-Counter
Register
Timer 1
Global-Control
Register
Timer-Period
Register
Timer-Counter
Register
Port Control
STRB-Control
Register
MUX
Peripheral Data Bus
Peripheral Address Bus
8
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251-1443
memory map
SM320VC33, SMJ320VC33
DIGITAL SIGNAL PROCESSOR
SGUS034E - FEBRUARY 2001 - REVISED OCTOBER 2002
0h
03Fh
040h
7FFFFFh
800000h
803FFFh
804000h
807FFFh
808000h
8097FFh
809800h
809BFFh
809C00h
809FFFh
80A000h
FFFFFFh
Reset, Interrupt, Trap V ector, and
Reserved Locations (64)
(External STRB
STRB
(8M Words - 64 Words)
RAM Block 2
(16K Words Internal)
RAM Block 3
(16K Words Internal)
Peripheral Bus
Memory-Mapped Registers
(6K Words Internal)
RAM Block 0
(1K Words Internal)
RAM Block 1
(1K Words Internal)
STRB
(8M Words - 40K Words)
(a) Microprocessor Mode
External
Active
External
Active
Active)
0h
FFFh
1000h
400000h
7FFFFFh
800000h
803FFFh
804000h
807FFFh
808000h
8097FFh
809800h
809BFFh
809C00h
809FC0h
809FC1h
809FFFh
80A000h
FFF000h
FFFFFFh
Reserved for Bootloader
Operations
Boot 1
External
STRB
Active
Boot 2
(16K Words Internal)
(16K Words Internal)
Memory-Mapped Registers
(6K Words Internal)
(1K Words Internal)
(1K Words Internal)
User-Program Interrupt
and Trap Branch Table
63 Words
Boot 3
(b) Microcomputer/Bootloader Mode
(8M Words -
4K Words)
RAM Block 2
RAM Block 3
Peripheral Bus
RAM Block 0
RAM Block 1
External
STRB
(8M Words -
40K Words)
Active
NOTE A: STRB is active over all external memory ranges. PAGE0 to PAGE3 are configured as external bus strobes. These are simple
decoded strobes that have no configuration registers and are active only during external bus activity over the following ranges:
The clock generator provides clocks to the VC33 device, and consists of an internal oscillator and a
phase-locked loop (PLL) circuit. The clock generator requires a reference clock input, which can be provided
by using a crystal resonator with the internal oscillator, or from an external clock source. The PLL circuit
generates the device clock by multiplying the reference clock frequency by a x5 scale factor, allowing use of
a clock source with a lower frequency than that of the CPU. The PLL is an adaptive circuit that, once
synchronized, locks onto and tracks an input clock signal.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251-1443
11
SM320VC33, SMJ320VC33
DIGITAL SIGNAL PROCESSOR
SGUS034E - FEBRUARY 2001 - REVISED OCTOBER 2002
PLL and clock oscillator control
The clock mode control pins are decoded into four operational modes as shown in Figure 4. These modes
control clock divide ratios, oscillator, and PLL power (see Table 2).
When an external clock input or crystal is connected, the opposite unused input is simply grounded. An XOR
gate then passes one of the two signal sources to the PLL stage. This allows the direct injection of a clock
reference into EXTCLK, or 1-20 MHz crystals and ceramic resonators with the oscillator circuit. The two clock
sources include:
DA crystal oscillator circuit, where a crystal or ceramic resonator is connected across the XOUT and XIN pins
and EXTCLK is grounded.
DAn external clock input, where an external clock source is directly connected to the EXTCLK pin, and XOUT
is left unconnected and XIN is grounded.
When the PLL is initially started, it enters a transitional mode during which the PLL acquires lock with the input
signal. Once the PLL is locked, it continues to track and maintain synchronization with the input signal. The PLL
is a simple x5 reference multiplier with bypass and power control.
The clock divider, under CPU control, reduces the clock reference by 1 (MAXSPEED), 1/16 (LOWPOWER), or
clock stop (IDLE2). Wake-up from the IDLE2 state is accomplished by a RESET or interrupt pin logic-low state.
A divide-by-two TMS320C31 equivalent mode of operation is also provided. In this case, the clock output
reference is further divided by two with clock synchronization being determined by the timing of RESET falling
relative to the present H1/H3 state.
Clock DividerPLLClock & Crystal OSC
EXTCLK
XOUT
M
U
X
X1, 1/16, Off
C31 DIV2 Mode
1/2
M
U
X
XIN
CLKMD0
CLKMD1
RFS1
Oscillator Enable
SEL
XOR
PLLX5
PLL PWR and Bypass
Figure 4. Clock Generation
T able 2. Clock Mode Select Pins
CLKMD0CLKMD1FEEDBACKPLLPWRRATIONOTES
00OffOff1Fully static, very low power
01OnOff1/2Oscillator enabled
10OnOff1Oscillator enabled
11OnOn52 mA @ 60 MHz, 1.8 V PLL power. Oscillator enabled
MAXSPEED/
LOWPOWER
IDLE2
CPU CLOCK
12
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251-1443
SM320VC33, SMJ320VC33
DIGITAL SIGNAL PROCESSOR
SGUS034E - FEBRUARY 2001 - REVISED OCTOBER 2002
PLL and clock oscillator control (continued)
Typical crystals in the 8-30 MHz range have a series resistance of 25 Ω, which increases below 8 MHz. To
maintain proper filtering and phase relationships, Rd and Z
the crystal. A series compensation resistor (Rd), shown in Figure 5, is recommended when using lower
frequency crystals. The XOUT output, the square wave inverse of XIN, is then filtered by the XOUT output
impedance, C1 load capacitor, and Rd (if present). The crystal and C2 input load capacitor then refilters this
signal, resulting in a XIN signal that is 75-85% of the oscillator supply voltage.
NOTE: Some ceramic resonators are available in a low-cost, three-terminal package that includes C1 and C2
internally. Typically, ceramic resonators do not provide the frequency accuracy of crystals.
NOTE: Better PLL stability can be achieved using the optional power supply isolation circuit shown in Figure 5.
A similar filter can be used to isolate the PLLVSS, as shown in Figure 6. PLL VDD can also be directly connected
DD
.
to CV
Table 3. Typical Crystal Circuit Loading
FREQUENCY (MHz)Rd (Ω)C1 (pF)C2 (pF)CL† (pF)RL† (Ω)
24.7k181812200
52.2k18181260
1047015151230
15015121225
†
CL and RL are typical internal series load capacitance and resistance of the crystal.
200991025
of the oscillator circuit should be 10x-40x that of
out
XOUTXIN
Crystal
C1C2
Figure 5. Self-Oscillation Mode
EXTCLKRdPLLV
SS
PLLV
DD
0.1 µF
100 Ω
CV
DD
0.01 µF
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251-1443
13
SM320VC33, SMJ320VC33
DIGITAL SIGNAL PROCESSOR
SGUS034E - FEBRUARY 2001 - REVISED OCTOBER 2002
PLL isolation
The internal PLL supplies can be directly connected to CVDD and VSS (0 Ω case) or fully isolated as shown in
Figure 6. The RC network prevents the PLL supplies from turning high frequency noise in the CVDD and V
supplies into jitter.
CV
DD
0 -100 Ω
PLLV
DD
0.1 µF
PLLV
SS
Figure 6. PLL Isolation Circuit Diagram
V
SS
0.01 µF
0 -100 Ω
SS
clock and PLL considerations on initialization
On power up, the CPU clock divide mode can be in MAXSPEED, LOPOWER or IDLE2, or the PLL could be
in an undefined mode. RESET falling in the presence of a valid CPU clock is used to clear this state, after which
the device will synchronously terminate any external activity.
The 5x Fclkin PLL of the 320VC33 contains an 8-bit PLL-LOCK counter that will cause the PLL to output a
frequency of Fclkin/2 during the initial ramp. This counter, however, does not increment while RESET is low or
in the absence of an input clock. A minimum of 256 input clocks are required before the first falling edge of reset
for the PLL to output to clear this counter. The setup and behavior that is seen is as follows.
Power is applied to the DSP with RESET low and the input clock high or low. A clock is applied (RESET is still
low) and the PLL appears to lock on to the input clock, producing the expected x5 output frequency. RESET
is driven high and the PLL output immediately drops to Fclkin/2 for up to 256 input cycles or 128 of the Fclkin/2
output cycles. The PLL/CPU clock then switches to x5 mode.
The switch over is synchronous and does not create a clock glitch, so the only effect is that the CPU will run
slow for up to the first 128 cycles after reset goes high. Once the PLL has stabilized, the counter will remain
cleared and subsequent resets will not exhibit this condition.
power sequencing considerations
Though an internal ESD and CMOS latchup protection diode exists between CVDD and DVDD, it should not be
considered a current-carrying device on power up. An external Schottky diode should be used to prevent CV
from exceeding DVDD by more than 0.7 V. The effect of this diode during power up is that if CVDD is powered
up first, DVDD will follow by one diode drop even when the DVDD supply is not active.
DD
Typical s y s tems using LDOs of the same family type for both DVDD and CVDD will track each other during power
up. In most cases, this is acceptable; but if a high-impedance pin state is required on power up, the SHZ pin
can be used to asynchronously disable all outputs. RESET should not be used in this case since some signals
require an active clock for RESET to have an effect and the clock may not yet be active. The internal core logic
becomes functional at approximately 0.8 V while the external pin IO becomes active at about 1.5 V.
14
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251-1443
SM320VC33, SMJ320VC33
DIGITAL SIGNAL PROCESSOR
SGUS034E - FEBRUARY 2001 - REVISED OCTOBER 2002
EDGEMODE
When EDGEMODE = 1, a sampled digital delay line is decoded to generate a pulse on the falling edge of the
interrupt pin. To ensure interrupt recognition, input signal logic-high and logic-low states must be held longer
than the synchronizer delay of one CPU clock cycle. Holding these inputs to no less than two cycles in both the
logic-low and logic-high states is sufficient.
When EDGEMODE = 0, a logic-low interrupt pin will continually set the corresponding interrupt flag. The CPU
or DMA can clear this flag within two cycles of it being set. This is the maximum interrupt width that can be applied
if only one interrupt is to be recognized. The CPU can manually clear IF bits within an interrupt service routine
(ISR), effectively lengthening the maximum ISR width.
After reset, EDGEMODE is temporarily disabled, allowing logic-low INT pins to be detected for bootload
operation.
Delay
DQDQ
H3
DQ
S
Q
R
EDGEMODE
INTn
RESET
DDQQ
H1
Figure 7. EDGEMODE and Interrupt Flag CIrcuit
reset operation
When RESET is applied, the CPU attempts to safely exit any pending read or write operations that may be in
progress. This can take as much as 10 CPU cycles, after which, the address, data, and control pins will be in
an inactive or high-impedance state.
When both RESET and SHZ are applied, the device will immediately enter the reset state with the pins held in
high-impedance mode. SHZ should then be disabled at least 10 CPU cycles before RESET is set high. SHZ
can be used during power-up sequencing to prevent undefined address, data, and control pins, avoiding system
conflicts.
IF Bit
CPU Reset
CPU Set
PAGE0 - PAGE3 select lines
To facilitate simpler and higher speed connection to external devices, the SM/SMJ320VC33 includes four
predecoded select pins that have the same timings as STRB. These pins are decoded from A22, A23, and STRB
and are active only during external accesses over the ranges shown in Table 4. All external bus accesses are
controlled by a single bus control register.
The key to designing external wait-state logic is the internal bus control register and associated internal logic
that logically combines the external READY pin with the much faster on-chip bus control logic. This essentially
allows slow external logic to interact with the bus while easily meeting the READY input timings. It is also relevant
to mention that the combined ready signals are sampled on the rising edge of the internal H1 clock. Please refer
to Figure 8 for the following examples.
example 1
A simple 0 or WTCNT wait-state decoder can be created by simply tying an address line back to the READY
pin and selecting the AND option. When the tied back address is low, the bus will run with 0 wait states. When
the tied back address is high, the bus will be controlled by the internal wait-state counter .
By enabling the bank compare logic, proper operation is further ensured by inserting a null cycle before a read
on the next bank is performed (writes are not pre-extended). This extra time can also be used by external logic
to affect the feedback path.
example 2
An N-WTCNT minimum wait-state decoder can also be created by tying back an address line to READY and
logically ORing it with the internal bank compare and wait count signals. When the address pin is low, bus timing
is determined by the internal WTCNT and BNKCMP settings. When the address line is high, the bus can run
no faster than the WTCNT counter and will be extended as long as READY is held high.
Table 5. MUX Select (Bus Control Register Bits 4 and 3)
BIT 4BIT 3RESULTS
00Ignore internal wait counter and use only external READY
01Use only internal wait counter and ignore ready pin
10Logically AND internal wait counter with ready pin
11Logically OR internal wait counter with ready pin (reset default)
posted writes
External writes are effectively “posted” to the bus, which then acts like an output latch until the write completes.
Therefore, if the application code is executing internally, it can perform a very slow external write with no penalty
since the bus acts like it has a one-level-deep write FIFO.
data bus I/O buffer
The circuit shown in Figure 9 is incorporated into each data pin to lightly “hold” the last driven value on the data
bus pins when the DSP or an external device is not actively driving the bus. Each bus keeper is built from a
three-state driver with nominal 15 kΩ output resistance which is fed back to the input in a positive feedback
configuration. The resistance isolated driver then pulls the output in one direction or the other keeping the last
driven value. This circuit is enabled in all functional modes and is only disabled when SHZ is pulled low.
R/W
Internal
Data Bus
30 Ω
15 kΩ
SHZ
Bus keeper
External Data
Bus Pin
Figure 9. Bus Keeper Circuit
For an external device to change the state of these pins, it must be able to drive a small dc current until the driver
threshold is crossed. At the crossover point, the driver changes state, agreeing with the external driver and
assisting the change. The voltage threshold of the bus keeper is approximately at 50% of the DVDD supply
voltage. The typical output impedance of 30 Ω for all SM/SMJ320VC33 I/O pins is easily capable of meeting
this requirement.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251-1443
17
Loading...
+ 37 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.