Professional Documents
Culture Documents
13 ON-CHIP MEMORY
perform-
considerable amount of on-chip memory to aid in system
The C5X architecture contains a
(The 'C5X has a total address range of 224Kwords x 16 bits. The memory space is divided into ou
individually selectable 1memory segments: 64K-word program nory space, 64K-word local data
memory space, 64K-word i/O ports and 32K-word global data memory space.
3.13.1 Program ROM
All CSX DSPs carry a 16-bit on-chip maskable programmable ROM (sece Fig. 3.1 forsizes). Some of
the 'C5X DSPs have boot loader code resident in the on-chip ROM, and the other 'C5X DSPs ofter tne
boot loader code as an option. This memory is used for booting program code from slower extermal
ROM or EPROM to fast on-chip or external RAM. Once the custom program has been booted into
RAM, the boot ROM space can be removed from program memory space by setting the MP/MC bitin
the processor mode status register (PMST). The on-chip ROM is selected at reset by driving theMP
MC pin low. If the on-chip ROM is not selected, the 'C5X devices start execution from ofl-chip
memory.
RAM
3.13.3 Data/Program Single-Access 1-
of sizes varying from
Almost all 'CSX DSPs carry a
16-bit on-chip single-access RAM (SARAM)
executed at full speed once it is
Code be booted from an off-chip ROM and then
9Kx 16 words. can
software as data memory, as
SARAM. The SARAM can be configured by
loaded into the on-chip memory. The
SARAM is divided
or combination of both data memory and program
program memory 'CSX CPUs support parallel
blocks contiguous in address memory space. All
into 1K-and/or 2K-word can be accessed only
once per ma-
blocks. However, one SARAM block
accesses to these SARAM while accessing
write to one SARAM block
In other words, the CPU can read from or
chine cycle.
another SARAM block.
Protection
3.13.4 On-Chip Memory memories. When the
maskable option that protects
the contents of on-chip
The 'C5X DSPs have a spaces.
instruction can access the on-chip memory
related bit is set, no externally originating
64 Deita/ Sgma Pxesson
Wait-State Generators
3.14.3 Software-Programmable
Software-programmable wait-state logic is incorporated in 'C5X DSPs allowing wait-state generation
hardware for
without any external with slower off-chip memory and IO devices. This
interfacing
feature consists of mutiple wait-state generating circuits. Each circuit is user-programmable to oper.
ate in different wait states for off-chip memory accesses.
Three diterent kinds of serial ports are available: a general-purpose serial port, a time-division
multiplexed (TDM) serial port and a buffered serial port (BSP). Each C5X contains at least one
general-purpose, high-speed synchronous, full-duplexed serial port interface that provides direct com-
nunication with serial devices such as codecs, serial analog-to-digital (A/D) converters and other
mu
serial systems. The serial port is capable of operating at up to one-fourth the machine cycle rate
(CLKOUT). The serial port transmitter and receiver are double-buffered and individually controlled
by maskable external interupt signals. Data is framed either as bytes or as words.
Five 16-bit registers (SPC, DRR, DXR, XSR, RSR) control and operate the serial port interface.
The serial port control (SPC) register contains the mode control and status bits of the serial port. The
data receive register (DRR) holds the incoming serial data, and the data transmit register (DXR) holds
the outgoing serial data. The data transmit shift register (XSR) controls the shifting of the data from
the DXR to the output pin. The data receive shift register (RSR) controls the storing of the data from
the input pin to the DRR.
The BSP is available on the'C56 and 'C57 devices. It is a full-duplexed, double-buffered serial port and
an autobuffering unit (ABU). The BSP provides flexibility on the data stream length. The ABU supports
data transfer and reduces interrupt latencies. The BSP has a 2K-word buffer, which
re-
high-speed
sides in the C5X internal memory. Five BSP registers control and operate the BSP.