DSM2180F3
without clocking or latching. The DSP may read DSP. A blank DSM device soldered to a circuit
the IMCs at any time.
board can be completely programmed in 10 to 20
Runtime Control Registers
seconds. The basic JTAG signals; TMS, TCK,
A block of 256 bytes is decoded inside the DSM
device as DSM control and status registers. 27
registers are used in the block of 256 locations to
control the output state of I/O pins, to read I/O
pins, to control power management, to read/write
macrocells, and other functions at runtime. See
Table 4 for description. The base address of these
256 locations is referred to in this data sheet as
TDI, and TDO form the IEEE-1149.1 interface.
The DSM device does not implement the IEEE-
1149.1 Boundary Scan functions. The DSM uses
the JTAG interface for ISP only. However, the
DSM device can reside in a standard JTAG chain
with other JTAG devices and it will remain in BY-
PASS mode while other devices perform Bound-
ary Scan.
csiop (Chip Select I/O Port). Individual registers ISP programming time can be reduced as much as
within this block are accessed with an offset from 30% by using two more signals on Port C, TSTAT
the base address. The DSP accesses csiop regis-
ters using I/O memory with the IOMS strobe. csiop
and TERR in addition to TMS, TCK, TDI and TDO.
The FlashLINKTM JTAG programming cable is
registers are accessed as bytes, so only the lower available from STMicroelectronics for $59USD
half of a DSP I/O word is used during access.
and PSDsoft Express software is available at no
Memory Page Register
This 8-bit register can be loaded and read by the
) DSP at runtime as one of the csiop registers. Its
t(s outputs feed directly into the PLDs. The page reg-
ister is a powerful feature that allows the DSP to
c access all 128K Bytes of DSM Flash memory in
u 16K byte pages. This size matches the 16K loca-
d tion data overlay window the ADSP-218X family.
ro Page register outputs may also be used as CPLD
P inputs for general use.
te I/O Ports
le The DSM has 19 individually configurable I/O pins
distributed over the three ports (Ports B, C, and D).
o Each I/O pin can be individually configured for dif-
bs ferent functions such as standard MCU I/O ports
or PLD I/O on a pin by pin basis. (MCU I/O means
O that for each pin, its output state can be controlled
- or its input value can be read by the DSP at run-
) time using the csiop registers like an MCU would
t(s do.)
c Port C hosts the JTAG ISP signals. Since JTAG-
u ISP does not occur frequently during the life of a
d product, those Port C pins are under-utilized. In
ro applications that need every I/O pin, JTAG signals
P can be multiplexed with general I/O signals to use
them for I/O when not performing ISP. See section
te titled “Programming In-Circuit using JTAG ISP” on
le page 41 for muxing JTAG pins on Port C, and Ap-
o plication Note AN1153.
s The static configuration of all Port pins is defined
bwith the PSDsoft ExpressTM software develop-
Oment tool. The dynamic action of the Ports pins is
charge from www.psdst.com. That is all that is
needed to program a DSM device using the paral-
lel port on any PC or note-book. See section titled
“Programming In-Circuit using JTAG ISP” on page
41.
Power Management
The DSM has bits in csiop control registers that
are configured at run-time by the DSP to reduce
power consumption of the CPLD. The Turbo bit in
the PMMR0 register can be set to logic 1 and the
CPLD will go to Non-Turbo mode, meaning it will
latch its outputs and go to sleep until the next tran-
sition on its inputs. There is a slight penalty in PLD
performance (longer propagation delay), but sig-
nificant power savings are realized.
Additionally, bits in two csiop registers can be set
by the DSP to selectively block signals from enter-
ing the CPLD which reduces power consumption.
See section titled “Power Management” on page
39.
Security and NVM Sector Protection
A programmable security bit in the DSM protects
its contents from unauthorized viewing and copy-
ing. When set, the security bit will block access of
programming devices (JTAG or others) to the
DSM Flash memory and PLD configuration. The
only way to defeat the security bit is to erase the
entire DSM device, after which the device is blank
and may be used again.
Additionally, the contents of each individual Flash
memory sector can be write protected (sector pro-
tection) by configuration with PSDsoft ExpressTM.
controlled by DSP runtime software.
This is typically used to protect DSP boot code
JTAG ISP Port
from being corrupted by inadvertent writes to
Flash memory from the DSP.
In-System Programming (ISP) can be performed
through the JTAG signals on Port C. This serial in-
Pin Assignments
terface allows programming of the entire DSM Pin assignment are shown for the 52-pin PLCC
device or subsections (that is, only Flash memory package in Figure 2, and the 52-pin PQFP pack-
but not the PLDs) without the participation of the age in Figure 3.
9/63