ADMC328TN AD [Analog Devices], ADMC328TN Datasheet - Page 9

no-image

ADMC328TN

Manufacturer Part Number
ADMC328TN
Description
28-Lead ROM-Based DSP Motor Controller with Current Sense
Manufacturer
AD [Analog Devices]
Datasheet
Serial Port
The ADMC328 incorporates a complete synchronous serial
port (SPORT1) for serial communication and multiprocessor
communication. The following is a brief list of capabilities of the
ADMC328 SPORT1. Refer to the ADSP-2100 Family User’s
Manual, Third Edition, for further details.
• SPORT1 is bidirectional and has a separate, double-buffered
• SPORT1 can use an external serial clock or generate its own
• SPORT1 has independent framing for the receive and trans-
• SPORT1 supports serial data word lengths from 3 bits to 16
• SPORT1 receive and transmit sections can generate unique
• SPORT1 can receive and transmit an entire circular buffer of
• SPORT1 can be configured to have two external interrupts
• SPORT1 has two data receive pins (DR1A and DR1B), which
PIN FUNCTION DESCRIPTION
The ADMC328 is available in a 28-lead SOIC package and a
28-lead PDIP package. Table I describes the pins.
Group
Name
RESET
SPORT1
CLKOUT
CLKIN, XTAL
PIO0–PIO8
AUX0–AUX1
AH–CL
PWMTRIP
V1–V2
VAUX0–VAUX2 3
I
ICONST
V
GND
NOTE
1
REV. B
Multiplexed pins, selectable individually through the PIOSEL ECT and
SENSE
PIODATA1 registers.
DD
transmit and receive section.
serial clock internally.
mit 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.
bits and provides optional A-law and -law companding ac-
cording to ITU (formerly CCITT) recommendation G.711.
interrupts on completing a data word transfer.
data with only one overhead cycle per data word. An interrupt
is generated after a data buffer transfer.
(IRQ0 and IRQ1), and the Flag In and Flag Out signals.
The internally generated serial clock may still be used in this
configuration.
are internally multiplexed onto the one DR1 port of the
SPORT1. The particular data receive pin selected is deter-
mined by a bit in the MODECTRL register.
1
1
1
1
# of Input/
Pins Output Function
1
6
1
2
9
2
6
1
2
1
1
1
1
Table I. Pin List
I
I/O
O
I, O
I/O
O
O
I
I
I
I
O
Processor Reset Input
Serial Port 1 Pins (TFS1,
RFS1, DT1, DR1A, DR1B,
SCLK1)
Processor Clock Output
External Clock or Quartz
Crystal Connection Point
Digital I/O Port Pins
Auxiliary PWM Outputs
PWM Outputs
PWM Trip Signal
Analog Inputs
Auxiliary Analog Input
Current Sense Amplifier Input
ADC Constant Current Source
Power Supply
Ground
–9–
INTERRUPT OVERVIEW
The ADMC328 can respond to 16 different interrupt sources
with minimal overhead, five of which are internal DSP core
interrupts and 11 are from the motor control peripherals. The five
DSP core interrupts are SPORT1 receive (or IRQ0) and trans-
mit (or IRQ1), the internal timer, and two software interrupts.
The motor control peripheral interrupts are the nine program-
mable I/Os and two from the PWM (PWMSYNC pulse and
PWMTRIP). All motor control interrupts are multiplexed into the
DSP core through the peripheral IRQ2 interrupt. The interrupts
are internally prioritized and individually maskable. A detailed
description of the entire interrupt system of the ADMC328 is
presented later, following a more detailed description of each
peripheral block.
Memory Map
The ADMC328 has two distinct memory types: program memory
and data memory. In general, program memory contains user
code and coefficients, while the data memory is used to store
variables and data during program execution. Both program
memory RAM and ROM are provided on the ADMC328. Pro-
gram memory RAM is arranged as one contiguous 512 24-bit
block, starting at address 0x0000. Program memory ROM is a
4K
arranged as a 512 16-bit block starting at address 0x3800. The
motor control peripherals are memory mapped into a region of
the data memory space starting at 0x2000. The complete program
and data memory maps are given in Tables II and III, respectively.
Address Range
0x0000–0x002F
0x0030–0x01FF
0x0200–0x07FF
0x0800–0x17FF
0x1800–0x3FFF
Address Range
0x0000–0x1FFF
0x2000–0x20FF
0x2100–0x37FF
0x3800–0x39FF
0x3A00–0x3BFF
0x3C00–0x3FFF
24-bit block located at address 0x0800. Data memory is
Table II. Program Memory Map
Table III. Data Memory Map
Memory
Type
RAM
RAM
ROM
Memory
Type
RAM
RAM
Interrupt Vector Table
User Program Memory
User Program Memory
Function
Reserved
Reserved
Function
Reserved
Memory Mapped Registers
Reserved
User Data Memory
Reserved
Memory Mapped Registers
ADMC328

Related parts for ADMC328TN