ChipFind - документация

Электронный компонент: LC2401A

Скачать:  PDF   ZIP

Document Outline

TMS320LF2401A, TMS320LC2401A
DSP CONTROLLERS
SPRS161H - MARCH 2001 - REVISED MARCH 2004
1
POST OFFICE BOX 1443
HOUSTON, TEXAS 77251-1443
D
High-Performance Static CMOS Technology
- 25-ns Instruction Cycle Time (40 MHz)
- 40-MIPS Performance
- Low-Power 3.3-V Design
D
Based on TMS320C2xx DSP CPU Core
- Code-Compatible With 240x and
F243/F241/C242
- Instruction Set Compatible With
F240/C240
D
On-Chip Memory
- Up to 8K Words x 16 Bits of Flash
EEPROM (2 Sectors) (LF2401A)
- 8K Words x 16 Bits of ROM (LC2401A)
- Programmable "Code-Security" Feature
for the On-Chip Flash/ROM
- Up to 1K Words x 16 Bits of
Data/Program RAM
- 544 Words of Dual-Access RAM
- Up to 512 Words of Single-Access
RAM
D
Boot ROM
- SCI Bootloader
D
Event-Manager (EV) Module (EVA), Which
Includes:
- Two 16-Bit General-Purpose Timers
- Seven 16-Bit Pulse-Width Modulation
(PWM) Channels Which Enable:
- Three-Phase Inverter Control
- Center- or Edge-Alignment of PWM
Channels
- Emergency PWM Channel Shutdown
With External PDPINTA Pin
- Programmable Deadband (Deadtime)
Prevents Shoot-Through Faults
- One Capture Unit for Time-Stamping of
External Events
- Input Qualifier for Select Pins
- Synchronized A-to-D Conversion
- Designed for AC Induction, BLDC,
Switched Reluctance, and Stepper Motor
Control
D
Small Foot-Print (7 mm
7 mm) Ideally
Suited for Space-Constrained Applications
D
Watchdog (WD) Timer Module
D
10-Bit Analog-to-Digital Converter (ADC)
- 5 Multiplexed Input Channels
- 500 ns Minimum Conversion Time
- Selectable Twin 8-State Sequencers
Triggered by Event Manager
D
Serial Communications Interface (SCI)
D
Phase-Locked-Loop (PLL)-Based Clock
Generation
D
Up to 13 Individually Programmable,
Multiplexed General-Purpose Input / Output
(GPIO) Pins
D
User-Selectable Dual External Interrupts
(XINT1 and XINT2)
D
Power Management:
- Three Power-Down Modes
- Ability to Power Down Each Peripheral
Independently
D
Real-Time JTAG-Compliant Scan-Based
Emulation, IEEE Standard 1149.1
(JTAG)
D
Development Tools Include:
- Texas Instruments (TI) ANSI C Compiler,
Assembler/ Linker, and Code Composer
Studio
Debugger
- Evaluation Modules
- Scan-Based Self-Emulation (XDS510
)
- Broad Third-Party Digital Motor Control
Support
D
32-Pin VF Low-Profile Quad Flatpack
(LQFP)
D
Temperature Range: - 40
C to 85
C
Copyright
2004, Texas Instruments Incorporated
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.
Code Composer Studio and XDS510 are trademarks of Texas Instruments.
All trademarks are the property of their respective owners.
IEEE Standard 1149.1-1990, IEEE Standard Test-Access Port; however, boundary scan is not supported in this device family.
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.
TMS320LF2401A, TMS320LC2401A
DSP CONTROLLERS
SPRS161H - MARCH 2001 - REVISED MARCH 2004
2
POST OFFICE BOX 1443
HOUSTON, TEXAS 77251-1443
description
3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TMS320x240xA device summary
4
. . . . . . . . . . . . . . . .
functional block diagram of the LF2401A DSP
controller
5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
functional block diagram of the LC2401A DSP
controller
6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
terminal functions
8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
constraints while emulating with JTAG port pins and
GPIO functions
16
. . . . . . . . . . . . . . . . . . . . . . . . . . .
in-circuit emulation options
17
. . . . . . . . . . . . . . . . . . . . .
memory map
18
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
peripheral memory map
20
. . . . . . . . . . . . . . . . . . . . . . . .
device reset and interrupts
21
. . . . . . . . . . . . . . . . . . . . . .
DSP CPU core
24
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TMS320Lx2401A instruction set
24
. . . . . . . . . . . . . . . . .
scan-based emulation
25
. . . . . . . . . . . . . . . . . . . . . . . . . .
functional block diagram of the 2401A DSP CPU
26
. .
2401A legend for the internal hardware
27
. . . . . . . . . .
status and control registers
28
. . . . . . . . . . . . . . . . . . . . .
central processing unit
29
. . . . . . . . . . . . . . . . . . . . . . . . .
internal memory
33
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
dual-access RAM (DARAM)
33
. . . . . . . . . . . . . . . . . . . .
single-access RAM (SARAM)
33
. . . . . . . . . . . . . . . . . . .
ROM (LC2401A)
33
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Flash EEPROM (LF2401A)
33
. . . . . . . . . . . . . . . . . . . . .
boot ROM
34
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Flash/ROM security
35
. . . . . . . . . . . . . . . . . . . . . . . . . . .
peripherals
36
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
event manager module (EVA)
36
. . . . . . . . . . . . . . . . . . .
enhanced analog-to-digital converter (ADC) module 40
serial communications interface (SCI) module
42
. . . . .
PLL-based clock module
44
. . . . . . . . . . . . . . . . . . . . . . .
low-power modes
45
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
clock domains
45
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
watchdog (WD) timer module
48
. . . . . . . . . . . . . . . . . . .
development support
51
. . . . . . . . . . . . . . . . . . . . . . . . . . .
device and development support tool nomenclature 52
documentation support
54
. . . . . . . . . . . . . . . . . . . . . . . . .
LF2401A AND LC2401A electrical
specifications data
56
. . . . . . . . . . . . . . . . . . . . . . . . .
absolute maximum ratings over operating
case temperature range
56
. . . . . . . . . . . . . . . . . . .
recommended operating conditions
56
. . . . . . . . . . . . . .
electrical characteristics over recommended
operating case temperature range
57
. . . . . . . . . .
current consumption graphs
59
. . . . . . . . . . . . . . . . . . . .
reducing current consumption
59
. . . . . . . . . . . . . . . . . . .
PARAMETER MEASUREMENT INFORMATION
60
. .
external reference crystal/clock with PLL circuit
enabled
62
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
timing with the PLL circuit enabled
62
. . . . . . . . . . . . . . .
switching characteristics over recommended
operating conditions [H = 0.5 tc(CO)]
62
. . . . . . . . .
timing requirements
62
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
RS timing
63
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
low-power mode timing
66
. . . . . . . . . . . . . . . . . . . . . . . . .
LPM2 wake-up timing
68
. . . . . . . . . . . . . . . . . . . . . . . . . .
PWM timing
69
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
capture timing
71
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
interrupt timing
71
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
general-purpose input/output timing
72
. . . . . . . . . . . . . .
10-bit analog-to-digital converter (ADC)
73
. . . . . . . . . . .
migrating from other 240xA devices to Lx2401A
75
. . .
peripheral register description
77
. . . . . . . . . . . . . . . . . . .
mechanical data
85
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
revision history
86
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents
TMS320LF2401A, TMS320LC2401A
DSP CONTROLLERS
SPRS161H - MARCH 2001 - REVISED MARCH 2004
3
POST OFFICE BOX 1443
HOUSTON, TEXAS 77251-1443
description
The TMS320Lx2401A
device, a new member of the TMS320C24x
generation of digital signal processor
(DSP) controllers, is part of the TMS320C2000
platform of fixed-point DSPs. The Lx2401A device offers the
enhanced TMS320
DSP architectural design of the C2xx core CPU for low-cost, low-power, and
high-performance processing capabilities. Several advanced peripherals, optimized for digital motor and
motion control applications, have been integrated to provide a true single-chip DSP controller. While
code-compatible with the existing 240x and C24x
DSP controller devices, the Lx2401A offers increased
processing performance (40 MIPS) and a higher level of peripheral integration. See the TMS320x240xA Device
Summary
section for device-specific features.
The Lx2401A device offers a peripheral suite tailored to meet the specific price/performance points required
by various applications. The Lx2401A also offers a cost-effective reprogrammable solution for volume
production. A password-based "code security" feature on the device is useful in preventing unauthorized
duplication of proprietary code stored in on-chip Flash/ROM. Note that the LF2401A contains a 256-word boot
ROM to facilitate in-circuit programming. The boot ROM on LC2401A is used for test purposes.
The Lx2401A offers an event manager module which has been optimized for digital motor control and power
conversion applications. Capabilities of this module include center- and/or edge-aligned PWM generation,
programmable deadband to prevent shoot-through faults, and synchronized analog-to-digital conversion.
Select EV pins have been provided with an "input-qualifier" circuitry, which minimizes inadvertent pin-triggering
by glitches.
The high-performance, 10-bit analog-to-digital converter (ADC) has a minimum conversion time of 500 ns and
offers up to 5 channels of analog input. The autosequencing capability of the ADC allows a maximum of
16 conversions to take place in a single conversion session without any CPU overhead.
A serial communications interface (SCI) is integrated on all devices to provide asynchronous communication
to other devices in the system. To maximize device flexibility, functional pins are also configurable as
general-purpose inputs/outputs (GPIOs).
To streamline development time, JTAG-compliant scan-based emulation has been integrated into all devices.
This provides non-intrusive real-time capabilities required to debug digital control systems. A complete suite
of code-generation tools from C compilers to the industry-standard Code Composer Studio
debugger
supports this family. Numerous third-party developers not only offer device-level development tools, but also
system-level design and development support.
NOTE: The Lx2401A device has reduced peripheral functionality compared to other 24x/240x devices. While
peripherals such as SPI and CAN are absent on the Lx2401A, peripherals such as EV and ADC have reduced
functionality. For example, in the case of EV, there is no QEP unit and the Capture unit has only one capture
pin (as opposed to three or six pins in other devices). The ADC has only five input channels (as opposed to eight
or sixteen channels in other devices). For these reasons, some bits that are valid in other 24x/240x devices are
not applicable in the Lx2401A. The registers and their valid bits are described in Table 16, Lx2401A DSP
Peripheral Register Description. For a description of those registers and bits that are valid, refer to the
TMS320LF/LC240xA DSP Controllers Reference Guide: System and Peripherals (literature number
SPRU357). Any exceptions to SPRU357 has been described in the respective peripheral sections in this data
sheet.
TMS320C24x, TMS320C2000, TMS320, and C24x are trademarks of Texas Instruments.
Throughout this document, TMS320Lx2401A is used as a generic name for the TMS320LF2401A and TMS320LC2401A devices. An
abbreviated name, Lx2401A, denotes both devices as well.
TMS320LF2401A, TMS320LC2401A
DSP CONTROLLERS
SPRS161H - MARCH 2001 - REVISED MARCH 2004
4
POST OFFICE BOX 1443
HOUSTON, TEXAS 77251-1443
TMS320x240xA device summary
Table 1. Device Feature Comparison Between Lx2401A and Lx2402A
FEATURE
LF2401A
LC2401A
LF2402A
LC2402A
C2xx DSP Core
Yes
Yes
Yes
Yes
Instruction Cycle
25 ns
25 ns
25 ns
25 ns
MIPS (40 MHz)
40 MIPS
40 MIPS
40 MIPS
40 MIPS
RAM (16-bit word)
Dual-Access
RAM (DARAM)
544
544
544
544
RAM (16-bit word)
Single-Access
RAM (SARAM)
512
512
512
--
3.3-V Flash (Program Space, 16-bit word)
8K
--
8K
--
Flash Sectors
4K/4K
--
4K/4K
--
On-chip ROM (Program Space, 16-bit word)
--
8K
--
6K
Code Security for On-Chip Flash/ROM
Yes
Yes
Yes
Yes
Boot ROM
Yes
Yes
Yes
--
External Memory Interface
--
--
--
--
Event Manager A (EVA)
EVA
EVA
EVA
EVA
S
General-Purpose (GP) Timers
2
2
2
2
S
Compare (CMP)/PWM
7
7
8
8
S
Capture (CAP)/QEP
1
1
3/2
3/2
S
Input qualifier circuitry on
PDPINTx, CAPn, XINT1/2, and
ADCSOC pins
Yes
Yes
Yes
Yes
Watchdog Timer
Yes
Yes
Yes
Yes
10-Bit ADC
Yes
Yes
Yes
Yes
S
Channels
5
5
8
8
S
Conversion Time (minimum)
500 ns
500 ns
375 ns
425 ns
SPI
--
--
--
--
SCI
Yes
Yes
Yes
Yes
CAN
--
--
--
--
Digital I/O Pins (Shared)
13
13
21
21
External Interrupts
2
2
3
3
Supply Voltage
Core
3.3 V
3.3 V
3.3 V
3.3 V
Supply Voltage
I/O
3.3 V
3.3 V
3.3 V
3.3 V
Packaging
32-pin VF
32-pin VF
64-pin PG
64-pin PG
Product Status :
Product Preview (PP)
Advance Information (AI)
Production Data (PD)
PD
PD
PD
PD
Some pins may not be applicable to Lx2401A.
PRODUCT PREVIEW information concerns products in the formative or design phase of development. Characteristic data and other
specifications are design goals. Texas Instruments reserves the right to change or discontinue these products without notice.
ADVANCE INFORMATION concerns new products in the sampling or preproduction phase of development. Characteristic data and other
specifications are subject to change without notice.
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.
TMS320LF2401A, TMS320LC2401A
DSP CONTROLLERS
SPRS161H - MARCH 2001 - REVISED MARCH 2004
5
POST OFFICE BOX 1443
HOUSTON, TEXAS 77251-1443
functional block diagram of the LF2401A DSP controller
XTAL1/CLKIN
XTAL2
VSSA
VCCA
ADCIN00-ADCIN04
SCIRXD/IOPB4
SCITXD/IOPB3
Port A(0-7) IOPA[0:7]
Port B(0-5) IOPB[0:5]
TDO/IOPB2
TDI/OPB5
TRST
TCK/IOPB1
TMS/XF
DARAM (B0)
256 Words
DARAM (B1)
256 Words
DARAM (B2)
32 Words
C2xx
DSP
Core
PLL Clock
10-Bit ADC
(With Twin
Autosequencer)
RS
VDD (3.3 V)
VSS
VCCP (5V)
SARAM (512 Words)
Flash
(8K Words -
4K/4K Sectors)
Event Manager A
D
1
Capture Input
D
7
Compare/PWM
Output
D
2
GP Timers/PWM
SCI
WD
Digital I/O
(Shared With
Other Pins)
JTAG Port
XF
PWM1/IOPA1
PWM5/IOPA5
PWM6/IOPA6
PWM3/IOPA3
PWM4/IOPA4
PWM2/IOPA2
PDPINTA/IOPA0
XINT1
ADCSOC
XINT2
CLKOUT
CAP1
T2PWM
T2PWM, XINT1, and IOPB0 functionalities are multiplexed into a single pin, T2PWM/XINT1/IOPB0.
XINT2, ADCSOC, CAP1, IOPA7, and CLKOUT functionalities are multiplexed into a single pin, XINT2/ADCSOC/CAP1/IOPA7/CLKOUT.