ADMCF340BST Analog Devices Inc, ADMCF340BST Datasheet - Page 9

no-image

ADMCF340BST

Manufacturer Part Number
ADMCF340BST
Description
Manufacturer
Analog Devices Inc
Datasheet

Specifications of ADMCF340BST

Device Core Size
16b
Format
Fixed Point
Clock Freq (max)
20MHz
Mips
20
Device Input Clock Speed
20MHz
Ram Size
1KB
Program Memory Size
12KB
Operating Supply Voltage (typ)
2.5V
Operating Supply Voltage (min)
2.44V
Operating Supply Voltage (max)
2.55V
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
64
Package Type
LQFP
Lead Free Status / Rohs Status
Not Compliant
DSP CORE ARCHITECTURE OVERVIEW
Figure 3 is an overall block diagram of the DSP core of the
ADMC(F)340. The flexible architecture and comprehensive
instruction set allow the processor to perform multiple operations
in parallel. In one processor cycle (50 ns with a 10 MHz CLKIN),
the DSP core can:
The processor contains three independent computational units:
the arithmetic and logic unit (ALU), the multiplier/accumulator
(MAC), and the shifter. The computational units process 16-bit
data directly and have provisions to support multiprecision com-
putations. The ALU performs a standard set of arithmetic and
logic operations as well as provides support for division primitives.
The MAC performs single-cycle multiply, multiply/add, and
multiply/subtract operations with 40 bits of accumulation. The
shifter performs logical and arithmetic shifts, normalization,
denormalization, and derive-exponent operations. The shifter
can be used to efficiently implement numeric format control,
including floating-point representations. The internal result (R)
bus directly connects the computational units so that the output
of any unit may be the input of any unit on the next cycle.
A powerful program sequencer and two dedicated data address
generators ensure efficient delivery of operands to these compu-
tational units. The sequencer supports conditional jumps and
subroutine calls and returns in a single cycle. With internal loop
counters and loop stacks, the ADMC(F)340 executes looped code
with zero overhead; no explicit jump instructions are required to
maintain the loop.
Two data address generators (DAGs) provide addresses for
simultaneous dual operand fetches from data memory and pro-
gram memory. Each DAG maintains and updates four address
pointers (I registers). Whenever the pointer is used to access
data (indirect addressing), it is post-modified by the value in
one of four modify (M) registers. A length value may be associated
with each pointer (L registers) to implement automatic modulo
addressing for circular buffers. The circular buffering feature is also
used by the serial ports for automatic data transfers to and from
on-chip memory. DAG1 generates only data memory addresses and
provides an optional bit-reversal capability. DAG2 may generate
either program or data memory addresses but has no bit-reversal
capability. Efficient data transfer is achieved with the use of five
internal buses:
REV. A
This all takes place while the processor continues to:
• Generate the next program address
• Fetch the next instruction
• Perform one or two data moves
• Update one or two data address pointers
• Perform a computational operation
• Receive and transmit through the serial ports
• Decrement the interval timer
• Generate three-phase PWM waveforms for a power inverter
• Generate two signals using the 16-bit auxiliary PWM timers
• Acquire four analog signals
• Decrement the watchdog timer
• Program memory address (PMA) bus
• Program memory data (PMD) bus
• Data memory address (DMA) bus
• Data memory data (DMD) bus
• Result (R) bus
–9–
Program memory can store both instructions and data, permitting
the ADMC(F)340 to fetch two operands in a single cycle—one from
program memory and one from data memory. The ADMC(F)340
can fetch both an operand from on-chip program memory and the
next instruction in the same cycle. The ADMC(F)340 writes
data from its 16-bit registers to the 24-bit program memory by
using the PX Register to provide the lower eight bits. When it reads
data (not instructions) from 24-bit program memory to a 16-bit
data register, the lower eight bits are placed into the PX Register.
The ADMC(F)340 can respond to a number of distinct DSP core
and peripheral interrupts. The DSP interrupts comprise a serial port
receive interrupt, a serial port transmit interrupt, a timer inter-
rupt, and two software interrupts. Additionally, the motor control
peripherals include two PWM interrupts and a PIO interrupt.
The serial port (SPORT0) provides a complete synchronous
serial interface with optional companding in hardware and a wide
variety of framed and unframed data transmit and receive modes of
operation. SPORT0 and SPORT1 can generate an internal
programmable serial clock or accept an external serial clock.
A programmable interval counter is also included in the DSP core
and can be used to generate periodic interrupts. A 16-bit count
register (TCOUNT) is decremented every n processor cycle,
where n – 1 is a scaling value stored in the 8-bit TSCALE Register.
When the value of the counter reaches zero, an interrupt is
generated and the count register is reloaded from a 16-bit period
register (TPERIOD).
The ADMC(F)340 instruction set provides flexible data moves
and multifunction (one or two data moves with a computation)
instructions. Each instruction is executed in a single 50 ns
processor cycle (for a 10 MHz CLKIN). The ADMC(F)340
assembly language uses an algebraic syntax for ease of coding
and readability. A comprehensive set of development tools
supports program development. For further information on the
DSP core, refer to the ADSP-2100 Family User’s Manual, Third
Edition, with particular reference to the ADSP-2171.
SERIAL PORTS
The ADMC(F)340 incorporates two synchronous serial ports
(SPORT1 and SPORT0) for serial communication and multi-
processor communication. SPORT1 is primarily intended for
the interfacing of the debugging tools and/or code booting from
an external serial memory.
The following is a brief list of capabilities of the ADMC(F)340
SPORTs:
• SPORTs are bidirectional and have a separate, double-
• SPORTs can use an external serial clock or generate their
• SPORTs have independent framing for the receive and
• SPORTs support serial data-word lengths from three bits to
• SPORTs’ receive and transmit sections can generate unique
• SPORTs can receive and transmit an entire circular buffer
buffered transmit and receive section.
own serial clock internally.
transmit sections. Sections run in a frameless mode or with
frame synchronization signals internally or externally
generated. Frame synchronization signals are active high or
inverted, with either of two pulsewidths and timings.
16 bits and provide optional A-law and µ-law companding
according to ITU (formerly CCITT) recommendation G.711.
interrupts on completing a data-word transfer.
of data with only one overhead cycle per data-word. An
interrupt is generated after a data buffer transfer.
ADMC(F)340

Related parts for ADMCF340BST