TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
Data Manual
Literature Number: SPRS230J
October 2003 – Revised September 2007
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Contents
Revision History ........................................................................................................................... 9
1 F280x, F2801x, C280x DSPs ................................................................................................. 11
1.1 Features ..................................................................................................................... 11
1.2 Getting Started .............................................................................................................. 12
2 Introduction ....................................................................................................................... 13
2.1 Pin Assignments ............................................................................................................ 15
2.2 Signal Descriptions ......................................................................................................... 21
3 Functional Overview ........................................................................................................... 27
3.1 Memory Maps ............................................................................................................... 28
3.2 Brief Descriptions ........................................................................................................... 36
3.2.1 C28x CPU ....................................................................................................... 36
3.2.2 Memory Bus (Harvard Bus Architecture) .................................................................... 36
3.2.3 Peripheral Bus .................................................................................................. 36
3.2.4 Real-Time JTAG and Analysis ................................................................................ 36
3.2.5 Flash .............................................................................................................. 37
3.2.6 ROM ............................................................................................................... 37
3.2.7 M0, M1 SARAMs ............................................................................................... 37
3.2.8 L0, L1, H0 SARAMs ............................................................................................ 37
3.2.9 Boot ROM ........................................................................................................ 37
3.2.10 Security .......................................................................................................... 39
3.2.11 Peripheral Interrupt Expansion (PIE) Block .................................................................. 40
3.2.12 External Interrupts (XINT1, XINT2, XNMI) ................................................................... 40
3.2.13 Oscillator and PLL .............................................................................................. 40
3.2.14 Watchdog ........................................................................................................ 40
3.2.15 Peripheral Clocking ............................................................................................. 40
3.2.16 Low-Power Modes .............................................................................................. 40
3.2.17 Peripheral Frames 0, 1, 2 (PFn) .............................................................................. 41
3.2.18 General-Purpose Input/Output (GPIO) Multiplexer ......................................................... 41
3.2.19 32-Bit CPU-Timers (0, 1, 2) ................................................................................... 41
3.2.20 Control Peripherals ............................................................................................. 41
3.2.21 Serial Port Peripherals ......................................................................................... 42
3.3 Register Map ................................................................................................................ 42
3.4 Device Emulation Registers ............................................................................................... 44
3.5 Interrupts .................................................................................................................... 44
3.5.1 External Interrupts .............................................................................................. 47
3.6 System Control ............................................................................................................. 48
3.6.1 OSC and PLL Block ............................................................................................ 49
3.6.2 Watchdog Block ................................................................................................. 52
3.7 Low-Power Modes Block .................................................................................................. 53
4 Peripherals ........................................................................................................................ 54
4.1 32-Bit CPU-Timers 0/1/2 .................................................................................................. 54
4.2 Enhanced PWM Modules (ePWM1/2/3/4/5/6) .......................................................................... 56
4.3 Hi-Resolution PWM (HRPWM) ........................................................................................... 58
4.4 Enhanced CAP Modules (eCAP1/2/3/4) ................................................................................ 58
4.5 Enhanced QEP Modules (eQEP1/2) ..................................................................................... 61
4.6 Enhanced Analog-to-Digital Converter (ADC) Module ................................................................ 63
4.6.1 ADC Connections if the ADC Is Not Used ................................................................... 66
4.6.2 ADC Registers ................................................................................................... 67
4.7 Enhanced Controller Area Network (eCAN) Modules (eCAN-A and eCAN-B) ..................................... 68
4.8 Serial Communications Interface (SCI) Modules (SCI-A, SCI-B) .................................................... 73
Contents 2 Submit Documentation Feedback
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
4.9 Serial Peripheral Interface (SPI) Modules (SPI-A, SPI-B, SPI-C, SPI-D) ........................................... 76
4.10 Inter-Integrated Circuit (I2C) .............................................................................................. 80
4.11 GPIO MUX .................................................................................................................. 82
5 Device Support .................................................................................................................. 86
5.1 Device and Development Support Tool Nomenclature ................................................................ 86
5.2 Documentation Support ................................................................................................... 88
6 Electrical Specifications ...................................................................................................... 91
6.1 Absolute Maximum Ratings ............................................................................................... 91
6.2 Recommended Operating Conditions ................................................................................... 92
6.3 Electrical Characteristics ................................................................................................. 92
6.4 Current Consumption ..................................................................................................... 93
6.4.1 Reducing Current Consumption .............................................................................. 97
6.4.2 Current Consumption Graphs .................................................................................. 98
6.5 Emulator Connection Without Signal Buffering for the DSP .......................................................... 99
6.6 Timing Parameter Symbology ........................................................................................... 100
6.6.1 General Notes on Timing Parameters ....................................................................... 100
6.6.2 Test Load Circuit .............................................................................................. 101
6.6.3 Device Clock Table ........................................................................................... 101
6.7 Clock Requirements and Characteristics ............................................................................. 103
6.8 Power Sequencing ........................................................................................................ 104
6.8.1 Power Management and Supervisory Circuit Solutions ................................................... 104
6.9 General-Purpose Input/Output (GPIO) ................................................................................. 107
6.9.1 GPIO - Output Timing ......................................................................................... 107
6.9.2 GPIO - Input Timing ........................................................................................... 108
6.9.3 Sampling Window Width for Input Signals .................................................................. 109
6.9.4 Low-Power Mode Wakeup Timing ........................................................................... 110
6.10 Enhanced Control Peripherals .......................................................................................... 113
6.10.1 Enhanced Pulse Width Modulator (ePWM) Timing ........................................................ 113
6.10.2 Trip-Zone Input Timing ........................................................................................ 113
6.10.3 External Interrupt Timing ...................................................................................... 115
6.10.4 I2C Electrical Specification and Timing ..................................................................... 116
6.10.5 Serial Peripheral Interface (SPI) Master Mode Timing .................................................... 116
6.10.6 SPI Slave Mode Timing ....................................................................................... 120
6.10.7 On-Chip Analog-to-Digital Converter ........................................................................ 123
6.11 Detailed Descriptions .................................................................................................... 128
6.12 Flash Timing ............................................................................................................... 129
6.13 ROM Timing (C280x only) ............................................................................................... 130
7 Migrating From F280x Devices to C280x Devices .................................................................. 131
7.1 Migration Issues ........................................................................................................... 131
8 Mechanical Data ............................................................................................................... 132
Contents 3
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
List of Figures
2-1 TMS320F2809, TMS320F2808 100-Pin PZ LQFP (Top View) ............................................................. 16
2-2 TMS320F2806 100-Pin PZ LQFP (Top View) ................................................................................. 17
2-3 TMS320F2802, TMS320F2801, TMS320C2802, TMS320C2801 100-Pin PZ LQFP
(Top View) ......................................................................................................................... 18
2-4 TMS320F2801x 100-Pin PZ LQFP
(Top View) ......................................................................................................................... 19
2-5 TMS320F2809, TMS320F2808, TMS320F2806,TMS320F2802, TMS320F2801,
TMS320F28016, TMS320F28015, TMS320C2802, TMS320C2801
100-Ball GGM and ZGM MicroStar BGA™ (Bottom View) .................................................................. 20
3-1 Functional Block Diagram ........................................................................................................ 27
3-2 F2809 Memory Map .............................................................................................................. 28
3-3 F2808 Memory Map .............................................................................................................. 29
3-4 F2806 Memory Map .............................................................................................................. 30
3-5 F2802, C2802 Memory Map ..................................................................................................... 31
3-6 F2801, F28015, F28016, C2801 Memory Map ............................................................................... 32
3-7 External and PIE Interrupt Sources ............................................................................................. 45
3-8 Multiplexing of Interrupts Using the PIE Block ................................................................................ 46
3-9 Clock and Reset Domains ....................................................................................................... 48
3-10 OSC and PLL Block Diagram ................................................................................................... 49
3-11 Using a 3.3-V External Oscillator ............................................................................................... 50
3-12 Using a 1.8-V External Oscillator ............................................................................................... 50
3-13 Using the Internal Oscillator ..................................................................................................... 50
3-14 Watchdog Module ................................................................................................................. 52
4-1 CPU-Timers ........................................................................................................................ 54
4-2 CPU-Timer Interrupt Signals and Output Signal .............................................................................. 55
4-3 Multiple PWM Modules in a 280x System ..................................................................................... 56
4-4 ePWM Sub-Modules Showing Critical Internal Signal Interconnections ................................................... 58
4-5 eCAP Functional Block Diagram ................................................................................................ 59
4-6 eQEP Functional Block Diagram ................................................................................................ 61
4-7 Block Diagram of the ADC Module ............................................................................................. 64
4-8 ADC Pin Connections With Internal Reference ............................................................................... 65
4-9 ADC Pin Connections With External Reference .............................................................................. 66
4-10 eCAN Block Diagram and Interface Circuit .................................................................................... 69
4-11 eCAN-A Memory Map ............................................................................................................ 70
4-12 eCAN-B Memory Map ............................................................................................................ 71
4-13 Serial Communications Interface (SCI) Module Block Diagram ............................................................ 75
4-14 SPI Module Block Diagram (Slave Mode) ..................................................................................... 79
4-15 I2C Peripheral Module Interfaces ............................................................................................... 81
4-16 GPIO MUX Block Diagram ....................................................................................................... 82
4-17 Qualification Using Sampling Window .......................................................................................... 85
5-1 Example of TMS320x280x Device Nomenclature ............................................................................ 87
List of Figures4 Submit Documentation Feedback
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
6-1 Typical Operational Current Versus Frequency (F2808) .................................................................... 98
6-2 Typical Operational Power Versus Frequency (F2808) ...................................................................... 98
6-3 Emulator Connection Without Signal Buffering for the DSP ................................................................. 99
6-4 3.3-V Test Load Circuit ......................................................................................................... 101
6-5 Clock Timing ..................................................................................................................... 104
6-6 Power-on Reset .................................................................................................................. 105
6-7 Warm Reset ...................................................................................................................... 106
6-8 Example of Effect of Writing Into PLLCR Register .......................................................................... 107
6-9 General-Purpose Output Timing ............................................................................................... 107
6-10 Sampling Mode .................................................................................................................. 108
6-11 General-Purpose Input Timing ................................................................................................. 109
6-12 IDLE Entry and Exit Timing .................................................................................................... 110
6-13 STANDBY Entry and Exit Timing Diagram ................................................................................... 111
6-14 HALT Wake-Up Using GPIOn ................................................................................................. 112
6-15 PWM Hi-Z Characteristics ...................................................................................................... 113
6-16 ADCSOCAO or ADCSOCBO Timing ......................................................................................... 115
6-17 External Interrupt Timing ....................................................................................................... 115
6-18 SPI Master Mode External Timing (Clock Phase = 0) ...................................................................... 118
6-19 SPI Master Mode External Timing (Clock Phase = 1) ...................................................................... 120
6-20 SPI Slave Mode External Timing (Clock Phase = 0) ........................................................................ 121
6-21 SPI Slave Mode External Timing (Clock Phase = 1) ........................................................................ 122
6-22 ADC Power-Up Control Bit Timing ............................................................................................ 124
6-23 ADC Analog Input Impedance Model ......................................................................................... 125
6-24 Sequential Sampling Mode (Single-Channel) Timing ....................................................................... 126
6-25 Simultaneous Sampling Mode Timing ........................................................................................ 127
List of Figures 5
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
List of Tables
2-1 Hardware Features (100-MHz Devices) ........................................................................................ 14
2-2 Hardware Features (60-MHz Devices) ......................................................................................... 15
2-3 Signal Descriptions ............................................................................................................... 21
3-1 Addresses of Flash Sectors in F2809 .......................................................................................... 33
3-2 Addresses of Flash Sectors in F2808 .......................................................................................... 33
3-3 Addresses of Flash Sectors in F2806, F2802 ................................................................................. 33
3-4 Addresses of Flash Sectors in F2801, F28015, F28016 ..................................................................... 34
3-5 Impact of Using the Code Security Module .................................................................................... 34
3-6 Wait-states ......................................................................................................................... 35
3-7 Boot Mode Selection .............................................................................................................. 38
3-8 Peripheral Frame 0 Registers .................................................................................................. 43
3-9 Peripheral Frame 1 Registers .................................................................................................. 43
3-10 Peripheral Frame 2 Registers .................................................................................................. 44
3-11 Device Emulation Registers ..................................................................................................... 44
3-12 PIE Peripheral Interrupts ........................................................................................................ 46
3-13 PIE Configuration and Control Registers ...................................................................................... 47
3-14 External Interrupt Registers ...................................................................................................... 47
3-15 PLL, Clocking, Watchdog, and Low-Power Mode Registers ................................................................ 49
3-16 PLLCR Register Bit Definitions .................................................................................................. 51
3-17 Possible PLL Configuration Modes ............................................................................................. 51
3-18 Low-Power Modes ................................................................................................................ 53
4-1 CPU-Timers 0, 1, 2 Configuration and Control Registers ................................................................... 55
4-2 ePWM Control and Status Registers ........................................................................................... 57
4-3 eCAP Control and Status Registers ............................................................................................ 59
4-4 eQEP Control and Status Registers ............................................................................................ 62
4-5 ADC Registers ..................................................................................................................... 67
4-6 3.3-V eCAN Transceivers ....................................................................................................... 69
4-7 CAN Register Map ............................................................................................................... 72
4-8 SCI-A Registers .................................................................................................................. 74
4-9 SCI-B Registers .................................................................................................................. 74
4-10 SPI-A Registers ................................................................................................................... 77
4-11 SPI-B Registers ................................................................................................................... 77
4-12 SPI-C Registers ................................................................................................................... 78
4-13 SPI-D Registers ................................................................................................................... 78
4-14 I2C-A Registers .................................................................................................................... 81
4-15 GPIO Registers ................................................................................................................... 83
4-16 F2808 GPIO MUX Table ......................................................................................................... 84
6-1 TMS320F2809, TMS320F2808 Current Consumption by Power-Supply Pins at 100-MHz SYSCLKOUT ............ 93
6-2 TMS320F2806 Current Consumption by Power-Supply Pins at 100-MHz SYSCLKOUT .............................. 94
List of Tables6 Submit Documentation Feedback
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
6-3 TMS320F2802, TMS320F2801 Current Consumption by Power-Supply Pins at 100-MHz SYSCLKOUT ............ 95
6-4 TMS320C2802, TMS320C2801 Current Consumption by Power-Supply Pins at 100-MHz SYSCLKOUT ........... 96
6-5 Typical Current Consumption by Various Peripherals (at 100 MHz) ...................................................... 97
6-6 TMS320x280x Clock Table and Nomenclature (100-MHz Devices) ...................................................... 101
6-7 TMS320x280x Clock Table and Nomenclature (60-MHz Devices) ....................................................... 102
6-8 Input Clock Frequency .......................................................................................................... 103
6-9 XCLKIN Timing Requirements - PLL Enabled ............................................................................... 103
6-10 XCLKIN Timing Requirements - PLL Disabled .............................................................................. 103
6-11 XCLKOUT Switching Characteristics (PLL Bypassed or Enabled) ....................................................... 103
6-12 Power Management and Supervisory Circuit Solutions .................................................................... 104
6-13 Reset ( XRS) Timing Requirements ........................................................................................... 106
6-14 General-Purpose Output Switching Characteristics ......................................................................... 107
6-15 General-Purpose Input Timing Requirements ............................................................................... 108
6-16 IDLE Mode Timing Requirements ............................................................................................. 110
6-17 IDLE Mode Switching Characteristics ......................................................................................... 110
6-18 STANDBY Mode Timing Requirements ...................................................................................... 110
6-19 STANDBY Mode Switching Characteristics ................................................................................. 111
6-20 HALT Mode Timing Requirements ............................................................................................ 111
6-21 HALT Mode Switching Characteristics ....................................................................................... 112
6-22 ePWM Timing Requirements................................................................................................... 113
6-23 ePWM Switching Characteristics .............................................................................................. 113
6-24 Trip-Zone input Timing Requirements ........................................................................................ 113
6-25 High Resolution PWM Characteristics at SYSCLKOUT = (60 - 100 MHz) .............................................. 114
6-26 Enhanced Capture (eCAP) Timing Requirement ............................................................................ 114
6-27 eCAP Switching Characteristics ............................................................................................... 114
6-28 Enhanced Quadrature Encoder Pulse (eQEP) Timing Requirements .................................................... 114
6-29 eQEP Switching Characteristics ............................................................................................... 114
6-30 External ADC Start-of-Conversion Switching Characteristics .............................................................. 114
6-31 External Interrupt Timing Requirements ...................................................................................... 115
6-32 External Interrupt Switching Characteristics ................................................................................. 115
6-33 I2C Timing ....................................................................................................................... 116
6-34 SPI Master Mode External Timing (Clock Phase = 0) ...................................................................... 117
6-35 SPI Master Mode External Timing (Clock Phase = 1) ...................................................................... 119
6-36 SPI Slave Mode External Timing (Clock Phase = 0)........................................................................ 120
6-37 SPI Slave Mode External Timing (Clock Phase = 1)........................................................................ 121
6-38 ADC Electrical Characteristics (over recommended operating conditions) .............................................. 123
6-39 ADC Power-Up Delays .......................................................................................................... 124
6-40 Current Consumption for Different ADC Configurations (at 12.5-MHz ADCCLK) ....................................... 124
6-41 Sequential Sampling Mode Timing ............................................................................................ 126
6-42 Simultaneous Sampling Mode Timing ........................................................................................ 127
6-43 Flash Endurance ................................................................................................................. 129
List of Tables 7
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
6-44 Flash Parameters at 100-MHz SYSCLKOUT ................................................................................ 129
6-45 Flash/OTP Access Timing ...................................................................................................... 129
6-46 Minimum Required Flash/OTP Wait-States at Different Frequencies .................................................... 130
6-47 ROM/OTP Access Timing ...................................................................................................... 130
6-48 ROM/ROM (OTP area) Minimum Required Wait-States at Different Frequencies ..................................... 130
8-1 F280x Thermal Model 100-pin GGM Results ................................................................................ 132
8-2 F280x Thermal Model 100-pin PZ Results ................................................................................... 132
8-3 C280x Thermal Model 100-pin GGM Results ................................................................................ 132
8-4 C280x Thermal Model 100-pin PZ Results ................................................................................... 132
8-5 F2809 Thermal Model 100-pin GGM Results ............................................................................... 132
8-6 F2809 Thermal Model 100-pin PZ Results .................................................................................. 133
List of Tables8 Submit Documentation Feedback
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Revision History
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
This data manual was revised from SPRS230I to SPRS230J.
This document has been reviewed for technical accuracy; the technical content is up to date as of the
specified release date with the following changes:
Technical Changes Made for Revision J
Location Additions, Deletions, Changes
Section 2.1 Modified first paragraph in section on pin assignments
Figure 2-3 Modified the TMS320F2802, TMS320F2801, TMS320C2802, TMS320C2801 100-Pin PZ LQFP
Figure 2-5 Added 2801x devices to title of pinmap for GGM and ZGM packages
Table 2-3 Changed description of EPWM5A and EPWM6A
Figure 3-5 Added a note to the 2802 memory map
Figure 3-6 Added a note to the 2801, 2801x memory map
Table 3-6 Modified Wait-states table
Table 3-6 Modified section on ROM
Section 3.2.10 Deleted part of note in section on security
Section 3.2.19 Modified section on 32-bit CPU timers
Figure 3-7 Modified External and PIE Interrupt Sources figure and added two paragraphs following figure
Figure 4-2 Modified figure
Section 4.3 Deleted note in HRPWM section
pinmap
Revision History 9
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Revision History10 Submit Documentation Feedback
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
1 F280x, F2801x, C280x DSPs
1.1 Features
• High-Performance Static CMOS Technology • Enhanced Control Peripherals
– 100 MHz (10-ns Cycle Time) – Up to 16 PWM Outputs
– 60 MHz (16.67-ns Cycle Time) – Up to 6 HRPWM Outputs With 150 ps MEP
– Low-Power (1.8-V Core, 3.3-V I/O) Design
• JTAG Boundary Scan Support
(1)
• High-Performance 32-Bit CPU (TMS320C28x)
– 16 x 16 and 32 x 32 MAC Operations
– 16 x 16 Dual MAC
– Harvard Bus Architecture
– Atomic Operations
– Fast Interrupt Response and Processing
– Unified Memory Programming Model
– Code-Efficient (in C/C++ and Assembly)
• On-Chip Memory
– F2809: 128K X 16 Flash, 18K X 16 SARAM
F2808: 64K X 16 Flash, 18K X 16 SARAM
F2806: 32K X 16 Flash, 10K X 16 SARAM
F2802: 32K X 16 Flash, 6K X 16 SARAM
F2801: 16K X 16 Flash, 6K X 16 SARAM
F2801x: 16K X 16 Flash, 6K X 16 SARAM
– 1K x 16 OTP ROM (Flash Devices Only)
– C2802: 32K X 16 ROM, 6K X 16 SARAM
C2801: 16K X 16 ROM, 6K X 16 SARAM
• Boot ROM (4K x 16)
– With Software Boot Modes (via SCI, SPI,
CAN, I2C, and Parallel I/O)
– Standard Math Tables
• Clock and System Control
– Dynamic PLL Ratio Changes Supported
– On-Chip Oscillator
– Watchdog Timer Module
• Any GPIO A Pin Can Be Connected to One of
the Three External Core Interrupts
• Peripheral Interrupt Expansion (PIE) Block
That Supports All 43 Peripheral Interrupts
• 128-Bit Security Key/Lock
– Protects Flash/OTP/L0/L1 Blocks
– Prevents Firmware Reverse Engineering
• Three 32-Bit CPU Timers
(1) IEEE Standard 1149.1-1990 Standard Test Access Port and
Boundary Scan Architecture
Resolution
– Up to Four Capture Inputs
– Up to Two Quadrature Encoder Interfaces
– Up to Six 32-bit/Six 16-bit Timers
• Serial Port Peripherals
– Up to 4 SPI Modules
– Up to 2 SCI (UART) Modules
– Up to 2 CAN Modules
– One Inter-Integrated-Circuit (I2C) Bus
• 12-Bit ADC, 16 Channels
– 2 x 8 Channel Input Multiplexer
– Two Sample-and-Hold
– Single/Simultaneous Conversions
– Fast Conversion Rate:
80 ns - 12.5 MSPS (F2809 only)
160 ns - 6.25 MSPS (280x)
267 ns - 3.75 MSPS (F2801x)
– Internal or External Reference
• Up to 35 Individually Programmable,
Multiplexed GPIO Pins With Input Filtering
• Advanced Emulation Features
– Analysis and Breakpoint Functions
– Real-Time Debug via Hardware
• Development Support Includes
– ANSI C/C++ Compiler/Assembler/Linker
– Code Composer Studio™ IDE
– DSP/BIOS™
– Digital Motor Control and Digital Power
Software Libraries
• Low-Power Modes and Power Savings
– IDLE, STANDBY, HALT Modes Supported
– Disable Individual Peripheral Clocks
• Package Options
– Thin Quad Flatpack (PZ)
– MicroStar BGA™ (GGM, ZGM)
• Temperature Options:
– A: -40C to 85C (PZ, GGM, ZGM)
– S: -40C to 125C (PZ, GGM, ZGM)
– Q: -40C to 125C (PZ)
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 document.
Code Composer Studio, DSP/BIOS, MicroStar BGA, TMS320C28x, C28x, TMS320C2000 are trademarks of Texas Instruments.
eZdsp is a trademark of Spectrum Digital.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
Copyright © 2003–2007, Texas Instruments Incorporated
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
1.2 Getting Started
This section gives a brief overview of the steps to take when first developing for a C28x device. For more
detail on each of these steps, see the following:
• Getting Started With TMS320C28x™ Digital Signal Controllers (literature number SPRAAM0 ).
• C2000 Getting Started Website (http://www.ti.com/c2000getstarted)
Step 1. Acquire the appropriate development tools
The quickest way to begin working with a C28x device is to acquire an eZdsp™ kit for initial
development, which, in one package, includes:
• On-board JTAG emulation via USB or parallel port
• Appropriate emulation driver
• Code Composer Studio™ IDE for eZdsp
Once you have become familiar with the device and begin developing on your own
hardware, purchase Code Composer Studio™ IDE separately for software development and
a JTAG emulation tool to get started on your project.
Step 2. Download starter software
To simplify programming for C28x devices, it is recommended that users download and use
the C/C++ Header Files and Example(s) to begin developing software for the C28x devices
and their various peripherals.
After downloading the appropriate header file package for your device, refer to the following
resources for step-by-step instructions on how to run the peripheral examples and use the
header file structure for your own software
• The Quick Start Readme in the /doc directory to run your first application.
• Programming TMS320x28xx and 28xxx Peripherals in C/C++ Application Report
(literature number SPRAA85 )
Step 3. Download flash programming software
Many C28x devices include on-chip flash memory and tools that allow you to program the
flash with your software IP.
• Flash Tools: C28x Flash Tools
• TMS320F281x Flash Programming Solutions (literature number SPRB169 )
• Running an Application from Internal Flash Memory on the TMS320F28xx DSP (literature
number SPRA958 )
Step 4. Move on to more advanced topics
For more application software and other advanced topics, visit the TI website at
http://www.ti.com or http://www.ti.com/c2000getstarted .
12 F280x, F2801x, C280x DSPs Submit Documentation Feedback
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
2 Introduction
The TMS320F2809, TMS320F2808, TMS320F2806, TMS320F2802, TMS320F2801, TMS320F28015,
TMS320F28016, TMS320C2802, and TMS320C2801, devices, members of the TMS320C28x™ DSP
generation, are highly integrated, high-performance solutions for demanding control applications.
Throughout this document, TMS320F2809, TMS320F2808, TMS320F2806, TMS320F2802,
TMS320F2801, TMS320C2802, TMS320C2801, TMS320F28015, and TMS32028016 are abbreviated as
F2809, F2808, F2806, F2802, F2801, F28015, F28016, C2802, and C2801, respectively. TMS320F28015
and TMS320F28016 are abbreviated as F2801x. Table 2-1 provides a summary of features for each
device.
Submit Documentation Feedback Introduction 13
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Table 2-1. Hardware Features (100-MHz Devices)
FEATURE F2809 F2808 F2806 F2802 F2801 C2802 C2801
Instruction cycle (at 100 MHz) 10 ns 10 ns 10 ns 10 ns 10 ns 10 ns 10 ns
Single-access RAM (SARAM) (16-bit word) (L0, L1, M0, M1, (L0, L1, M0, M1,
3.3-V on-chip flash (16-bit word) 128K 64K 32K 32K 16K – –
On-chip ROM (16-bit word) – – – – – 32K 16K
Code security for on-chip flash/SARAM/OTP blocks Yes Yes Yes Yes Yes Yes Yes
Boot ROM (4K X16) Yes Yes Yes Yes Yes Yes Yes
One-time programmable (OTP) ROM
(16-bit word)
PWM outputs ePWM1/2/3/4/5/6 ePWM1/2/3/4/5/6 ePWM1/2/3/4/5/6 ePWM1/2/3 ePWM1/2/3 ePWM1/2/3 ePWM1/2/3
HRPWM channels ePWM1A/2A/3A ePWM1A/2A/3A ePWM1A/2A/3A ePWM1A/2A/3A
32-bit CAPTURE inputs or auxiliary PWM outputs eCAP1/2/3/4 eCAP1/2/3/4 eCAP1/2/3/4 eCAP1/2 eCAP1/2 eCAP1/2 eCAP1/2
32-bit QEP channels (four inputs/channel) eQEP1/2 eQEP1/2 eQEP1/2 eQEP1 eQEP1 eQEP1 eQEP1
Watchdog timer Yes Yes Yes Yes Yes Yes Yes
12-Bit, 16-channel ADC conversion time 80 ns 160 ns 160 ns 160 ns 160 ns 160 ns 160 ns
32-Bit CPU timers 3 3 3 3 3 3 3
Serial Peripheral Interface (SPI) SPI-A/B/C/D SPI-A/B/C/D SPI-A/B/C/D SPI-A/B SPI-A/B SPI-A/B SPI-A/B
Serial Communications Interface (SCI) SCI-A/B SCI-A/B SCI-A/B SCI-A SCI-A SCI-A SCI-A
Enhanced Controller Area Network (eCAN) eCAN-A/B eCAN-A/B eCAN-A eCAN-A eCAN-A eCAN-A eCAN-A
Inter-Integrated Circuit (I2C) I2C-A I2C-A I2C-A I2C-A I2C-A I2C-A I2C-A
Digital I/O pins (shared) 35 35 35 35 35 35 35
External interrupts 3 3 3 3 3 3 3
Supply voltage 1.8-V Core, 3.3-V I/O Yes Yes Yes Yes Yes Yes Yes
Packaging
Temperature options S: -40 ° C to 125 ° C (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM)
Product status
(1)
100-Pin PZ Yes Yes Yes Yes Yes Yes Yes
100-Ball GGM, ZGM Yes Yes Yes Yes Yes Yes Yes
A: -40 ° C to 85 ° C (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM)
Q: -40 ° C to 125 ° C (PZ) (PZ) (PZ) (PZ) (PZ) (PZ) (PZ)
18K 18K
H0) H0)
1K 1K 1K 1K 1K – –
ePWM1A/2A/3A/ ePWM1A/2A/ ePWM1A/2A/
4A/5A/6A 3A/4A 3A/4A
TMS TMS TMS TMS TMS TMS TMS
10K 6K 6K 6K 6K
(L0, L1, M0, M1) (L0, M0, M1) (L0, M0, M1) (L0, M0, M1) (L0, M0, M1)
(1) See Section 5.1, Device and Development Support Nomenclature for descriptions of device stages.
14 Introduction Submit Documentation Feedback
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Table 2-2. Hardware Features (60-MHz Devices)
FEATURE F2802-60 F2801-60 F28016 F28015
Instruction cycle (at 60 MHz) 16.67 ns 16.67 ns 16.67 ns 16.67 ns
Single-access RAM (SARAM) (16-bit word)
3.3-V on-chip flash (16-bit word) 32K 16K 16K 16K
On-chip ROM (16-bit word) – – – –
Code security for on-chip flash/SARAM/OTP
blocks
Boot ROM (4K X16) Yes Yes Yes Yes
One-time programmable (OTP) ROM
(16-bit word)
PWM outputs ePWM1/2/3 ePWM1/2/3 ePWM1/2/3/4 ePWM1/2/3/4
HRPWM channels ePWM1A/2A/3A ePWM1A/2A/3A ePWM1A/2A/3A/4A ePWM1A/2A/3A/4A
32-bit CAPTURE inputs or auxiliary PWM
outputs
32-bit QEP channels (four inputs/channel) eQEP1 eQEP1 - Watchdog timer Yes Yes Yes Yes
No. of channels 16 16 16 16
12-Bit ADC MSPS 3.75 3.75 3.75 3.75
Conversion time 267 ns 267 ns 267 ns 267 ns
32-Bit CPU timers 3 3 3 3
Serial Peripheral Interface (SPI) SPI-A/B SPI-A/B SPI-A SPI-A
Serial Communications Interface (SCI) SCI-A SCI-A SCI-A SCI-A
Enhanced Controller Area Network (eCAN) eCAN-A eCAN-A eCAN-A Inter-Integrated Circuit (I2C) I2C-A I2C-A I2C-A I2C-A
Digital I/O pins (shared) 35 35 35 35
External interrupts 3 3 3 3
Supply voltage
Packaging
Temperature options S: -40 ° C to 125 ° C (PZ GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM)
Product status
(1) See Section 5.1, Device and Development Support Nomenclature for descriptions of device stages.
(1)
100-Pin PZ Yes Yes Yes Yes
100-Ball GGM, ZGM Yes Yes Yes Yes
A: -40 ° C to 85 ° C (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM) (PZ, GGM, ZGM)
Q: -40 ° C to 125 ° C (PZ) (PZ) (PZ) (PZ)
6K 6K 6K 6K
(L0, M0, M1) (L0, M0, M1) (L0, M0, M1) (L0, M0, M1)
Yes Yes Yes Yes
1K 1K 1K 1K
eCAP1/2 eCAP1/2 eCAP1/2 eCAP1/2
1.8-V Core, 1.8-V Core, 1.8-V Core, 1.8-V Core,
3.3-V I/O 3.3-V I/O 3.3-V I/O 3.3-V I/O
TMS TMS TMS TMS
2.1 Pin Assignments
The TMS320F2809, TMS320F2808, TMS320F2806, TMS320F2802, TMS320F2801, TMS320C2802,
TMS320C2801, TMS320F28015, and TMS320F28016 100-pin PZ low-profile quad flatpack (LQFP) pin
assignments are shown in Figure 2-1 , Figure 2-2 , Figure 2-3 , and Figure 2-4 . The 100-ball GGM and ZGM
ball grid array (BGA) terminal assignments are shown in Figure 2-5 . Table 2-3 describes the function(s) of
each pin.
Submit Documentation Feedback Introduction 15
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
GPIO0/EPWM1A
TCK
TMS
TDI
GPIO23/EQEP1I/SPISTEC/SCIRXDB
GPIO22/EQEP1S/SPICLKC/SCITXDB
GPIO11/EPWM6B/SCIRXDB/ECAP4
GPIO21/EQEP1B/SPISOMIC/CANRXB
XCLKOUT
GPIO20/EQEP1A/SPISIMOC/CANTXB
GPIO9/EPWM5B/SCITXDB/ECAP3
GPIO7/EPWM4B/SPISTED/ECAP2
GPIO19/SPISTEA/SCIRXDB
GPIO6/EPWM4A/EPWMSYNCI/EPWMSYNCO
GPIO18/SPICLKA/SCITXDB
GPIO5/EPWM3B/SPICLKD/ECAP1
GPIO4/EPWM3A
XRS
TRST
V
SS
V
DD
V
DDIO
GPIO10/EPWM6A/CANRXB/ADCSOCBO
V
SS
GPIO8/EPWM5A/CANTXB/ADCSOCAO
V
DD
V
SS
GPIO17/SPISOMIA/CANRXB/TZ6
V
SS
V
SS
V
DD
V
DDIO
GPIO16/SPISIMOA/CANTXB/TZ5
V
DD2A18
V
SS2AGND
V
DDAIO
GPIO12/TZ1/CANTXB/SPISIMOB
V
SS
V
DDIO
GPIO29/SCITXDA/TZ6
GPIO33/SCLA/EPWMSYNCO/ADCSOCBO
GPIO14/TZ3/SCITXDB/SPICLKB
V
SS
V
DD
V
DD1A18
V
SS1AGND
V
SSA2
V
DDA2
GPIO15/TZ4/SCIRXDB/SPISTEB
V
SSAIO
GPIO32/SDAA/EPWMSYNCI/ADCSOCAO
GPIO13/TZ2/CANRXB/SPISOMIB
V
DD3VFL
V
SS
V
DD
GPIO28/SCIRXDA/TZ5
V
SS
V
SS
V
DD
V
SS
V
DDIO
GPIO26/ECAP3/EQEP2I/SPICLKB
TEST2
TEST1
GPIO25/ECAP2/EQEP2B/SPISOMIB
XCLKIN
X1
X2
EMU1
EMU0
GPIO24/ECAP1/EQEP2A/SPISIMOB
GPIO27/ECAP4/EQEP2S/SPISTEB
TDO
GPIO30/CANRXA
GPIO31/CANTXA
ADCINA7
ADCINA6
ADCINA5
ADCINA4
ADCINA3
ADCINA2
ADCINA1
ADCINA0
ADCLO
ADCINB0
ADCINB1
ADCINB2
ADCINB3
ADCINB4
ADCINB5
ADCINB6
ADCINB7
ADCREFIN
ADCREFM
ADCREFP
ADCRESEXT
GPIO34
GPIO1/EPWM1B/SPISIMOD
GPIO2/EPWM2A
GPIO3/EPWM2B/SPISOMID
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Figure 2-1. TMS320F2809, TMS320F2808 100-Pin PZ LQFP (Top View)
Introduction 16 Submit Documentation Feedback
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
GPIO3/EPWM2B/SPISOMID
GPIO0/EPWM1A
GPIO2/EPWM2A
GPIO1/EPWM1B/SPISIMOD
GPIO34
ADCRESEXT
ADCREFP
ADCREFM
ADCREFIN
ADCINB7
ADCINB6
ADCINB5
ADCINB4
ADCINB3
ADCINB2
ADCINB1
ADCINB0
TCK
TMS
TDI
GPIO23/EQEP1I/SPISTEC/SCIRXDB
GPIO22/EQEP1S/SPICLKC/SCITXDB
XCLKOUT
GPIO20/EQEP1A/SPISIMOC
GPIO9/EPWM5B/SCITXDB/ECAP3
GPIO7/EPWM4B/SPISTED/ECAP2
GPIO19/SPISTEA/SCIRXDB
GPIO6/EPWM4A/EPWMSYNCI/EPWMSYNCO
GPIO18/SPICLKA/SCITXDB
GPIO5/EPWM3B/SPICLKD/ECAP1
GPIO4/EPWM3A
GPIO30/CANRXA
GPIO31/CANTXA
ADCINA7
ADCINA6
ADCINA5
ADCINA4
ADCINA3
ADCINA2
ADCINA1
ADCINA0
ADCLO
XRS
TRST
GPIO11/EPWM6B/SCIRXDB/ECAP4
GPIO21/EQEP1B/SPISOMIC
V
SS
V
SS
V
DD
V
DDIO
GPIO16/SPISIMOA/TZ5
V
DD2A18
V
SS2AGND
V
DDAIO
V
SS
V
DD
V
DDIO
GPIO10/EPWM6A/ADCSOCBO
V
SS
GPIO8/EPWM5A/ADCSOCAO
V
DD
V
SS
GPIO17/SPISOMIA/TZ6
V
DD3VFL
V
SS
V
DD
GPIO28/SCIRXDA/TZ5
V
SS
V
SS
V
DD
V
SS
V
DDIO
GPIO13/TZ2/SPISOMIB
GPIO12/TZ1/SPISIMOB
GPIO29/SCITXDA/TZ6
GPIO33/SCLA/EPWMSYNCO/ADCSOCBO
GPIO14/TZ3/SCITXDB/SPICLKB
V
DD
V
DD1A18
V
SS1AGND
V
SSA2
V
DDA2
GPIO15/TZ4/SCIRXDB/SPISTEB
V
SSAIO
V
SS
V
DDIO
GPIO32/SDAA/EPWMSYNCI/ADCSOCAO
GPIO26/ECAP3/EQEP2I/SPICLKB
TEST2
TEST1
GPIO25/ECAP2/EQEP2B/SPISOMIB
XCLKIN
X1
X2
GPIO24/ECAP1/EQEP2A/SPISIMOB
EMU1
EMU0
GPIO27/ECAP4/EQEP2S/SPISTEB
TDO
V
SS
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Figure 2-2. TMS320F2806 100-Pin PZ LQFP (Top View)
Submit Documentation Feedback Introduction 17
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
1
2
3
4
5
6
7
8
9
101112
13
14
15
16
17
18
19
20
21
22
23
24
25
GPIO0/EPWM1A
GPIO2/EPWM2A
GPIO1/EPWM1B
GPIO34
ADCRESEXT
ADCREFP
ADCREFM
ADCREFIN
ADCINB7
ADCINB6
ADCINB5
ADCINB4
ADCINB3
ADCINB2
ADCINB1
ADCINB0
TCK
TMS
TDI
X
CLKOUT
GPIO30/CANRXA
GPIO31/CANTXA
ADCINA7
ADCINA6
ADCINA5
ADCINA4
ADCINA3
ADCINA2
ADCINA1
ADCINA0
ADCL
O
XRS
TRST
SPISIMOB/GPIO12/TZ1
V
SS
V
DDIO
GPIO29/SCITXDA/TZ6
GPIO33/SCLA/EPWMSYNCO/ADCSOCBO
V
SS
V
DD
V
DD1A18
V
SS1AGND
V
SSA2
V
DDA2
GPIO32/SDAA/EPWMSYNCI/ADSOCAO
SPISOMIB/GPIO13/TZ2
V
DD3VFL
(A)
V
SS
V
DD
GPIO28/SCIRXDA/TZ5
V
SS
V
SS
V
DD
GPIO21/EQEP1B
V
SSVDD
GPIO23/EQEP1I
GPIO22/EQEP1S
V
DDIO
GPIO10/ADC
SOCBO
GPIO20/EQEP1A
V
SS
GPIO9
GPIO8/ADCSOCAO
V
DD
GPIO7/ECAP2
GPIO19/SPISTEA
GPIO6/EPWMSYNCI/EPWMSYNCO
GPIO1
1
V
SS
GPIO18/SPICLKA
GPIO5/EPWM3B/ECAP1
GPIO17/SPISOMIA/TZ6
GPIO4/EPWM3A
V
SS
V
SS
V
DD
V
DDIO
GPIO16/SPISIMOA/TZ5
GPIO3/EPWM2B
V
DD2A18
V
SS2AGND
V
DDAIO
SPICLKB/GPIO14/TZ3
SPISTEB/GPIO15/TZ4
V
SS
SPISTEB/GPIO27
V
DDIO
SPISIMOB/GPIO24/ECAP1
V
SSAIO
GPIO25/ECAP2/SPISOMIB
SPICLKB/GPIO26
TEST2
TEST1
XCLKIN
X1
X2
EMU1
EMU0
TDO
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
A. On the C280x devices, the V
Figure 2-3. TMS320F2802, TMS320F2801, TMS320C2802, TMS320C2801 100-Pin PZ LQFP
pin is V
DD3VFL
DDIO
.
(Top View)
Introduction 18 Submit Documentation Feedback
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
1
2
3
4
5
6
7
8
9
101112
13
14
15
16
17
18
19
20
21
22
23
24
25
GPIO0/EPWM1A
GPIO2/EPWM2A
GPIO1/EPWM1B
GPIO34
ADCRESEXT
ADCREFP
ADCREFM
ADCREFIN
ADCINB7
ADCINB6
ADCINB5
ADCINB4
ADCINB3
ADCINB2
ADCINB1
ADCINB0
TCK
TMS
TDI
X
CLKOUT
GPIO30/CANRXA
GPIO31/CANTXA
ADCINA7
ADCINA6
ADCINA5
ADCINA4
ADCINA3
ADCINA2
ADCINA1
ADCINA0
ADCL
O
XRS
TRST
GPIO12/TZ1
V
SS
V
DDIO
GPIO29/SCITXDA/TZ6
GPIO33/SCLA/EPWMSYNCO/ADCSOCBO
GPIO14/TZ3
V
SS
V
DD
V
DD1A18
V
SS1AGND
V
SSA2
V
DDA2
GPIO32/SDAA/EPWMSYNCI/ADSOCAO
GPIO13/TZ2
V
DD3VFL
(A)
V
SS
V
DD
GPIO28/SCIRXDA/TZ5
V
SS
V
SS
V
DD
GPIO21
V
SS
V
DD
GPIO23
GPIO22
V
DDIO
GPIO10/ADC
SOCBO
GPIO20
V
SS
GPIO9
GPIO8/ADCSOCAO
V
DD
GPIO7/EPWM4B/ECAP2
GPIO19/SPISTEA
GPIO6/EPWM4A/EPWMSYNCI/EPWMSYNCO
GPIO11
V
SS
GPIO18/SPICLKA
GPIO5/EPWM3B/ECAP1
GPIO17/SPISOMIA/TZ6
GPIO4/EPWM3A
V
SS
V
SS
V
DD
V
DDIO
GPIO16/SPISIMOA/TZ5
GPIO3/EPWM2B
V
DD2A18
V
SS2AGND
V
DDAIO
GPIO15/TZ4
V
SS
GPIO27
V
DDIO
GPIO24/ECAP1
V
SSAIO
GPIO25/ECAP2
GPIO26
TEST2
TEST1
XCLKIN
X1
X2
EMU1
EMU0
TDO
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
A. CANTXA (pin 7) and CANRXA (pin 6) pins are not applicable for the TMS320F28015.
Submit Documentation Feedback Introduction 19
Figure 2-4. TMS320F2801x 100-Pin PZ LQFP
(Top View)
4
C
B
A
D
E
21 3
K
F
G
H
J
5 76 98 10
Bottom View
TRST TCK
TDI
TDO TMS
EMU0
EMU1
V
DD3VFL
TEST1
TEST2
XCLKOUT
XCLKIN
X1
X2
XRS
GPIO0
GPIO1
GPIO2 GPIO3 GPIO4
GPIO5
GPIO6GPIO7
GPIO9 GPIO8
GPIO10
GPIO11
GPIO12
GPIO13
GPIO14
GPIO15
GPIO16
GPIO17
GPIO18
GPIO19
GPIO20
GPIO21
GPIO22
GPIO23GPIO24GPIO25
GPIO26
GPIO27
GPIO28
GPIO29
GPIO30
GPIO31
GPIO32
GPIO33
GPIO34
V
DDA2
V
DD1A18
V
SS1AGND
V
DD
V
DDIO
VSSAIO
V
DDAIO
VSSA2
ADCINA7
V
SS2AGND
V
DD2A18
V
DD
V
DD
V
DD
V
DD
V
DD
V
DDIO
V
DDIO
V
DDIO
VSS
V
SS
V
SS
V
SS
V
SS
VSS
V
SS
V
SS
V
SS
V
SS
V
SS
ADCINB2
ADCINA6
ADCINA5
ADCINA4
ADCINA3
ADCINA2
ADCINA1
ADCINA0
ADCINB7
ADCINB1
ADCINB0
ADCLO
ADCRESEXT
ADCREFIN
ADCREFP
ADCREFM
ADCINB3
ADCINB5
ADCINB4
ADCINB6
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Figure 2-5. TMS320F2809, TMS320F2808, TMS320F2806,TMS320F2802, TMS320F2801,
TMS320F28016, TMS320F28015, TMS320C2802, TMS320C2801
100-Ball GGM and ZGM MicroStar BGA™ (Bottom View)
20 Introduction Submit Documentation Feedback
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
2.2 Signal Descriptions
Table 2-3 describes the signals on the 280x devices. All digital inputs are TTL-compatible. All outputs are
3.3 V with CMOS levels. Inputs are not 5-V tolerant.
Table 2-3. Signal Descriptions
PIN NO.
NAME DESCRIPTION
PIN #
TRST 84 A6
TCK 75 A10 JTAG test clock with internal pullup (I, ↑ )
TMS 74 B10
TDI 73 C9
TDO 76 B9
EMU0 80 A8 (I/O/Z, 8 mA drive ↑ )
EMU1 81 B7 (I/O/Z, 8 mA drive ↑ )
V
DD3VFL
TEST1 97 A3 Test Pin. Reserved for TI. Must be left unconnected. (I/O)
TEST2 98 B3 Test Pin. Reserved for TI. Must be left unconnected. (I/O)
XCLKOUT 66 E8 (XCLKOUTDIV) in the XCLK register. At reset, XCLKOUT = SYSCLKOUT/4. The XCLKOUT signal
XCLKIN 90 B5 the X1 pin must be tied to GND. If a crystal/resonator is used (or if an external 1.8-V oscillator is
PZ
96 C4
GGM/
ZGM
BALL #
JTAG
JTAG test reset with internal pulldown. TRST, when driven high, gives the scan system control of
the operations of the device. If this signal is not connected or driven low, the device operates in its
functional mode, and the test reset signals are ignored.
NOTE: Do not use pullup resistors on TRST; it has an internal pull-down device. TRST is an active
high test pin and must be maintained low at all times during normal device operation. In a low-noise
environment, TRST may be left floating. In other instances, an external pulldown resistor is highly
recommended. The value of this resistor should be based on drive strength of the debugger pods
applicable to the design. A 2.2-k Ω resistor generally offers adequate protection. Since this is
application-specific, it is recommended that each target board be validated for proper operation of
the debugger and the application. (I, ↓ )
JTAG test-mode select (TMS) with internal pullup. This serial control input is clocked into the TAP
controller on the rising edge of TCK. (I, ↑ )
JTAG test data input (TDI) with internal pullup. TDI is clocked into the selected register (instruction
or data) on a rising edge of TCK. (I, ↑ )
JTAG scan out, test data output (TDO). The contents of the selected register (instruction or data)
are shifted out of TDO on the falling edge of TCK. (O/Z 8 mA drive)
Emulator pin 0. When TRST is driven high, this pin is used as an interrupt to or from the emulator
system and is defined as input/output through the JTAG scan. This pin is also used to put the
device into boundary-scan mode. With the EMU0 pin at a logic-high state and the EMU1 pin at a
logic-low state, a rising edge on the TRST pin would latch the device into boundary-scan mode.
NOTE: An external pullup resistor is recommended on this pin. The value of this resistor should be
based on the drive strength of the debugger pods applicable to the design. A 2.2-k Ω to 4.7-k Ω
resistor is generally adequate. Since this is application-specific, it is recommended that each target
board be validated for proper operation of the debugger and the application.
Emulator pin 1. When TRST is driven high, this pin is used as an interrupt to or from the emulator
system and is defined as input/output through the JTAG scan. This pin is also used to put the
device into boundary-scan mode. With the EMU0 pin at a logic-high state and the EMU1 pin at a
logic-low state, a rising edge on the TRST pin would latch the device into boundary-scan mode.
NOTE: An external pullup resistor is recommended on this pin. The value of this resistor should be
based on the drive strength of the debugger pods applicable to the design. A 2.2-k Ω to 4.7-k Ω
resistor is generally adequate. Since this is application-specific, it is recommended that each target
board be validated for proper operation of the debugger and the application.
FLASH
3.3-V Flash Core Power Pin. This pin should be connected to 3.3 V at all times. On the ROM
parts (C280x), this pin should be connected to V
CLOCK
Output clock derived from SYSCLKOUT. XCLKOUT is either the same frequency, one-half the
frequency, or one-fourth the frequency of SYSCLKOUT. This is controlled by the bits 1, 0
can be turned off by setting XCLKOUTDIV to 3. Unlike other GPIO pins, the XCLKOUT pin is not
placed in high-impedance state during a reset. (O/Z, 8 mA drive).
External Oscillator Input. This pin is to feed a clock from an external 3.3-V oscillator. In this case,
used to feed clock to X1 pin), this pin must be tied to GND. (I)
DDIO
(1)
.
(1) I = Input, O = Output, Z = High impedance, OD = Open drain, ↑ = Pullup, ↓ = Pulldown
Submit Documentation Feedback Introduction 21
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Table 2-3. Signal Descriptions (continued)
PIN NO.
NAME DESCRIPTION
PIN #
X1 88 E6 power supply. A 1.8-V external oscillator may be connected to the X1 pin. In this case, the XCLKIN
X2 86 C6
XRS 78 B8
ADCINA7 16 F3 ADC Group A, Channel 7 input (I)
ADCINA6 17 F4 ADC Group A, Channel 6 input (I)
ADCINA5 18 G4 ADC Group A, Channel 5 input (I)
ADCINA4 19 G1 ADC Group A, Channel 4 input (I)
ADCINA3 20 G2 ADC Group A, Channel 3 input (I)
ADCINA2 21 G3 ADC Group A, Channel 2 input (I)
ADCINA1 22 H1 ADC Group A, Channel 1 input (I)
ADCINA0 23 H2 ADC Group A, Channel 0 input (I)
ADCINB7 34 K5 ADC Group B, Channel 7 input (I)
ADCINB6 33 H4 ADC Group B, Channel 6 input (I)
ADCINB5 32 K4 ADC Group B, Channel 5 input (I)
ADCINB4 31 J4 ADC Group B, Channel 4 input (I)
ADCINB3 30 K3 ADC Group B, Channel 3 input (I)
ADCINB2 29 H3 ADC Group B, Channel 2 input (I)
ADCINB1 28 J3 ADC Group B, Channel 1 input (I)
ADCINB0 27 K2 ADC Group B, Channel 0 input (I)
ADCLO 24 J1 Low Reference (connect to analog ground) (I)
ADCRESEXT 38 F5 ADC External Current Bias Resistor. Connect a 22-k Ω resistor to analog ground.
ADCREFIN 35 J5 External reference input (I)
ADCREFP 37 G5
ADCREFM 36 H5
V
DDA2
V
SSA2
V
DDAIO
V
SSAIO
V
DD1A18
V
SS1AGND
V
DD2A18
V
SS2AGND
GGM/
PZ
15 F2 ADC Analog Power Pin (3.3 V)
14 F1 ADC Analog Ground Pin
26 J2 ADC Analog I/O Power Pin (3.3 V)
25 K1 ADC Analog I/O Ground Pin
12 E4 ADC Analog Power Pin (1.8 V)
13 E5 ADC Analog Ground Pin
40 J6 ADC Analog Power Pin (1.8 V)
39 K6 ADC Analog Ground Pin
ZGM
BALL #
Internal/External Oscillator Input. To use the internal oscillator, a quartz crystal or a ceramic
resonator may be connected across X1 and X2. The X1 pin is referenced to the 1.8-V core digital
pin must be connected to ground. If a 3.3-V external oscillator is used with the XCLKIN pin, X1 must
be tied to GND. (I)
Internal Oscillator Output. A quartz crystal or a ceramic resonator may be connected across X1 and
X2. If X2 is not used it must be left unconnected. (O)
RESET
Device Reset (in) and Watchdog Reset (out).
Device reset. XRS causes the device to terminate execution. The PC will point to the address
contained at the location 0x3FFFC0. When XRS is brought to a high level, execution begins at the
location pointed to by the PC. This pin is driven low by the DSP when a watchdog reset occurs.
During watchdog reset, the XRS pin is driven low for the watchdog reset duration of 512 OSCCLK
cycles. (I/OD, ↑ )
The output buffer of this pin is an open-drain with an internal pullup. It is recommended that this pin
be driven by an open-drain device.
ADC SIGNALS
Internal Reference Positive Output. Requires a low ESR (50 m Ω - 1.5 Ω ) ceramic bypass capacitor
of 2.2 μ F to analog ground. (O)
Internal Reference Medium Output. Requires a low ESR (50 m Ω - 1.5 Ω ) ceramic bypass capacitor
of 2.2 μ F to analog ground. (O)
CPU AND I/O POWER PINS
(1)
Introduction 22 Submit Documentation Feedback
TMS320F2809, TMS320F2808, TMS320F2806
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Table 2-3. Signal Descriptions (continued)
PIN NO.
NAME DESCRIPTION
PIN #
V
DD
V
DD
V
DD
V
DD
V
DD
V
DD
V
DDIO
V
DDIO
V
DDIO
V
DDIO
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
GPIO0 General purpose input/output 0 (I/O/Z)
EPWM1A Enhanced PWM1 Output A and HRPWM channel (O)
- -
- GPIO1 General purpose input/output 1 (I/O/Z)
EPWM1B Enhanced PWM1 Output B (O)
SPISIMOD SPI-D slave in, master out (I/O) (not available on 2801, 2802)
- GPIO2 General purpose input/output 2 (I/O/Z)
EPWM2A Enhanced PWM2 Output A and HRPWM channel (O)
- -
- GPIO3 General purpose input/output 3 (I/O/Z)
EPWM2B Enhanced PWM2 Output B (O)
SPISOMID SPI-D slave out, master in (I/O) (not available on 2801, 2802)
- GPIO4 General purpose input/output 4 (I/O/Z)
EPWM3A Enhanced PWM3 output A and HRPWM channel (O)
- -
- GPIO5 General purpose input/output 5 (I/O/Z)
EPWM3B Enhanced PWM3 output B (O)
SPICLKD SPI-D clock (I/O) (not available on 2801, 2802)
ECAP1 Enhanced capture input/output 1 (I/O)
GGM/
PZ
ZGM
BALL #
10 E2
42 G6
59 F10
68 D7
CPU and Logic Digital Power Pins (1.8 V)
85 B6
93 D4
3 C2
46 H7
65 E9
Digital I/O Power Pin (3.3 V)
82 A7
2 B1
11 E3
41 H6
49 K9
55 H10
62 F7 Digital Ground Pins
69 D10
77 A9
87 D6
89 A5
94 A4
GPIOA AND PERIPHERAL SIGNALS
47 K8
44 K7
45 J7
48 J8
51 J9
53 H9
(2) (3)
(4)
(4)
(4)
(4)
(4)
(4)
TMS320F2802, TMS320F2801
(1)
(2) Some peripheral functions may not be available in TMS320F2801x devices. See Table 2-2 for details.
(3) All GPIO pins are I/O/Z, 4-mA drive typical (unless otherwise indicated), and have an internal pullup, which can be selectively
enabled/disabled on a per-pin basis. This feature only applies to the GPIO pins. The GPIO function (shown in Italics) is the default at
reset. The peripheral signals that are listed under them are alternate functions.
(4) The pullups on GPIO0-GPIO11 pins are not enabled at reset.
Submit Documentation Feedback Introduction 23
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Table 2-3. Signal Descriptions (continued)
PIN NO.
NAME DESCRIPTION
PIN #
GPIO6 General purpose input/output 6 (I/O/Z)
EPWM4A Enhanced PWM4 output A and HRPWM channel (not available on 2801, 2802) (O)
EPWMSYNCI External ePWM sync pulse input (I)
PZ
56 G9
GGM/
ZGM
BALL #
(4)
EPWMSYNCO External ePWM sync pulse output (O)
GPIO7 General purpose input/output 7 (I/O/Z)
EPWM4B Enhanced PWM4 output B (not available on 2801, 2802) (O)
SPISTED SPI-D slave transmit enable (not available on 2801, 2802) (I/O)
58 G8
(4)
ECAP2 Enhanced capture input/output 2 (I/O)
GPIO8 General purpose input/output 8 (I/O/Z)
EPWM5A Enhanced PWM5 output A and HRPWM channel (not available on 2801, 2802) (O)
CANTXB Enhanced CAN-B transmit (not available on 2801, 2802, F2806) (O)
60 F9
(4)
ADCSOCAO ADC start-of-conversion A (O)
GPIO9 General purpose input/output 9 (I/O/Z)
EPWM5B Enhanced PWM5 output B (not available on 2801, 2802) (O)
SCITXDB SCI-B transmit data (not available on 2801, 2802) (O)
61 F8
(4)
ECAP3 Enhanced capture input/output 3 (not available on 2801, 2802) (I/O)
GPIO10 General purpose input/output 10 (I/O/Z)
EPWM6A Enhanced PWM6 output A and HRPWM channel (not available on 2801, 2802) (O)
CANRXB Enhanced CAN-B receive (not available on 2801, 2802, F2806) (I)
64 E10
(4)
ADCSOCBO ADC start-of-conversion B (O)
GPIO11 General purpose input/output 11 (I/O/Z)
EPWM6B Enhanced PWM6 output B (not available on 2801, 2802) (O)
SCIRXDB SCI-B receive data (not available on 2801, 2802) (I)
70 D9
(4)
ECAP4 Enhanced CAP Input/Output 4 (not available on 2801, 2802) (I/O)
GPIO12 General purpose input/output 12 (I/O/Z)
TZ1 Trip Zone input 1 (I)
CANTXB Enhanced CAN-B transmit (not available on 2801, 2802, F2806) (O)
1 B2
(5)
SPISIMOB SPI-B Slave in, Master out (I/O)
GPIO13 General purpose input/output 13 (I/O/Z)
TZ2 Trip zone input 2 (I)
CANRXB Enhanced CAN-B receive (not available on 2801, 2802, F2806) (I)
95 B4
(5)
SPISOMIB SPI-B slave out, master in (I/O)
GPIO14 General purpose input/output 14 (I/O/Z)
TZ3 Trip zone input 3 (I)
SCITXDB SCI-B transmit (not available on 2801, 2802) (O)
8 D3
(5)
SPICLKB SPI-B clock input/output (I/O)
GPIO15 General purpose input/output 15 (I/O/Z)
TZ4 Trip zone input (I)
SCIRXDB SCI-B receive (not available on 2801, 2802) (I)
9 E1
(5)
SPISTEB SPI-B slave transmit enable (I/O)
GPIO16 General purpose input/output 16 (I/O/Z)
SPISIMOA SPI-A slave in, master out (I/O)
CANTXB Enhanced CAN-B transmit (not available on 2801, 2802, F2806) (O)
50 K10
(5)
TZ5 Trip zone input 5 (I)
GPIO17 General purpose input/output 17 (I/O/Z)
SPISOMIA SPI-A slave out, master in (I/O)
CANRXB Enhanced CAN-B receive (not available on 2801, 2802, F2806) (I)
52 J10
(5)
TZ6 Trip zone input 6(I)
GPIO18 General purpose input/output 18 (I/O/Z)
(5)
SPICLKA SPI-A clock input/output (I/O)
SCITXDB 54 H8 SCI-B transmit (not available on 2801, 2802) (O)
- -
- GPIO19 General purpose input/output 19 (I/O/Z)
(5)
SPISTEA SPI-A slave transmit enable input/output (I/O)
SCIRXDB 57 G10 SCI-B receive (not available on 2801, 2802) (I)
- -
- -
(1)
(5) The pullups on GPIO12-GPIO34 are enabled upon reset.
Introduction 24 Submit Documentation Feedback
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Table 2-3. Signal Descriptions (continued)
PIN NO.
NAME DESCRIPTION
PIN #
GPIO20 General purpose input/output 20 (I/O/Z)
EQEP1A Enhanced QEP1 input A (I)
SPISIMOC SPI-C slave in, master out (not available on 2801, 2802) (I/O)
PZ
63 F6
GGM/
ZGM
BALL #
(5)
CANTXB Enhanced CAN-B transmit (not available on 2801, 2802, F2806) (O)
GPIO21 General purpose input/output 21 (I/O/Z)
EQEP1B Enhanced QEP1 input A (I)
SPISOMIC SPI-C master in, slave out (not available on 2801, 2802) (I/O)
67 E7
(5)
CANRXB Enhanced CAN-B receive (not available on 2801, 2802, F2806) (I)
GPIO22 General purpose input/output 22 (I/O/Z)
EQEP1S Enhanced QEP1 strobe (I/O)
SPICLKC SPI-C clock (not available on 2801, 2802) (I/O)
71 D8
(5)
SCITXDB SCI-B transmit (not available on 2801, 2802) (O)
GPIO23 General purpose input/output 23 (I/O/Z)
EQEP1I Enhanced QEP1 index (I/O)
SPISTEC SPI-C slave transmit enable (not available on 2801, 2802) (I/O)
72 C10
(5)
SCIRXDB SCI-B receive (I) (not available on 2801, 2802)
GPIO24 General purpose input/output 24 (I/O/Z)
ECAP1 Enhanced capture 1 (I/O)
EQEP2A Enhanced QEP2 input A (I) (not available on 2801, 2802)
83 C7
(5)
SPISIMOB SPI-B slave in, master out (I/O)
GPIO25 General purpose input/output 25 (I/O/Z)
ECAP2 Enhanced capture 2 (I/O)
EQEP2B Enhanced QEP2 input B (I) (not available on 2801, 2802)
91 C5
(5)
SPISOMIB SPI-B master in, slave out (I/O)
GPIO26 General purpose input/output 26 (I/O/Z)
ECAP3 Enhanced capture 3 (I/O) (not available on 2801, 2802)
EQEP2I Enhanced QEP2 index (I/O) (not available on 2801, 2802)
99 A2
(5)
SPICLKB SPI-B clock (I/O)
GPIO27 General purpose input/output 27 (I/O/Z)
ECAP4 Enhanced capture 4 (I/O) (not available on 2801, 2802)
EQEP2S Enhanced QEP2 strobe (I/O) (not available on 2801, 2802)
79 C8
(5)
SPISTEB SPI-B slave transmit enable (I/O)
GPIO28 General purpose input/output 28. This pin has an 8-mA (typical) output buffer. (I/O/Z)
SCIRXDA SCI receive data (I)
- -
92 D5
TZ5 Trip zone input 5 (I)
GPIO29 General purpose input/output 29. This pin has an 8-mA (typical) output buffer. (I/O/Z)
SCITXDA SCI transmit data (O)
- -
4 C3
TZ6 Trip zone 6 input (I)
GPIO30 General purpose input/output 30. This pin has an 8-mA (typical) output buffer. (I/O/Z)
CANRXA Enhanced CAN-A receive data (I)
- -
6 D2
- GPIO31 General purpose input/output 31. This pin has an 8-mA (typical) output buffer. (I/O/Z)
CANTXA Enhanced CAN-A transmit data (O)
- -
7 D1
- GPIO32 General purpose input/output 32 (I/O/Z)
SDAA I2C data open-drain bidirectional port (I/OD)
EPWMSYNCI Enhanced PWM external sync pulse input (I)
100 A1
(5)
ADCSOCAO ADC start-of-conversion (O)
(1)
(5)
(5)
(5)
(5)
Submit Documentation Feedback Introduction 25
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
Table 2-3. Signal Descriptions (continued)
PIN NO.
NAME DESCRIPTION
PIN #
GPIO33 General-Purpose Input/Output 33 (I/O/Z)
SCLA I2C clock open-drain bidirectional port (I/OD)
EPWMSYNCO Enhanced PWM external synch pulse output (O)
ADCSOCBO ADC start-of-conversion (O)
GPIO34 General-Purpose Input/Output 34 (I/O/Z)
- -
- -
- -
(1) The pullups on GPIO12-GPIO34 are enabled upon reset.
GGM/
PZ
43 G7
ZGM
BALL #
5 C1
NOTE
Some peripheral functions may not be available in TMS320F2801x devices. See
Table 2-2 for details.
(1)
(1)
(1)
26 Introduction Submit Documentation Feedback
3 Functional Overview
INT[12:1]
Real-TimeJTAG
(TDI,TDO,TRST
,TCK,
TMS,EMU0,EMU1)
C28xCPU
(100MHz)
NMI,INT13
MemoryBus
BootROM
4K 16
(1-waitstate)
FLASH
128Kx16(F2809)
64Kx16(F2808)
32Kx16(F2806)
32Kx16(F2802)
16Kx16(F2801)
16Kx16(F2801x)
H0SARAM
(C)
8K 16
(0-wait)
L1SARAM
(B)
4K 16
(0-wait)
L0SARAM
4K 16
(0-wait)
M0SARAM
1K 16
M1SARAM
1K 16
INT14
32-bitCPUTIMER0
32-bitCPUTIMER1
32-bitCPUTIMER2
SYSCLKOUT
RS
CLKIN
12-BitADC
ADCSOCA/B
SOCA/B
16Channels
12
6
32
XCLKOUT
XRS
XCLKIN
X1
X2
32
SystemControl
(Oscillator,PLL,
PeripheralClocking,
LowPowerModes,
WatchDog)
ePWM1/2/3/4/5/6
(12PWMoutputs,
6tripzones,
6timers16-bit)
eCAP1/2/3/4
(4timers32-bit)
eQEP1/2
eCAN-A/B(32mbox)
ExternalInterrupt
Control
PIE
(96Interrupts)
(A)
FIFO
FIFO
FIFO
SCI-A/B
SPI-A/B/C/D
I2C-A
4
8
4
2
16
4
GPIOMUX
GPIOs
(35)
TINT0
TINT1
TINT2
7
OTP
(D)
1K 16
PeripheralBus
Protected bythecode-securitymodule.
ROM
32K x16(C2802)
16Kx16(C2801)
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
A. 43 of the possible 96 interrupts are used on the devices.
B. Not available in F2802, F2801, C2802, and C2801.
C. Not available in F2806, F2802, F2801, C2802, and C2801.
D. The 1K x 16 OTP has been replaced with 1K x 16 ROM for C280x devices.
Submit Documentation Feedback Functional Overview 27
Figure 3-1. Functional Block Diagram
0x00 0000
Block Start
Address
Data Space
Prog Space
M0 SARAM (1 K y 16)
M1 SARAM (1 K y 16)
0x00 0400
Peripheral Frame 0
0x00 0800
0x00 0D00
Peripheral Frame 1
(protected)
0x00 6000
Peripheral Frame 2
(protected)
0x00 7000
L0 SARAM (0-wait)
(4 k y 16, Secure Zone, Dual Mapped)
0x00 8000
L1 SARAM (0-wait)
(4 k y 16, Secure Zone, Dual Mapped)
0x00 9000
H0 SARAM (0-wait)
(8 k y 16, Dual Mapped)
0x00 A000
0x00 C000
OTP
(1 k y 16, Secure Zone)
0x3D 7800
0x3D 7C00
FLASH
(128 k y 16, Secure Zone)
0x3D 8000
0x3F 7FF8
128-bit Password
L0 SARAM (0-wait)
(4 k y 16, Secure Zone, Dual Mapped)
0x3F 8000
L1 SARAM (0-wait)
(4 k y 16, Secure Zone, Dual Mapped)
0x3F 9000
H0 SARAM (0-wait)
(8 k y 16, Dual Mapped)
0x3F A000
0x3F F000
Boot ROM (4 k y 16)
Vectors (32 y 32)
(enabled if VMAP = 1, ENPIE = 0)
0x3F FFC0
Low 64K [0000 − FFFF]
(24x/240x equivalent data space)
High 64K [3F0000 − 3FFFFF]
(24x/240x equivalent program space)
PIE Vector − RAM
(256 x 16)
(Enabled if ENPIE = 1)
0x00 0E00
0x3F C000
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
3.1 Memory Maps
A. Memory blocks are not to scale.
B. Peripheral Frame 0, Peripheral Frame 1, and Peripheral Frame 2 memory maps are restricted to data memory only.
User program cannot access these memory maps in program space.
C. Protected means the order of Write followed by Read operations is preserved rather than the pipeline order.
D. Certain memory ranges are EALLOW protected against spurious writes after configuration.
Functional Overview28 Submit Documentation Feedback
Figure 3-2. F2809 Memory Map
0x00 0000
Block Start
Address
Data Space
Prog Space
M0 SARAM (1 K y 16)
M1 SARAM (1 K y 16)
0x00 0400
Peripheral Frame 0
0x00 0800
0x00 0D00
Peripheral Frame 1
(protected)
0x00 6000
Peripheral Frame 2
(protected)
0x00 7000
L0 SARAM (0-wait)
(4 k y 16, Secure Zone, Dual Mapped)
0x00 8000
L1 SARAM (0-wait)
(4 k y 16, Secure Zone, Dual Mapped)
0x00 9000
H0 SARAM (0-wait)
(8 k y 16, Dual Mapped)
0x00 A000
0x00 C000
OTP
(1 k y 16, Secure Zone)
0x3D 7800
0x3D 7C00
FLASH
(64 k y 16, Secure Zone)
0x3E 8000
0x3F 7FF8
128-bit Password
L0 SARAM (0-wait)
(4 k y 16, Secure Zone, Dual Mapped)
0x3F 8000
L1 SARAM (0-wait)
(4 k y 16, Secure Zone, Dual Mapped)
0x3F 9000
H0 SARAM (0-wait)
(8 k y 16, Dual Mapped)
0x3F A000
0x3F F000
Boot ROM (4 k y 16)
Vectors (32 y 32)
(enabled if VMAP = 1, ENPIE = 0)
0x3F FFC0
Low 64K [0000 − FFFF]
(24x/240x equivalent data space)
High 64K [3F0000 − 3FFFFF]
(24x/240x equivalent program space)
PIE Vector − RAM
(256 x 16)
(Enabled if ENPIE = 1)
0x00 0E00
0x3F C000
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
A. Memory blocks are not to scale.
B. Peripheral Frame 0, Peripheral Frame 1, and Peripheral Frame 2 memory maps are restricted to data memory only.
User program cannot access these memory maps in program space.
C. Protected means the order of Write followed by Read operations is preserved rather than the pipeline order.
D. Certain memory ranges are EALLOW protected against spurious writes after configuration.
Submit Documentation Feedback Functional Overview 29
Figure 3-3. F2808 Memory Map
0x00 0000
Block Start
Address
Data Space
M0 SARAM (1K y 16)
0x00 0400
0x00 0800
0x00 0D00
0x00 6000
0x00 7000
0x00 8000
0x00 9000
0x00 A000
0x3D 7800
0x3D 7C00
0x3F 7FF8
0x3F 8000
0x3F 9000
0x3F A000
0x3F F000
0x3F FFC0
OTP
(1 K y 16, Secure Zone)
FLASH
(32 K y 16, Secure Zone)
Boot ROM (4 K y 16)
Low 64K [0000−FFFF]
(24x/240x equivalent data space)
High 64K [3F0000 −3FFFF]
(24x/240x equivalent program space)
Reserved
M1 SARAM (1K y 16)
L0 SARAM (0-wait)
(4k y 16, Secure Zone, Dual Mapped)
L1 SARAM (0-wait)
(4k y 16, Secure Zone, Dual Mapped)
L0 SARAM (0-wait) (4k y 16,
Secure Zone, Dual Mapped)
L1 SARAM (0-wait) (4k y 16,
Secure Zone, Dual Mapped)
128-bit Password
0x3F 0000
Prog Space
Peripheral Frame 1
(protected)
Peripheral Frame 2
(protected)
PIE Vector − RAM
(256 x 16)
(Enabled if ENPIE = 1)
Vectors (32 y 32)
(enabled if VMAP = 1, ENPIE = 0)
0x00 0E00
TMS320F2809, TMS320F2808, TMS320F2806
TMS320F2802, TMS320F2801
TMS320C2802, TMS320C2801, and TMS320F2801x DSPs
SPRS230J – OCTOBER 2003 – REVISED SEPTEMBER 2007
A. Memory blocks are not to scale.
B. Peripheral Frame 0, Peripheral Frame 1, and Peripheral Frame 2 memory maps are restricted to data memory only.
C. Protected means the order of Write followed by Read operations is preserved rather than the pipeline order.
D. Certain memory ranges are EALLOW protected against spurious writes after configuration.
Functional Overview30 Submit Documentation Feedback
User program cannot access these memory maps in program space.
Figure 3-4. F2806 Memory Map