TMS320F240
DSP CONTROLLER
SPRS042E – OCTOBER 1996 – REVISED NOVEMBER 2002
Table of Contents
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
PQ Package (Top View) . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Terminal Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . 11
Architectural Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 12
System-Level Functions . . . . . . . . . . . . . . . . . . . . . . . . . 12
Device Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Peripheral Memory Map . . . . . . . . . . . . . . . . . . . . . . . . 14
Digital I/O and Shared Pin Functions . . . . . . . . . . . . . 15
Digital I/O Control Registers . . . . . . . . . . . . . . . . . . . . 17
Device Reset and Interrupts . . . . . . . . . . . . . . . . . . . . 17
Clock Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Functional Block Diagram of the
TMS320F240 DSP CPU . . . . . . . . . . . . . . . . . . . . . 29
F240 DSP Core CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Internal Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
External Memory Interface . . . . . . . . . . . . . . . . . . . . . 38
Event-Manager (EV) Module . . . . . . . . . . . . . . . . . . . . 39
Analog-to-Digital Converter (ADC) Module . . . . . . . . 42
Serial Peripheral Interface (SPI) Module . . . . . . . . . . 44
Serial Communications Interface (SCI) Module . . . . 46
Watchdog (WD) and Real-Time
Interrupt (RTI) Module . . . . . . . . . . . . . . . . . . . . . 48
Scan-Based Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . 50
TMS320F240 Instruction Set . . . . . . . . . . . . . . . . . . . . . 50
Development Support . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Device and Development-Support Tool Nomenclature 58
Documentation Support . . . . . . . . . . . . . . . . . . . . . . . . . 59
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . 60
Recommended Operating Conditions . . . . . . . . . . . . . 60
Electrical Characteristics Over Recommended
Operating Free-Air Temperature Range . . . . . . . . 61
Register File Compilation . . . . . . . . . . . . . . . . . . . . . . . . 96
Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
2
POST OFFICE BOX 1443
•
HOUSTON, TEXAS 77251–1443