Sprs 523 K
Sprs 523 K
Sprs 523 K
1.1
1
Features
High-Efficiency 32-Bit CPU (TMS320C28x) Three 32-Bit CPU Timers
60 MHz (16.67-ns Cycle Time) Independent 16-Bit Timer in Each Enhanced Pulse
50 MHz (20-ns Cycle Time) Width Modulator (ePWM)
40 MHz (25-ns Cycle Time) On-Chip Memory
16 16 and 32 32 MAC Operations Flash, SARAM, OTP, Boot ROM Available
16 16 Dual MAC Code-Security Module
Harvard Bus Architecture 128-Bit Security Key and Lock
Atomic Operations Protects Secure Memory Blocks
Fast Interrupt Response and Processing Prevents Firmware Reverse Engineering
Unified Memory Programming Model Serial Port Peripherals
Code-Efficient (in C/C++ and Assembly) One Serial Communications Interface (SCI)
Endianness: Little Endian Universal Asynchronous Receiver/Transmitter
(UART) Module
Low Cost for Both Device and System:
One Serial Peripheral Interface (SPI) Module
Single 3.3-V Supply
One Inter-Integrated-Circuit (I2C) Module
No Power Sequencing Requirement
Enhanced Control Peripherals
Integrated Power-on and Brown-out Resets
ePWM
Small Packaging, as Low as 38-Pin Available
High-Resolution PWM (HRPWM)
Low Power
Enhanced Capture (eCAP) Module
No Analog Support Pins
Analog-to-Digital Converter (ADC)
Clocking:
On-Chip Temperature Sensor
Two Internal Zero-Pin Oscillators
Comparator
On-Chip Crystal Oscillator and External Clock
Input Advanced Emulation Features
Watchdog Timer Module Analysis and Breakpoint Functions
Missing Clock Detection Circuitry Real-Time Debug Through Hardware
Up to 22 Individually Programmable, Multiplexed 2802x, 2802xx Packages
GPIO Pins With Input Filtering 38-Pin DA Thin Shrink Small-Outline Package
Peripheral Interrupt Expansion (PIE) Block That (TSSOP)
Supports All Peripheral Interrupts 48-Pin PT Low-Profile Quad Flatpack (LQFP)
1.2 Applications
White Goods LED Lighting
Switch Mode Power Supplies (SMPSs) Power Factor Correction
DC-DC Multiple-Output Power Supplies Sewing and Textile Machines
Solar Micro Inverters and Converters eBikes
An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications,
intellectual property matters and other important disclaimers. PRODUCTION DATA.
TMS320F28027, TMS320F28026, TMS320F28023, TMS320F28022
TMS320F28021, TMS320F28020, TMS320F280200
1.3 Description
The F2802x Piccolo family of microcontrollers provides the power of the C28x core coupled with highly
integrated control peripherals in low pin-count devices. This family is code-compatible with previous C28x-
based code, and also provides a high level of analog integration.
An internal voltage regulator allows for single-rail operation. Enhancements have been made to the
HRPWM to allow for dual-edge control (frequency modulation). Analog comparators with internal 10-bit
references have been added and can be routed directly to control the PWM outputs. The ADC converts
from 0 to 3.3-V fixed full-scale range and supports ratio-metric VREFHI/VREFLO references. The ADC
interface has been optimized for low overhead and latency.
Memory Bus
OTP 1K 16
Secure
M0
SARAM 1K 16
(0-wait)
M1 SARAM
SARAM 1K 16 1K/3K/4K 16 Code FLASH
(0-wait) (0-wait) Security 8K/16K/32K 16
Secure Module Secure
Boot-ROM
8K 16
(0-wait)
OTP/Flash
PSWD Wrapper
Memory Bus
TRST
TCK
COMP1OUT
GPIO TDI
32-Bit Peripheral Bus
OSC1, XCLKIN
CPU Timer 0
OSC2, X1
AIO Ext, X2
CPU Timer 1
MUX PLL, LPM Wakeup
LPM, XRS
CPU Timer 2 WD
ADC
A7:0
Memory Bus
POR/
VREG
B7:0 BOR
SPISOMIx
EPWMxA
EPWMxB
SCIRXDx
SPICLKx
SCITXDx
SPISTEx
ECA Px
SDAx
SCLx
TZx
From
COMP1OUT,
COMP2OUT
GPIO MUX
Table of Contents
1 Device Overview ......................................... 1 6 Detailed Description ................................... 37
1.1 Features .............................................. 1 6.1 Overview ............................................ 37
1.2 Applications ........................................... 1 6.2 Memory Maps ...................................... 45
1.3 Description ............................................ 2 6.3 Register Maps ....................................... 53
1.4 Functional Block Diagram ........................... 3 6.4 Device Emulation Registers ......................... 54
2 Revision History ......................................... 5 6.5 VREG/BOR/POR .................................... 55
3 Device Comparison ..................................... 6 6.6 System Control ...................................... 57
3.1 Related Products ..................................... 8 6.7 Low-power Modes Block ............................ 65
4 Terminal Configuration and Functions .............. 9 6.8 Interrupts ............................................ 66
4.1 Pin Diagrams ......................................... 9 6.9 Peripherals .......................................... 71
4.2 Signal Descriptions .................................. 11 7 Applications, Implementation, and Layout ...... 123
5 Specifications ........................................... 16 7.1 TI Design or Reference Design .................... 123
5.1 Absolute Maximum Ratings ........................ 16 8 Device and Documentation Support .............. 124
5.2 ESD Ratings ........................................ 16 8.1 Getting Started ..................................... 124
5.3 Recommended Operating Conditions ............... 17 8.2 Device and Development Support Tool
5.4 Power Consumption Summary ...................... 18 Nomenclature ...................................... 124
5.5 Electrical Characteristics ............................ 23 8.3 Tools and Software ................................ 125
5.6 Thermal Resistance Characteristics ................ 24 8.4 Documentation Support ............................ 127
5.7 Thermal Design Considerations .................... 25 8.5 Related Links ...................................... 128
5.8 Emulator Connection Without Signal Buffering for 8.6 Community Resources............................. 129
the MCU ............................................. 25 8.7 Trademarks ........................................ 129
5.9 Parameter Information .............................. 26 8.8 Electrostatic Discharge Caution ................... 129
5.10 Test Load Circuit ................................... 26 8.9 Glossary............................................ 129
5.11 Power Sequencing .................................. 27 9 Mechanical Packaging and Orderable
5.12 Clock Specifications ................................. 30 Information ............................................. 130
5.13 Flash Timing ........................................ 34 9.1 Packaging Information ............................. 130
2 Revision History
Changes from October 8, 2013 to June 27, 2016 (from J Revision (October 2013) to K Revision) Page
3 Device Comparison
Table 3-1 lists the features of the TMS320F2802x devices.
28027 28026
28023 28022 28021 28020 280200
FEATURE TYPE (1) 28027F (2) 28026F (2)
(50 MHz) (50 MHz) (40 MHz) (40 MHz) (40 MHz)
(60 MHz) (60 MHz)
38-Pin DA 48-Pin PT 38-Pin DA 48-Pin PT 38-Pin DA 48-Pin PT 38-Pin DA 48-Pin PT 38-Pin DA 48-Pin PT 38-Pin DA 48-Pin PT 38-Pin DA 48-Pin PT
Package Type
TSSOP LQFP TSSOP LQFP TSSOP LQFP TSSOP LQFP TSSOP LQFP TSSOP LQFP TSSOP LQFP
Instruction cycle 16.67 ns 16.67 ns 20 ns 20 ns 25 ns 25 ns 25 ns
On-chip flash (16-bit word) 32K 16K 32K 16K 32K 16K 8K
On-chip SARAM (16-bit word) 6K 6K 6K 6K 5K 3K 3K
Code security for on-chip
Yes Yes Yes Yes Yes Yes Yes
flash/SARAM/OTP blocks
Boot ROM (8K x 16) Yes Yes Yes Yes Yes Yes Yes
One-time programmable (OTP) ROM (16-
1K 1K 1K 1K 1K 1K 1K
bit word)
ePWM channels 1 8 (ePWM1/2/3/4) 8 (ePWM1/2/3/4) 8 (ePWM1/2/3/4) 8 (ePWM1/2/3/4) 8 (ePWM1/2/3/4) 8 (ePWM1/2/3/4) 8 (ePWM1/2/3/4)
eCAP inputs 0 1 1 1 1 1 1
Watchdog timer Yes Yes Yes Yes Yes Yes Yes
MSPS 4.6 4.6 3 3 2 2 2
Conversion Time 216.67 ns 216.67 ns 260 ns 260 ns 500 ns 500 ns 500 ns
12-Bit ADC Channels 3 7 13 7 13 7 13 7 13 7 13 7 13 7 13
Temperature Sensor Yes Yes Yes Yes Yes Yes Yes
Dual Sample-and-Hold Yes Yes Yes Yes Yes Yes Yes
32-Bit CPU timers 3 3 3 3 3 3 3
High-resolution ePWM Channels 1 4 (ePWM1A/2A/3A/4A) 4 (ePWM1A/2A/3A/4A) 4 (ePWM1A/2A/3A/4A) 4 (ePWM1A/2A/3A/4A)
Comparators w/ Integrated DACs 0 1 2 1 2 1 2 1 2 1 2 1 2 1 2
Inter-integrated circuit (I2C) 0 1 1 1 1 1 1 1
Serial Peripheral Interface (SPI) 1 1 1 1 1 1 1 1
Serial Communications Interface (SCI) 0 1 1 1 1 1 1 1
Digital (GPIO) 20 22 20 22 20 22 20 22 20 22 20 22 20 22
I/O pins (shared)
Analog (AIO) 6 6 6 6 6 6 6
External interrupts 3 3 3 3 3 3 3
Supply voltage (nominal) 3.3 V 3.3 V 3.3 V 3.3 V 3.3 V 3.3 V 3.3 V
(1) A type change represents a major functional feature difference in a peripheral module. Within a peripheral type, there may be minor differences between devices that do not affect the
basic functionality of the module. These device-specific differences are listed in the C2000 Real-Time Control Peripherals Reference Guide and in the peripheral reference guides.
(2) TMS320F28027F and TMS320F28026F are InstaSPIN-FOC-enabled MCUs. For more information, see Section 8.4 for a list of InstaSPIN Technical Reference Manuals.
GPIO19/XCLKIN/SPISTEA/SCIRXDA/ECAP1
GPIO33/SCLA/EPWMSYNCO/ADCSOCBO
GPIO32/SDAA/EPWMSYNCI/ADCSOCAO
GPIO1/EPWM1B/COMP1OUT
GPIO16/SPISIMOA/TZ2
GPIO17/SPISOMIA/TZ3
GPIO0/EPWM1A
VREGENZ
TEST
VDDIO
VDD
VSS
36
35
34
33
32
31
30
29
28
27
26
25
GPIO2/EPWM2A 37 24 GPIO18/SPICLKA/SCITXDA/XCLKOUT
GPIO3/EPWM2B/COMP2OUT 38 23 GPIO38/XCLKIN (TCK)
GPIO4/EPWM3A 39 22 GPIO37 (TDO)
GPIO5/EPWM3B/ECAP1 40 21 GPIO36 (TMS)
GPIO6/EPWM4A/EPWMSYNCI/EPWMSYNCO 41 20 GPIO35 (TDI)
GPIO7/EPWM4B/SCIRXDA 42 19 GPIO34/COMP2OUT
VDD 43 18 ADCINB7
VSS 44 17 ADCINB6/AIO14
X1 45 16 ADCINB4/COMP2B/AIO12
X2 46 15 ADCINB3
GPIO12/TZ1/SCITXDA 47 14 ADCINB2/COMP1B/AIO10
GPIO28/SCIRXDA/SDAA/TZ2 48 13 ADCINB1
10
12
11
1
2
3
4
5
6
7
8
9
GPIO29/SCITXDA/SCLA/TZ3
TRST
XRS
ADCINA6/AIO6
ADCINA4/COMP2A/AIO4
ADCINA7
ADCINA3
ADCINA1
ADCINA2/COMP1A/AIO2
ADCINA0/VREFHI
VDDA
VSSA/VREFLO
VDD 1 38 TEST
VSS 2 37 GPIO0/EPWM1A
VREGENZ 3 36 GPIO1/EPWM1B/COMP1OUT
VDDIO 4 35 GPIO16/SPISIMOA/TZ2
GPIO2/EPWM2A 5 34 GPIO17/SPISOMIA/TZ3
GPIO3/EPWM2B 6 33 GPIO19/XCLKIN/SPISTEA/SCIRXDA/ECAP1
GPIO4/EPWM3A 7 32 GPIO18/SPICLKA/SCITXDA/XCLKOUT
GPIO5/EPWM3B/ECAP1 8 31 GPIO38/XCLKIN (TCK)
GPIO6/EPWM4A/EPWMSYNCI/EPWMSYNCO 9 30 GPIO37 (TDO)
GPIO7/EPWM4B/SCIRXDA 10 29 GPIO36 (TMS)
VDD 11 28 GPIO35 (TDI)
VSS 12 27 GPIO34
GPIO12/TZ1/SCITXDA 13 26 ADCINB6/AIO14
GPIO28/SCIRXDA/SDAA/TZ2 14 25 ADCINB4/AIO12
GPIO29/SCITXDA/SCLA/TZ3 15 24 ADCINB2/COMP1B/AIO10
TRST 16 23 VSSA/VREFLO
XRS 17 22 VDDA
ADCINA6/AIO6 18 21 ADCINA0/VREFHI
ADCINA4/AIO4 19 20 ADCINA2/COMP1A/AIO2
(2) The GPIO function (shown in bold italics) is the default at reset. The peripheral signals that are listed under them are alternate functions.
For JTAG pins that have the GPIO functionality multiplexed, the input path to the GPIO block is always valid. The output path from the
GPIO block and the path to the JTAG block from a pin is enabled/disabled based on the condition of the TRST signal. See the
TMS320x2802x/TMS320F2802xx Piccolo System Control and Interrupts Reference Guide for details.
Copyright 20082016, Texas Instruments Incorporated Terminal Configuration and Functions 13
Submit Documentation Feedback
Product Folder Links: TMS320F28027 TMS320F28026 TMS320F28023 TMS320F28022 TMS320F28021
TMS320F28020 TMS320F280200
TMS320F28027, TMS320F28026, TMS320F28023, TMS320F28022
TMS320F28021, TMS320F28020, TMS320F280200
5 Specifications
(1) For the TMS320F280200 device, subtract the IDD current number for eCAP (see Table 5-4) from IDD (VREG disabled)/IDDIO (VREG
enabled) current numbers shown in Table 5-1 for operational mode.
(2) IDDIO current is dependent on the electrical loading on the I/O pins.
(3) In order to realize the IDDA currents shown for IDLE, STANDBY, and HALT, clock to the ADC module must be turned off explicitly by
writing to the PCLKCR0 register.
(4) The TYP numbers are applicable over room temperature and nominal voltage.
(5) The following is done in a loop:
Data is continuously transmitted out of SPI-A and SCI-A ports.
The hardware multiplier is exercised.
Watchdog is reset.
ADC is performing continuous conversion.
COMP1/2 are continuously switching voltages.
GPIO17 is toggled.
(6) If a quartz crystal or ceramic resonator is used as the clock source, the HALT mode shuts down the on-chip crystal oscillator.
(1) IDDIO current is dependent on the electrical loading on the I/O pins.
(2) In order to realize the IDDA currents shown for IDLE, STANDBY, and HALT, clock to the ADC module must be turned off explicitly by
writing to the PCLKCR0 register.
(3) The TYP numbers are applicable over room temperature and nominal voltage.
(4) The following is done in a loop:
Data is continuously transmitted out of SPI-A and SCI-A ports.
The hardware multiplier is exercised.
Watchdog is reset.
ADC is performing continuous conversion.
COMP1/2 are continuously switching voltages.
GPIO17 is toggled.
(5) If a quartz crystal or ceramic resonator is used as the clock source, the HALT mode shuts down the on-chip crystal oscillator.
(1) IDDIO current is dependent on the electrical loading on the I/O pins.
(2) In order to realize the IDDA currents shown for IDLE, STANDBY, and HALT, clock to the ADC module must be turned off explicitly by
writing to the PCLKCR0 register.
(3) The TYP numbers are applicable over room temperature and nominal voltage.
(4) The following is done in a loop:
Data is continuously transmitted out of SPI-A and SCI-A ports.
The hardware multiplier is exercised.
Watchdog is reset.
ADC is performing continuous conversion.
COMP1/2 are continuously switching voltages.
GPIO17 is toggled.
(5) If a quartz crystal or ceramic resonator is used as the clock source, the HALT mode shuts down the on-chip crystal oscillator.
NOTE
The peripheral - I/O multiplexing implemented in the device prevents all available peripherals
from being used at the same time. This is because more than one peripheral function may
share an I/O pin. It is, however, possible to turn on the clocks to all the peripherals at the
same time, although such a configuration is not useful. If this is done, the current drawn by
the device will be more than the numbers specified in the current consumption tables.
NOTE
IDDIO current consumption is reduced by 15 mA (typical) when XCLKOUT is turned off.
NOTE
The baseline IDD current (current when the core is executing a dummy loop with no
peripherals enabled) is 45 mA, typical. To arrive at the IDD current for a given application, the
current-drawn by the peripherals (enabled by that application) must be added to the baseline
IDD current.
100
90
Operational Current (mA)
80
70
60
50
40
30
20
10
0
10 15 20 25 30 35 40 45 50 55 60
SYSCLKOUT (MHz)
IDDIO (m A) IDDA
450
Operational Power (mW)
400
350
300
250
200
10 15 20 25 30 35 40 45 50 55 60
SYSCLKOUT (MHz)
5.6.1 PT Package
C/W (1) AIR FLOW (lfm) (2)
RJC Junction-to-case thermal resistance 13.6 N/A
RJB Junction-to-board thermal resistance 30.6 N/A
64 0
RJA 50.4 150
Junction-to-free air thermal resistance
(High k PCB) 48.2 250
45 500
0.56 0
0.94 150
PsiJT Junction-to-package top
1.1 250
1.38 500
30.1 0
28.7 150
PsiJB Junction-to-board
28.4 250
28 500
(1) These values are based on a JEDEC defined 2S2P system (with the exception of the Theta JC [RJC] value, which is based on a
JEDEC defined 1S0P system) and will change based on environment as well as application. For more information, see these
EIA/JEDEC standards:
JESD51-2, Integrated Circuits Thermal Test Method Environmental Conditions - Natural Convection (Still Air)
JESD51-3, Low Effective Thermal Conductivity Test Board for Leaded Surface Mount Packages
JESD51-7, High Effective Thermal Conductivity Test Board for Leaded Surface Mount Packages
JESD51-9, Test Boards for Area Array Surface Mount Package Thermal Measurements
(2) lfm = linear feet per minute
5.6.2 DA Package
C/W (1) AIR FLOW (lfm) (2)
RJC Junction-to-case thermal resistance 12.8 N/A
RJB Junction-to-board thermal resistance 33 N/A
70.1 0
RJA 56.4 150
Junction-to-free air thermal resistance
(High k PCB) 53.9 250
50.2 500
0.34 0
0.61 150
PsiJT Junction-to-package top
0.74 250
0.98 500
32.5 0
32.1 150
PsiJB Junction-to-board
31.7 250
31.1 500
(1) These values are based on a JEDEC defined 2S2P system (with the exception of the Theta JC [RJC] value, which is based on a
JEDEC defined 1S0P system) and will change based on environment as well as application. For more information, see these
EIA/JEDEC standards:
JESD51-2, Integrated Circuits Thermal Test Method Environmental Conditions - Natural Convection (Still Air)
JESD51-3, Low Effective Thermal Conductivity Test Board for Leaded Surface Mount Packages
JESD51-7, High Effective Thermal Conductivity Test Board for Leaded Surface Mount Packages
JESD51-9, Test Boards for Area Array Surface Mount Package Thermal Measurements
(2) lfm = linear feet per minute
6 inches or less
VDDIO VDDIO
13 5
EMU0 PD
14
EMU1
2 4
TRST TRST GND
1 6
TMS TMS GND
3 8
TDI TDI GND
7 10
TDO TDO GND
11 12
TCK TCK GND
9
TCK_RET
MCU
JTAG Header
A. See Figure 6-39 for JTAG/GPIO multiplexing.
Figure 5-3. Emulator Connection Without Signal Buffering for the MCU
NOTE
The 2802x devices do not have EMU0/EMU1 pins. For designs that have a JTAG Header
on-board, the EMU0/EMU1 pins on the header must be tied to VDDIO through a 4.7-k
(typical) resistor.
42 W 3.5 nH Output
Transmission Line Under
(A)
Test
Z0 = 50 W
(B)
Device Pin
4.0 pF 1.85 pF
A. Input requirements in this data sheet are tested with an input slew rate of < 4 Volts per nanosecond (4 V/ns) at the
device pin.
B. The data sheet provides timing at the device pin. For output timing analysis, the tester pin electronics and its
transmission line effects must be taken into account. A transmission line with a delay of 2 ns or longer can be used to
produce the desired transmission line effect. The transmission line is intended as a load only. It is not necessary to
add or subtract the transmission line delay (2 ns or longer) from the data sheet timing.
VDDIO, VDDA
(3.3 V)
VDD (1.8 V)
INTOSC1
tINTOSCST
X1/X2
tOSCST (B)
(A)
XCLKOUT
User-code dependent
tw(RSL1)
(D)
XRS
Address/data valid, internal boot-ROM code execution phase
Address/Data/
Control
(Internal)
td(EX) User-code execution phase
th(boot-mode)(C) User-code dependent
Boot-Mode
GPIO pins as input
Pins
Peripheral/GPIO function
Boot-ROM execution starts
Based on boot code
(E)
User-code dependent
A. Upon power up, SYSCLKOUT is OSCCLK/4. Since the XCLKOUTDIV bits in the XCLK register come up with a reset
state of 0, SYSCLKOUT is further divided by 4 before it appears at XCLKOUT. XCLKOUT = OSCCLK/16 during this
phase.
B. Boot ROM configures the DIVSEL bits for /1 operation. XCLKOUT = OSCCLK/4 during this phase. Note that
XCLKOUT will not be visible at the pin until explicitly configured by user code.
C. After reset, the boot ROM code samples Boot Mode pins. Based on the status of the Boot Mode pin, the boot code
branches to destination memory or boot code function. If boot ROM code executes after power-on conditions (in
debugger environment), the boot code execution time is based on the current SYSCLKOUT speed. The SYSCLKOUT
will be based on user environment and could be with or without PLL enabled.
D. Using the XRS pin is optional due to the on-chip power-on reset (POR) circuitry.
E. The internal pullup/pulldown will take effect when BOR is driven high.
INTOSC1
X1/X2
XCLKOUT
User-Code Dependent
tw(RSL2)
XRS
User-Code Execution Phase
td(EX)
Address/Data/
Control User-Code Execution
(Internal)
I/O Pins User-Code Dependent GPIO Pins as Input (State Depends on Internal PU/PD)
User-Code Dependent
A. After reset, the Boot ROM code samples BOOT Mode pins. Based on the status of the Boot Mode pin, the boot code
branches to destination memory or boot code function. If Boot ROM code executes after power-on conditions (in
debugger environment), the Boot code execution time is based on the current SYSCLKOUT speed. The
SYSCLKOUT will be based on user environment and could be with or without PLL enabled.
Figure 5-7 shows an example for the effect of writing into PLLCR register. In the first phase, PLLCR =
0x0004 and SYSCLKOUT = OSCCLK x 2. The PLLCR is then written with 0x0008. Right after the PLLCR
register is written, the PLL lock-up phase begins. During this phase, SYSCLKOUT = OSCCLK/2. After the
PLL lock-up is complete, SYSCLKOUT reflects the new operating frequency, OSCCLK x 4.
OSCCLK
Write to PLLCR
SYSCLKOUT
(Current CPU (CPU frequency while PLL is stabilizing (Changed CPU frequency)
Frequency) with the desired frequency. This period
(PLL lock-up time tp) is 1 ms long.)
10.6
10.5
10.4
10.3
Output Frequency (MHz)
10.2
10.1
10
9.9
9.8
9.7
9.6
40 30 20 10 0 10 20 30 40 50 60 70 80 90 100 110 120
Table 5-14. XCLKOUT Switching Characteristics (PLL Bypassed or Enabled) (1) (2)
C10
C9
C8
XCLKIN(A)
C3 C6
C1
C4
C5
XCLKOUT(B)
A. The relationship of XCLKIN to XCLKOUT depends on the divide factor chosen. The waveform relationship shown is
intended to illustrate the timing parameters only and may differ based on actual configuration.
B. XCLKOUT configured to reflect SYSCLKOUT.
The equations to compute the Flash page wait-state and random wait-state in Table 5-24 are as follows:
t a( f p )
Flash Page Wait State = - 1 round up to the next highest integer
t c (SCO )
t a(f r)
Flash Random Wait State = - 1 round up to the next highest integer, or 1, whichever is larger
t c(SCO)
The equation to compute the OTP wait-state in Table 5-24 is as follows:
t a(OTP)
OTP Wait State = - 1 round up to the next highest integer, or 1, whichever is larger
t c(SCO)
6 Detailed Description
6.1 Overview
6.1.1 CPU
The 2802x (C28x) family is a member of the TMS320C2000 microcontroller (MCU) platform. The C28x-
based controllers have the same 32-bit fixed-point architecture as existing C28x MCUs. It is a very
efficient C/C++ engine, enabling users to develop not only their system control software in a high-level
language, but also enabling development of math algorithms using C/C++. The device is as efficient at
MCU math tasks as it is at system control tasks that typically are handled by microcontroller devices. This
efficiency removes the need for a second processor in many systems. The 32 x 32-bit MAC 64-bit
processing capabilities enable the controller to handle higher numerical resolution problems efficiently.
Add to this the fast interrupt response with automatic context save of critical registers, resulting in a device
that is capable of servicing many asynchronous events with minimal latency. The device has an 8-level-
deep protected pipeline with pipelined memory accesses. This pipelining enables it to execute at high
speeds without resorting to expensive high-speed memories. Special branch-look-ahead hardware
minimizes the latency for conditional discontinuities. Special store conditional operations further improve
performance.
Highest: Data Writes (Simultaneous data and program writes cannot occur on the
memory bus.)
Program Writes (Simultaneous data and program writes cannot occur on the
memory bus.)
Data Reads
Program Reads (Simultaneous program reads and fetches cannot occur on the
memory bus.)
Lowest: Fetches (Simultaneous program reads and fetches cannot occur on the
memory bus.)
6.1.5 Flash
The F280200 device contains 8K x 16 of embedded flash memory, segregated into two 4K x 16 sectors.
The F28021/23/27 devices contain 32K x 16 of embedded flash memory, segregated into four 8K x 16
sectors. The F28020/22/26 devices contain 16K x 16 of embedded flash memory, segregated into four
4K x 16 sectors. All devices also contain a single 1K x 16 of OTP memory at address range 0x3D 7800
0x3D 7BFF. The user can individually erase, program, and validate a flash sector while leaving other
sectors untouched. However, it is not possible to use one sector of the flash or the OTP to execute flash
algorithms that erase/program other sectors. Special memory pipelining is provided to enable the flash
module to achieve higher performance. The flash/OTP is mapped to both program and data space;
therefore, it can be used to execute code or store data information. Addresses 0x3F 7FF0 0x3F 7FF5
are reserved for data variables and should not contain program code.
NOTE
The Flash and OTP wait-states can be configured by the application. This allows applications
running at slower frequencies to configure the flash to use fewer wait-states.
Flash effective performance can be improved by enabling the flash pipeline mode in the
Flash options register. With this mode enabled, effective performance of linear code
execution will be much faster than the raw performance indicated by the wait-state
configuration alone. The exact performance gain when using the Flash pipeline mode is
application-dependent.
For more information on the Flash options, Flash wait-state, and OTP wait-state registers,
see the TMS320x2802x/TMS320F2802xx Piccolo System Control and Interrupts Reference
Guide.
6.1.7 L0 SARAM
The device contains up to 4K x 16 of single-access RAM. Refer to the device-specific memory map figures
in Section 6.2 to ascertain the exact size for a given device. This block is mapped to both program and
data space.
(1) IEEE Standard 1149.1-1990 Standard Test Access Port and Boundary Scan Architecture
38 Detailed Description Copyright 20082016, Texas Instruments Incorporated
Submit Documentation Feedback
Product Folder Links: TMS320F28027 TMS320F28026 TMS320F28023 TMS320F28022 TMS320F28021
TMS320F28020 TMS320F280200
TMS320F28027, TMS320F28026, TMS320F28023, TMS320F28022
TMS320F28021, TMS320F28020, TMS320F280200
6.1.8.2 GetMode
The default behavior of the GetMode option is to boot to flash. This behavior can be changed to another
boot option by programming two locations in the OTP. If the content of either OTP location is invalid, then
boot to flash is used. One of the following loaders can be specified: SCI, SPI, I2C, or OTP.
6.1.9 Security
The devices support high levels of security to protect the user firmware from being reverse engineered.
The security features a 128-bit password (hardcoded for 16 wait-states), which the user programs into the
flash. One code security module (CSM) is used to protect the flash/OTP and the L0/L1 SARAM blocks.
The security feature prevents unauthorized users from examining the memory contents via the JTAG port,
executing code from external memory or trying to boot-load some undesirable software that would export
the secure memory contents. To enable access to the secure blocks, the user must write the correct 128-
bit KEY value that matches the value stored in the password locations within the Flash.
In addition to the CSM, the emulation code security logic (ECSL) has been implemented to prevent
unauthorized users from stepping through secure code. Any code or data access to flash, user OTP, or L0
memory while the emulator is connected will trip the ECSL and break the emulation connection. To allow
emulation of secure code, while maintaining the CSM protection against secure memory reads, the user
must write the correct value into the lower 64 bits of the KEY register, which matches the value stored in
the lower 64 bits of the password locations within the flash. Note that dummy reads of all 128 bits of the
password in the flash must still be performed. If the lower 64 bits of the password locations are all ones
(unprogrammed), then the KEY value does not need to match.
When initially debugging a device with the password locations in flash programmed (that is, secured), the
CPU will start running and may execute an instruction that performs an access to a protected ECSL area.
If this happens, the ECSL will trip and cause the emulator connection to be cut.
The solution is to use the Wait boot option. This will sit in a loop around a software breakpoint to allow an
emulator to be connected without tripping security. The user can then exit this mode once the emulator is
connected by using one of the emulation boot options as described in the TMS320x2802x Piccolo Boot
ROM Reference Guide. Piccolo devices do not support a hardware wait-in-reset mode.
NOTE
When the code-security passwords are programmed, all addresses between 0x3F7F80
and 0x3F7FF5 cannot be used as program code or data. These locations must be
programmed to 0x0000.
If the code security feature is not used, addresses 0x3F7F80 through 0x3F7FEF may be
used for code or data. Addresses 0x3F7FF0 0x3F7FF5 are reserved for data and
should not contain program code.
The 128-bit password (at 0x3F 7FF8 0x3F 7FFF) must not be programmed to zeros. Doing
so would permanently lock the device.
Disclaimer
Code Security Module Disclaimer
THE CODE SECURITY MODULE (CSM) INCLUDED ON THIS DEVICE WAS DESIGNED
TO PASSWORD PROTECT THE DATA STORED IN THE ASSOCIATED MEMORY
(EITHER ROM OR FLASH) AND IS WARRANTED BY TEXAS INSTRUMENTS (TI), IN
ACCORDANCE WITH ITS STANDARD TERMS AND CONDITIONS, TO CONFORM TO
TI'S PUBLISHED SPECIFICATIONS FOR THE WARRANTY PERIOD APPLICABLE FOR
THIS DEVICE.
TI DOES NOT, HOWEVER, WARRANT OR REPRESENT THAT THE CSM CANNOT BE
COMPROMISED OR BREACHED OR THAT THE DATA STORED IN THE ASSOCIATED
MEMORY CANNOT BE ACCESSED THROUGH OTHER MEANS. MOREOVER, EXCEPT
AS SET FORTH ABOVE, TI MAKES NO WARRANTIES OR REPRESENTATIONS
CONCERNING THE CSM OR OPERATION OF THIS DEVICE, INCLUDING ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
IN NO EVENT SHALL TI BE LIABLE FOR ANY CONSEQUENTIAL, SPECIAL, INDIRECT,
INCIDENTAL, OR PUNITIVE DAMAGES, HOWEVER CAUSED, ARISING IN ANY WAY
OUT OF YOUR USE OF THE CSM OR THIS DEVICE, WHETHER OR NOT TI HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. EXCLUDED DAMAGES INCLUDE,
BUT ARE NOT LIMITED TO LOSS OF DATA, LOSS OF GOODWILL, LOSS OF USE OR
INTERRUPTION OF BUSINESS OR OTHER ECONOMIC LOSS.
6.1.13 Watchdog
Each device contains two watchdogs: CPU-Watchdog that monitors the core and NMI-Watchdog that is a
missing clock-detect circuit. The user software must regularly reset the CPU-watchdog counter within a
certain time frame; otherwise, the CPU-watchdog generates a reset to the processor. The CPU-watchdog
can be disabled if necessary. The NMI-Watchdog engages only in case of a clock failure and can either
generate an interrupt or a device reset.
Copyright 20082016, Texas Instruments Incorporated Detailed Description 41
Submit Documentation Feedback
Product Folder Links: TMS320F28027 TMS320F28026 TMS320F28023 TMS320F28022 TMS320F28021
TMS320F28020 TMS320F280200
TMS320F28027, TMS320F28026, TMS320F28023, TMS320F28022
TMS320F28021, TMS320F28020, TMS320F280200
IDLE: Place CPU in low-power mode. Peripheral clocks may be turned off selectively and
only those peripherals that need to function during IDLE are left operating. An
enabled interrupt from an active peripheral or the watchdog timer will wake the
processor from IDLE mode.
STANDBY: Turns off clock to CPU and peripherals. This mode leaves the oscillator and PLL
functional. An external interrupt event will wake the processor and the peripherals.
Execution begins on the next valid cycle after detection of the interrupt event
HALT: This mode basically shuts down the device and places it in the lowest possible power
consumption mode. If the internal zero-pin oscillators are used as the clock source,
the HALT mode turns them off, by default. To keep these oscillators from shutting
down, the INTOSCnHALTI bits in CLKCTL register may be used. The zero-pin
oscillators may thus be used to clock the CPU-watchdog in this mode. If the on-chip
crystal oscillator is used as the clock source, it is shut down in this mode. A reset or
an external signal (through a GPIO pin) or the CPU-watchdog can wake the device
from this mode.
The CPU clock (OSCCLK) and WDCLK should be from the same clock source before attempting to put
the device into HALT or STANDBY.
PF0: PIE: PIE Interrupt Enable and Control Registers Plus PIE Vector Table
Flash: Flash Waitstate Registers
Timers: CPU-Timers 0, 1, 2 Registers
CSM: Code Security Module KEY Registers
ADC: ADC Result Registers
PF1: GPIO: GPIO MUX Configuration and Control Registers
ePWM: Enhanced Pulse Width Modulator Module and Registers
eCAP: Enhanced Capture Module and Registers
Comparators: Comparator Modules
PF2: SYS: System Control Registers
SCI: Serial Communications Interface (SCI) Control and RX/TX Registers
SPI: Serial Port Interface (SPI) Control and RX/TX Registers
ADC: ADC Status, Control, and Configuration Registers
I2C: Inter-Integrated Circuit Module and Registers
XINT: External Interrupt Registers
SPI: The SPI is a high-speed, synchronous serial I/O port that allows a serial bit stream
of programmed length (one to sixteen bits) to be shifted into and out of the device
at a programmable bit-transfer rate. Normally, the SPI is used for communications
between the MCU and external peripherals or another processor. Typical
applications include external I/O or peripheral expansion through devices such as
shift registers, display drivers, and ADCs. Multidevice communications are
supported by the master/slave operation of the SPI. The SPI contains a 4-level
receive and transmit FIFO for reducing interrupt servicing overhead.
SCI: The serial communications interface is a two-wire asynchronous serial port,
commonly known as UART. The SCI contains a 4-level receive and transmit FIFO
for reducing interrupt servicing overhead.
I2C: The inter-integrated circuit (I2C) module provides an interface between a MCU
and other devices compliant with Philips Semiconductors Inter-IC bus ( I2C-bus)
specification version 2.1 and connected by way of an I2C-bus. External
components attached to this 2-wire serial bus can transmit/receive up to 8-bit data
to/from the MCU through the I2C module. The I2C contains a 4-level receive and
transmit FIFO for reducing interrupt servicing overhead.
0x00 8000
L0 SARAM (4K x 16)
(0-Wait, Secure Zone + ECSL, Dual Mapped)
0x00 8000
L0 SARAM (4K x 16)
(0-Wait, Secure Zone + ECSL, Dual Mapped)
0x00 8000
L0 SARAM (3K x 16)
(0-Wait, Secure Zone + ECSL, Dual Mapped)
0x00 8000
L0 SARAM (1K x 16)
(0-Wait, Secure Zone + ECSL, Dual Mapped)
0x00 8000
L0 SARAM (1K x 16)
(0-Wait, Secure Zone + ECSL, Dual Mapped)
NOTE
When the code-security passwords are programmed, all addresses between 0x3F 7F80
and 0x3F 7FF5 cannot be used as program code or data. These locations must be
programmed to 0x0000.
If the code security feature is not used, addresses 0x3F 7F80 through 0x3F 7FEF may
be used for code or data. Addresses 0x3F 7FF0 0x3F 7FF5 are reserved for data and
should not contain program code.
Table 6-6 shows how to handle these memory locations.
Peripheral Frame 1 and Peripheral Frame 2 are grouped together to enable these blocks to be write/read
peripheral block protected. The protected mode makes sure that all accesses to these blocks happen as
written. Because of the pipeline, a write immediately followed by a read to different memory locations, will
appear in reverse order on the memory bus of the CPU. This can cause problems in certain peripheral
applications where the user expected the write to occur first (as written). The CPU supports a block
protection mode where a region of memory can be protected so that operations occur as written (the
penalty is extra cycles are added to align the operations). This mode is programmable and by default, it
protects the selected zones.
The wait-states for the various spaces in the memory map area are listed in Table 6-7.
Peripheral Frame 0: These are peripherals that are mapped directly to the CPU memory bus.
See Table 6-8.
Peripheral Frame 1: These are peripherals that are mapped to the 32-bit peripheral bus. See
Table 6-9.
Peripheral Frame 2: These are peripherals that are mapped to the 16-bit peripheral bus. See
Table 6-10.
6.5 VREG/BOR/POR
Although the core and I/O circuitry operate on two different voltages, these devices have an on-chip
voltage regulator (VREG) to generate the VDD voltage from the VDDIO supply. This eliminates the cost and
space of a second external regulator on an application board. Additionally, internal power-on reset (POR)
and brown-out reset (BOR) circuits monitor both the VDD and VDDIO rails during power-up and run mode.
6.5.2 On-chip Power-On Reset (POR) and Brown-Out Reset (BOR) Circuit
Two on-chip supervisory circuits, the power-on reset (POR) and the brown-out reset (BOR) remove the
burden of monitoring the VDD and VDDIO supply rails from the application board. The purpose of the POR is
to create a clean reset throughout the device during the entire power-up procedure. The trip point is a
looser, lower trip point than the BOR, which watches for dips in the VDD or VDDIO rail during device
operation. The POR function is present on both VDD and VDDIO rails at all times. After initial device power-
up, the BOR function is present on VDDIO at all times, and on VDD when the internal VREG is enabled
(VREGENZ pin is tied low). Both functions tie the XRS pin low when one of the voltages is below their
respective trip point. Additionally, when the internal voltage regulator is enabled, an over-voltage
protection circuit will tie XRS low if the VDD rail rises above its trip point. See Section 5 for the various trip
points as well as the delay time for the device to release the XRS pin after the under/over-voltage
condition is removed. Figure 6-6 shows the VREG, POR, and BOR. To disable both the VDD and VDDIO
BOR functions, a bit is provided in the BORCFG register. Refer to the TMS320x2802x/TMS320F2802xx
Piccolo System Control and Interrupts Reference Guide for details.
In
I/O Pin
Out
Internal SYSRS
Weak PU
Deglitch SYSCLKOUT
Filter
WDRST Sync RS
C28
Core
MCLKRS
JTAG
TCK
PLL Detect
XRS
+ Logic
Pin
Clocking
Logic
VREGHALT
(A)
WDRST
PBRS
(B) POR/BOR On-Chip
Generating Voltage
Module VREGENZ
Regulator
(VREG)
Figure 6-7 shows the various clock domains that are discussed. Figure 6-8 shows the various clock
sources (both internal and external) that can provide a clock for device operation.
Peripheral
I/O SPI-A, SCI-A
Registers PF2
Clock Enables
Peripheral
I/O eCAP1
Registers PF1
GPIO Clock Enables
Mux
Peripheral
I/O ePWM1/.../4
Registers PF1
Clock Enables
Peripheral
I/O I2C-A
Registers PF2
Clock Enables
ADC PF2
16 Ch 12-Bit ADC Registers
Analog PF0
GPIO
Mux Clock Enables
COMP
6 COMP1/2
Registers PF1
A. CLKIN is the clock into the CPU. It is passed out of the CPU as SYSCLKOUT (that is, CLKIN is the same frequency
as SYSCLKOUT).
CLKCTL[WDCLKSRCSEL]
Internal 0
(A) OSC1CLK
INTOSC1TRIM Reg OSC 1
(10 MHz) OSCCLKSRC1 WDCLK
CPU-Watchdog
(OSC1CLK on XRS reset)
OSCE
1
CLKCTL[INTOSC1OFF]
1 = Turn OSC Off
CLKCTL[INTOSC1HALT] CLKCTL[OSCCLKSRCSEL]
WAKEOSC
1 = Ignore HALT
0
Internal OSC2CLK
(A)
INTOSC2TRIM Reg OSC 2 OSCCLK PLL
(10 MHz) (B)
(OSC1CLK on XRS reset) Missing-Clock-Detect Circuit
1
OSCE
CLKCTL[TRM2CLKPRESCALE]
CLKCTL[TMR2CLKSRCSEL]
CLKCTL[INTOSC2HALT] 00
SYSCLKOUT
OSCCLKSRC2
0
XCLK[XCLKINSEL] 0 = GPIO38 CLKCTL[OSCCLKSRC2SEL]
1 = GPIO19
CLKCTL[XCLKINOFF]
0 1
XCLKIN GPIO19
or 0
GPIO38
XCLKIN
X1
EXTCLK
(Crystal)
XTAL OSC WAKEOSC
X2 (Oscillators enabled when this signal is high)
XCLKIN/GPIO19/38 X1 X2
Turn off Rd
XCLKIN path
in CLKCTL
register
CL1 Crystal CL2
NOTE
1. CL1 and CL2 are the total capacitance of the circuit board and components excluding the
IC and crystal. The value is usually approximately twice the value of the crystal's load
capacitance.
2. The load capacitance of the crystal is described in the crystal specifications of the
manufacturers.
3. TI recommends that customers have the resonator/crystal vendor characterize the
operation of their device with the MCU chip. The resonator/crystal vendor has the
equipment and expertise to tune the tank circuit. The vendor can also advise the
customer regarding the proper tank component values that will produce proper start up
and stability over the entire operating range.
XCLKIN/GPIO19/38 X1 X2
NMIFLG[NMINT]
NMIFLGCLR[NMINT] Clear
Latch
Set Clear
XRS
Generate NMIFLG[CLOCKFAIL]
Interrupt 1 0
Clear NMIFLGCLR[CLOCKFAIL]
NMINT Pulse
When 0 Latch CLOCKFAIL
SYNC?
Input = 1
Clear Set SYSCLKOUT
NMICFG[CLOCKFAIL]
NMIFLGFRC[CLOCKFAIL]
XRS
SYSCLKOUT
SYSRS
NMIWDPRD[15:0]
NMI Watchdog NMIRS See System
NMIWDCNT[15:0] Control Section
NOTE
The CPU-watchdog is different from the NMI watchdog. It is the legacy watchdog that is
present in all 28x devices.
NOTE
Applications in which the correct CPU operating frequency is absolutely critical should
implement a mechanism by which the MCU will be held in reset, should the input clocks ever
fail. For example, an R-C circuit may be used to trigger the XRS pin of the MCU, should the
capacitor ever get fully charged. An I/O pin may be used to discharge the capacitor on a
periodic basis to prevent it from getting fully charged. Such a circuit would also help in
detecting failure of the flash memory.
WDCNTR(7:0)
Clear Counter
Internal
Pullup
WDKEY(7:0)
Generate WDRST
Watchdog Output Pulse WDINT
55 + AA Good K ey (512 OSCCLKs)
Key Detector
XRS
Core-reset Bad
WDCHK SCSR (WDENINT)
Key
WDCR (WDCHK[2:0])
1 0 1
WDRST(A)
A. The WDRST signal is driven low for 512 OSCCLK cycles.
The WDINT signal enables the watchdog to be used as a wakeup from IDLE/STANDBY mode.
In STANDBY mode, all peripherals are turned off on the device. The only peripheral that remains
functional is the CPU-watchdog. This module will run off OSCCLK. The WDINT signal is fed to the LPM
block so that it can wake the device from STANDBY (if enabled). See Section 6.7, Low-power Modes
Block, for more details.
In IDLE mode, the WDINT signal can generate an interrupt to the CPU, via the PIE, to take the CPU out of
IDLE mode.
In HALT mode, the CPU-watchdog can be used to wake up the device through a device reset.
IDLE Mode: This mode is exited by any enabled interrupt that is recognized by the
processor. The LPM block performs no tasks during this mode as long as
the LPMCR0(LPM) bits are set to 0,0.
STANDBY Mode: Any GPIO port A signal (GPIO[31:0]) can wake the device from STANDBY
mode. The user must select which signal(s) will wake the device in the
GPIOLPMSEL register. The selected signal(s) are also qualified by the
OSCCLK before waking the device. The number of OSCCLKs is specified in
the LPMCR0 register.
HALT Mode: CPU-watchdog, XRS, and any GPIO port A signal (GPIO[31:0]) can wake
the device from HALT mode. The user selects the signal in the
GPIOLPMSEL register.
NOTE
The low-power modes do not affect the state of the output pins (PWM pins included). They
will be in whatever state the code left them in when the IDLE instruction was executed. See
the TMS320x2802x/TMS320F2802xx Piccolo System Control and Interrupts Reference
Guide for more details.
6.8 Interrupts
Figure 6-13 shows how the various interrupt sources are multiplexed.
Peripherals
2
(SPI, SCI, ePWM, I C, HRPWM, eCAP, ADC)
WDINT
WAKEINT Watchdog
Sync LPMINT
Low-Power Modes
SYSCLKOUT
XINT1
MUX
XINT1
Interrupt Control
XINT1CR(15:0)
XINT2CTR(15:0)
Up to 96 Interrupts GPIOXINT1SEL(4:0)
XINT2SOC
INT1 ADC
PIE
to XINT2
MUX
INT12 Interrupt Control XINT2
XINT2CR(15:0)
C28 XINT3CTR(15:0)
Core GPIOXINT2SEL(4:0)
GPIO0.int
XINT3
MUX
XINT3 GPIO
Interrupt Control
MUX
XINT3CR(15:0)
GPIO31.int
XINT3CTR(15:0)
GPIOXINT3SEL(4:0)
TINT0
CPU TIMER 0
INT13 TINT1
CPU TIMER 1
INT14 TINT2
CPU TIMER 2
CPUTMR2CLK
Eight PIE block interrupts are grouped into one CPU interrupt. In total, 12 CPU interrupt groups, with
8 interrupts per group equals 96 possible interrupts. Table 6-18 shows the interrupts used by 2802x
devices.
The TRAP #VectorNumber instruction transfers program control to the interrupt service routine
corresponding to the vector specified. TRAP #0 attempts to transfer program control to the address
pointed to by the reset vector. The PIE vector table does not, however, include a reset vector. Therefore,
TRAP #0 should not be used when the PIE is enabled. Doing so will result in undefined behavior.
When the PIE is enabled, TRAP #1 through TRAP #12 will transfer program control to the interrupt service
routine corresponding to the first vector within the PIE group. For example: TRAP #1 fetches the vector
from INT1.1, TRAP #2 fetches the vector from INT2.1, and so forth.
INT1
INT2
1
MUX CPU
0
INT11
INT12 Global
(Flag) (Enable) Enable
INTx.1
INTx.2
INTx.3 From
INTx INTx.4 Peripherals
MUX INTx.5 or
External
INTx.6
Interrupts
INTx.7
PIEACKx INTx.8
(Enable) (Flag)
(Enable/Flag)
PIEIERx[8:1] PIEIFRx[8:1]
(1) Out of 96 possible interrupts, some interrupts are not used. These interrupts are reserved for future devices. These interrupts can be
used as software interrupts if they are enabled at the PIEIFRx level, provided none of the interrupts within the group is being used by a
peripheral. Otherwise, interrupts coming in from peripherals may be lost by accidentally clearing their flag while modifying the PIEIFR.
To summarize, there are two safe cases when the reserved interrupts could be used as software interrupts:
No peripheral within the group is asserting interrupts.
No peripheral interrupts are assigned to the group (for example, PIE groups 5, 7, or 11) .
Each external interrupt can be enabled/disabled or qualified using positive, negative, or both positive and
negative edge. For more information, see the TMS320x2802x/TMS320F2802xx Piccolo System Control
and Interrupts Reference Guide.
(2)
Synchronous 1tc(SCO) cycles
tw(INT) Pulse duration, INT input low/high
With qualifier 1tc(SCO) + tw(IQSW) cycles
(1) For an explanation of the input qualifier parameters, see Table 6-54.
(2) This timing is applicable to any GPIO pin configured for ADCSOC functionality.
tw(INT)
td(INT)
Address bus
Interrupt Vector
(internal)
6.9 Peripherals
A6 A6
A7 A3 ADC
B3
B1 A4 COMP2OUT
AIO4 10-Bit Comp2
B2 B2 AIO12 DAC
B4 (See Note A)
B3
B4 B4
B5
B6 B6 Temperature Sensor
B7 A5
Signal Pinout A6
AIO6
AIO14
B6
A7
B7
6.9.1.1.1 Features
The core of the ADC contains a single 12-bit converter fed by two sample-and-hold circuits. The sample-
and-hold circuits can be sampled simultaneously or sequentially. These, in turn, are fed by a total of up to
13 analog input channels. The converter can be configured to run with an internal bandgap reference to
create true-voltage based conversions or with a pair of external voltage references (VREFHI/VREFLO) to
create ratiometric-based conversions.
Contrary to previous ADC types, this ADC is not sequencer-based. It is easy for the user to create a
series of conversions from a single trigger. However, the basic principle of operation is centered around
the configurations of individual conversions, called SOCs, or Start-Of-Conversions.
Functions of the ADC module include:
12-bit ADC core with built-in dual sample-and-hold (S/H)
Simultaneous sampling or sequential sampling modes
Full range analog input: 0 V to 3.3 V fixed, or VREFHI/VREFLO ratiometric. The digital value of the input
analog voltage is derived by:
Internal Reference (VREFLO = VSSA. VREFHI must not exceed VDDA when using either internal or
external reference modes.)
Digital Value = 0, when input 0 V
0-Wait
Result PF0 (CPU)
Registers
PF2 (CPU)
SYSCLKOUT
ADCENCLK
ADCINT 1
PIE
ADCINT 9
ADC TINT 0
AIO ADC ADCTRIG 1 CPUTIMER 0
Core TINT 1
MUX Channels ADCTRIG 2 CPUTIMER 1
12-Bit
TINT 2
ADCTRIG 3 CPUTIMER 2
XINT 2SOC
ADCTRIG 4 XINT 2
SOCA 1
ADCTRIG 5
SOCB 1 ePWM 1
ADCTRIG 6
SOCA 2
ADCTRIG 7
SOCB 2 ePWM 2
ADCTRIG 8
SOCA 3
ADCTRIG 9
SOCB 3 ePWM 3
ADCTRIG 10
SOCA 4
ADCTRIG 11
SOCB 4 ePWM 4
ADCTRIG 12
tw(ADCSOCL)
ADCSOCAO
or
ADCSOCBO
ADCPWDN/
ADCBGPWD/
ADCREFPWD/
ADCENABLE td(PWD)
Request for ADC
Conversion
Ron Switch
Rs ADCIN 3.4 kW
Source Cp Ch
ac
Signal 5 pF 1.6 pF
28x DSP
Analog Input
SOC0 Sample SOC1 Sample SOC2 Sample
Window Window Window
0 2 9 15 22 24 37
ADCCLK
ADCCTL 1.INTPULSEPOS
ADCSOCFLG 1.SOC0
ADCSOCFLG 1.SOC1
ADCSOCFLG 1.SOC2
ADCRESULT 1
EOC0 Pulse
EOC1 Pulse
ADCINTFLG .ADCINTx
Minimum Conversion 0
1 ADCCLK
7 ADCCLKs 13 ADC Clocks
6 Minimum Conversion 1
ADCCLKs 7 ADCCLKs 13 ADC Clocks
Figure 6-21. Timing Example for Sequential Mode / Late Interrupt Pulse
Analog Input
SOC0 Sample SOC1 Sample SOC2 Sample
Window Window Window
0 2 9 15 22 24 37
ADCCLK
ADCCTL1.INTPULSEPOS
ADCSOCFLG 1.SOC0
ADCSOCFLG 1.SOC1
ADCSOCFLG 1.SOC2
ADCRESULT 1
EOC0 Pulse
EOC1 Pulse
EOC2 Pulse
ADCINTFLG .ADCINTx
Minimum Conversion 0
2 ADCCLKs
7 ADCCLKs 13 ADC Clocks
6 Minimum Conversion 1
ADCCLKs 7 ADCCLKs 13 ADC Clocks
Figure 6-22. Timing Example for Sequential Mode / Early Interrupt Pulse
Analog Input A
SOC0 Sample SOC2 Sample
A Window A Window
Analog Input B
SOC0 Sample SOC2 Sample
B Window B Window
0 2 9 22 24 37 50
ADCCLK
ADCCTL1.INTPULSEPOS
ADCSOCFLG 1.SOC0
ADCSOCFLG 1.SOC1
ADCSOCFLG 1.SOC2
ADCRESULT 2
EOC0 Pulse
EOC2 Pulse
ADCINTFLG .ADCINTx
Figure 6-23. Timing Example for Simultaneous Mode / Late Interrupt Pulse
Analog Input A
SOC0 Sample SOC2 Sample
A Window A Window
Analog Input B
SOC0 Sample SOC2 Sample
B Window B Window
0 2 9 22 24 37 50
ADCCLK
ADCCTL1.INTPULSEPOS
ADCSOCFLG1.SOC0
ADCSOCFLG1.SOC1
ADCSOCFLG1.SOC2
ADCRESULT 2
EOC0 Pulse
EOC1 Pulse
EOC2 Pulse
ADCINTFLG.ADCINTx
Figure 6-24. Timing Example for Simultaneous Mode / Early Interrupt Pulse
To COMPy A or B input
To ADC Channel X
AIODAT Reg
(Latch)
AIOMUX 1 Reg
AIOSET,
0 = Output)
AIOCLEAR,
(1 = Input,
AIOxDIR
AIOTOGGLE
Regs
AIODIR Reg
1 (Latch)
(0 = Input, 1 = Output)
0 0
The ADC channel and Comparator functions are always available. The digital I/O function is available only
when the respective bit in the AIOMUX1 register is 0. In this mode, reading the AIODAT register reflects
the actual pin state.
The digital I/O function is disabled when the respective bit in the AIOMUX1 register is 1. In this mode,
reading the AIODAT register reflects the output latch of the AIODAT register and the input digital I/O buffer
is disabled to prevent analog signals from generating noise.
On reset, the digital function is disabled. If the pin is used as an analog input, users should keep the AIO
function disabled for that pin.
COMP x A
+
COMP x B COMP
- GPIO TZ1/2/3
MUX
COMP x
+
DAC x ePWM
AIO Wrapper
MUX
COMPxOUT
DAC
Core
10-Bit
1100
1000
900
800
700
Settling Time (ns)
600
500
400
300
200
100
0
0 50 100 150 200 250 300 350 400 450 500
DAC Step Size (Codes)
NOTE: All four pins can be used as GPIO if the SPI module is not used.
Two operational modes: master and slave
Baud rate: 125 different programmable rates.
LSPCLK
Baud rate = when SPIBRR = 3 to 127
(SPIBRR + 1)
LSPCLK
Baud rate = when SPIBRR = 0, 1, 2
4
Data word length: one to sixteen data bits
Four clocking schemes (controlled by clock polarity and clock phase bits) include:
Falling edge without phase delay: SPICLK active-high. SPI transmits data on the falling edge of the SPICLK
signal and receives data on the rising edge of the SPICLK signal.
Falling edge with phase delay: SPICLK active-high. SPI transmits data one half-cycle ahead of the falling edge
of the SPICLK signal and receives data on the falling edge of the SPICLK signal.
Rising edge without phase delay: SPICLK inactive-low. SPI transmits data on the rising edge of the SPICLK
signal and receives data on the falling edge of the SPICLK signal.
Rising edge with phase delay: SPICLK inactive-low. SPI transmits data one half-cycle ahead of the falling
edge of the SPICLK signal and receives data on the rising edge of the SPICLK signal.
Simultaneous receive and transmit operation (transmit function can be disabled in software)
Transmitter and receiver operations are accomplished through either interrupt-driven or polled algorithms.
Nine SPI module control registers: Located in control register frame beginning at address 7040h.
NOTE
All registers in this module are 16-bit registers that are connected to Peripheral Frame 2.
When a register is accessed, the register data is in the lower byte (70), and the upper byte
(158) is read as zeros. Writing to the upper byte has no effect.
Enhanced feature:
4-level transmit/receive FIFO
Delayed transmit control
Bi-directional 3 wire SPI mode support
The SPI port operation is configured and controlled by the registers listed in Table 6-32.
For more information on the SPI, see the TMS320x2802x, 2803x Piccolo Serial Peripheral Interface (SPI)
Reference Guide.
SPIFFENA
Receiver Overrun
SPIFFTX.14 Overrun Flag INT ENA
SPIRXBUF SPIFFOVF
Buffer Register FLAG
SPIFFRX.15 To CPU
TX FIFO Registers
SPITXBUF
TX FIFO _3 TX Interrupt
----- TX FIFO Interrupt Logic
TX FIFO _1
SPITX
TX FIFO _0
SPI INT
16 16 ENA
SPI INT FLAG
SPITXBUF SPISTS.6
Buffer Register
SPICTL.0
TRIWIRE
16 SPIPRI.0
M M
SPIDAT S TW
Data Register S SW1 SPISIMO
M TW
SPIDAT.15 - 0 M
TW
S
S SW2 SPISOMI
Talk
SPICTL.1
SPISTE
State Control
Master/Slave
Table 6-33. SPI Master Mode External Timing (Clock Phase = 0) (1) (2) (3) (4) (5)
SPI WHEN (SPIBRR + 1) IS EVEN OR SPI WHEN (SPIBRR + 1) IS ODD
NO. SPIBRR = 0 OR 2 AND SPIBRR > 3 UNIT
MIN MAX MIN MAX
1 tc(SPC)M Cycle time, SPICLK 4tc(LCO) 128tc(LCO) 5tc(LCO) 127tc(LCO) ns
Pulse duration, SPICLK high
tw(SPCH)M 0.5tc(SPC)M 10 0.5tc(SPC)M 0.5tc(SPC)M 0.5tc(LCO) 10 0.5tc(SPC)M 0.5tc(LCO)
(clock polarity = 0)
2 ns
Pulse duration, SPICLK low
tw(SPCL)M 0.5tc(SPC)M 10 0.5tc(SPC)M 0.5tc(SPC)M 0.5tc(LCO) 10 0.5tc(SPC)M 0.5tc(LCO)
(clock polarity = 1)
Pulse duration, SPICLK low
tw(SPCL)M 0.5tc(SPC)M 10 0.5tc(SPC)M 0.5tc(SPC)M + 0.5tc(LCO) 10 0.5tc(SPC)M + 0.5tc(LCO)
(clock polarity = 0)
3 ns
Pulse duration, SPICLK high
tw(SPCH)M 0.5tc(SPC)M 10 0.5tc(SPC)M 0.5tc(SPC)M + 0.5tc(LCO) 10 0.5tc(SPC)M + 0.5tc(LCO)
(clock polarity = 1)
Delay time, SPICLK high to SPISIMO
td(SPCH-SIMO)M 10 10
valid (clock polarity = 0)
4 ns
Delay time, SPICLK low to SPISIMO
td(SPCL-SIMO)M 10 10
valid (clock polarity = 1)
Valid time, SPISIMO data valid after
tv(SPCL-SIMO)M 0.5tc(SPC)M 10 0.5tc(SPC)M + 0.5tc(LCO) 10
SPICLK low (clock polarity = 0)
5 ns
Valid time, SPISIMO data valid after
tv(SPCH-SIMO)M 0.5tc(SPC)M 10 0.5tc(SPC)M + 0.5tc(LCO) 10
SPICLK high (clock polarity = 1)
Setup time, SPISOMI before SPICLK
tsu(SOMI-SPCL)M 26 26
low (clock polarity = 0)
8 ns
Setup time, SPISOMI before SPICLK
tsu(SOMI-SPCH)M 26 26
high (clock polarity = 1)
Valid time, SPISOMI data valid after
tv(SPCL-SOMI)M 0 0
SPICLK low (clock polarity = 0)
9 ns
Valid time, SPISOMI data valid after
tv(SPCH-SOMI)M 0 0
SPICLK high (clock polarity = 1)
(1) The MASTER / SLAVE bit (SPICTL.2) is set and the CLOCK PHASE bit (SPICTL.3) is cleared.
(2) tc(SPC) = SPI clock cycle time = LSPCLK/4 or LSPCLK/(SPIBRR +1)
(3) tc(LCO) = LSPCLK cycle time
(4) Internal clock prescalers must be adjusted such that the SPI clock speed is limited to the following SPI clock rate:
Master mode transmit 15-MHz MAX, master mode receive 10-MHz MAX
Slave mode transmit 10-MHz MAX, slave mode receive 10-MHz MAX.
(5) The active edge of the SPICLK signal referenced is controlled by the clock polarity bit (SPICCR.6).
SPICLK
(clock polarity = 0)
SPICLK
(clock polarity = 1)
4
5
Master In Data
SPISOMI
Must Be Valid
(A)
SPISTE
A. In the master mode, SPISTE goes active 0.5tc(SPC) (minimum) before valid SPI clock edge. On the trailing end of the
word, the SPISTE will go inactive 0.5tc(SPC) after the receiving edge (SPICLK) of the last data bit, except that SPISTE
stays active between back-to-back transmit words in both FIFO and non-FIFO modes.
Table 6-34. SPI Master Mode External Timing (Clock Phase = 1) (1) (2) (3) (4) (5)
SPI WHEN (SPIBRR + 1) IS EVEN SPI WHEN (SPIBRR + 1) IS ODD
NO. OR SPIBRR = 0 OR 2 AND SPIBRR > 3 UNIT
MIN MAX MIN MAX
1 tc(SPC)M Cycle time, SPICLK 4tc(LCO) 128tc(LCO) 5tc(LCO) 127tc(LCO) ns
Pulse duration, SPICLK high
tw(SPCH)M 0.5tc(SPC)M 10 0.5tc(SPC)M 0.5tc(SPC)M 0.5tc (LCO) 10 0.5tc(SPC)M 0.5tc(LCO)
(clock polarity = 0)
2 ns
Pulse duration, SPICLK low
tw(SPCL))M 0.5tc(SPC)M 10 0.5tc(SPC)M 0.5tc(SPC)M 0.5tc (LCO) 10 0.5tc(SPC)M 0.5tc(LCO
(clock polarity = 1)
Pulse duration, SPICLK low
tw(SPCL)M 0.5tc(SPC)M 10 0.5tc(SPC)M 0.5tc(SPC)M + 0.5tc(LCO) 10 0.5tc(SPC)M + 0.5tc(LCO)
(clock polarity = 0)
3 ns
Pulse duration, SPICLK high
tw(SPCH)M 0.5tc(SPC)M 10 0.5tc(SPC)M 0.5tc(SPC)M + 0.5tc(LCO) 10 0.5tc(SPC)M + 0.5tc(LCO)
(clock polarity = 1)
Setup time, SPISIMO data valid
tsu(SIMO-SPCH)M before SPICLK high 0.5tc(SPC)M 10 0.5tc(SPC)M 10
(clock polarity = 0)
6 ns
Setup time, SPISIMO data valid
tsu(SIMO-SPCL)M before SPICLK low 0.5tc(SPC)M 10 0.5tc(SPC)M 10
(clock polarity = 1)
Valid time, SPISIMO data valid after
tv(SPCH-SIMO)M 0.5tc(SPC)M 10 0.5tc(SPC)M 10
SPICLK high (clock polarity = 0)
7 ns
Valid time, SPISIMO data valid after
tv(SPCL-SIMO)M 0.5tc(SPC)M 10 0.5tc(SPC)M 10
SPICLK low (clock polarity = 1)
Setup time, SPISOMI before
tsu(SOMI-SPCH)M 26 26
SPICLK high (clock polarity = 0)
10 ns
Setup time, SPISOMI before
tsu(SOMI-SPCL)M 26 26
SPICLK low (clock polarity = 1)
Valid time, SPISOMI data valid after
tv(SPCH-SOMI)M 0 0
SPICLK high (clock polarity = 0)
11 ns
Valid time, SPISOMI data valid after
tv(SPCL-SOMI)M 0 0
SPICLK low (clock polarity = 1)
(1) The MASTER/SLAVE bit (SPICTL.2) is set and the CLOCK PHASE bit (SPICTL.3) is set.
(2) tc(SPC) = SPI clock cycle time = LSPCLK/4 or LSPCLK/(SPIBRR + 1)
(3) Internal clock prescalers must be adjusted such that the SPI clock speed is limited to the following SPI clock rate:
Master mode transmit 15-MHz MAX, master mode receive 10-MHz MAX
Slave mode transmit 10-MHz MAX, slave mode receive 10-MHz MAX.
(4) tc(LCO) = LSPCLK cycle time
(5) The active edge of the SPICLK signal referenced is controlled by the CLOCK POLARITY bit (SPICCR.6).
1
SPICLK
(clock polarity = 0)
2
SPICLK
(clock polarity = 1)
6
7
10
11
Master in data
SPISOMI
must be valid
SPISTE(A)
A. In the master mode, SPISTE goes active 0.5tc(SPC) (minimum) before valid SPI clock edge. On the trailing end of the word, the SPISTE will go inactive 0.5tc(SPC) after
the receiving edge (SPICLK) of the last data bit, except that SPISTE stays active between back-to-back transmit words in both FIFO and non-FIFO modes.
Table 6-35. SPI Slave Mode External Timing (Clock Phase = 0) (1) (2) (3) (4) (5)
NO. MIN MAX UNIT
12 tc(SPC)S Cycle time, SPICLK 4tc(LCO) ns
tw(SPCH)S Pulse duration, SPICLK high (clock polarity = 0) 0.5tc(SPC)S 10 0.5tc(SPC)S
13 ns
tw(SPCL)S Pulse duration, SPICLK low (clock polarity = 1) 0.5tc(SPC)S 10 0.5tc(SPC)S
tw(SPCL)S Pulse duration, SPICLK low (clock polarity = 0) 0.5tc(SPC)S 10 0.5tc(SPC)S
14 ns
tw(SPCH)S Pulse duration, SPICLK high (clock polarity = 1) 0.5tc(SPC)S 10 0.5tc(SPC)S
td(SPCH-SOMI)S Delay time, SPICLK high to SPISOMI valid (clock polarity = 0) 21
15 ns
td(SPCL-SOMI)S Delay time, SPICLK low to SPISOMI valid (clock polarity = 1) 21
tv(SPCL-SOMI)S Valid time, SPISOMI data valid after SPICLK low (clock polarity = 0) 0
16 ns
tv(SPCH-SOMI)S Valid time, SPISOMI data valid after SPICLK high (clock polarity = 1) 0
tsu(SIMO-SPCL)S Setup time, SPISIMO before SPICLK low (clock polarity = 0) 26
19 ns
tsu(SIMO-SPCH)S Setup time, SPISIMO before SPICLK high (clock polarity = 1) 26
tv(SPCL-SIMO)S Valid time, SPISIMO data valid after SPICLK low (clock polarity = 0) 0.5tc(SPC)S 10
20 ns
tv(SPCH-SIMO)S Valid time, SPISIMO data valid after SPICLK high (clock polarity = 1) 0.5tc(SPC)S 10
(1) The MASTER / SLAVE bit (SPICTL.2) is cleared and the CLOCK PHASE bit (SPICTL.3) is cleared.
(2) tc(SPC) = SPI clock cycle time = LSPCLK/4 or LSPCLK/(SPIBRR + 1)
(3) Internal clock prescalers must be adjusted such that the SPI clock speed is limited to the following SPI clock rate:
Master mode transmit 15-MHz MAX, master mode receive 10-MHz MAX
Slave mode transmit 10-MHz MAX, slave mode receive 10-MHz MAX.
(4) tc(LCO) = LSPCLK cycle time
(5) The active edge of the SPICLK signal referenced is controlled by the CLOCK POLARITY bit (SPICCR.6).
12
SPICLK
(clock polarity = 0)
13
14
SPICLK
(clock polarity = 1)
15
16
19
20
SPISIMO data
SPISIMO must be valid
SPISTE(A)
A. In the slave mode, the SPISTE signal should be asserted low at least 0.5tc(SPC) (minimum) before the valid SPI clock
edge and remain low for at least 0.5tc(SPC) after the receiving edge (SPICLK) of the last data bit.
Table 6-36. SPI Slave Mode External Timing (Clock Phase = 1) (1) (2) (3) (4)
NO. MIN MAX UNIT
12 tc(SPC)S Cycle time, SPICLK 8tc(LCO) ns
tw(SPCH)S Pulse duration, SPICLK high (clock polarity = 0) 0.5tc(SPC)S 10 0.5tc(SPC)S
13 ns
tw(SPCL)S Pulse duration, SPICLK low (clock polarity = 1) 0.5tc(SPC)S 10 0.5tc(SPC)S
tw(SPCL)S Pulse duration, SPICLK low (clock polarity = 0) 0.5tc(SPC)S 10 0.5tc(SPC)S
14 ns
tw(SPCH)S Pulse duration, SPICLK high (clock polarity = 1) 0.5tc(SPC)S 10 0.5tc(SPC)S
tsu(SOMI-SPCH)S Setup time, SPISOMI before SPICLK high (clock polarity = 0) 0.125tc(SPC)S
17 ns
tsu(SOMI-SPCL)S Setup time, SPISOMI before SPICLK low (clock polarity = 1) 0.125tc(SPC)S
Valid time, SPISOMI data valid after SPICLK low
tv(SPCL-SOMI)S 0
(clock polarity = 1)
18 ns
Valid time, SPISOMI data valid after SPICLK high
tv(SPCH-SOMI)S 0
(clock polarity = 0)
tsu(SIMO-SPCH)S Setup time, SPISIMO before SPICLK high (clock polarity = 0) 26
21 ns
tsu(SIMO-SPCL)S Setup time, SPISIMO before SPICLK low (clock polarity = 1) 26
Valid time, SPISIMO data valid after SPICLK high
tv(SPCH-SIMO)S 0.5tc(SPC)S 10
(clock polarity = 0)
22 ns
Valid time, SPISIMO data valid after SPICLK low
tv(SPCL-SIMO)S 0.5tc(SPC)S 10
(clock polarity = 1)
(1) The MASTER / SLAVE bit (SPICTL.2) is cleared and the CLOCK PHASE bit (SPICTL.3) is cleared.
(2) tc(SPC) = SPI clock cycle time = LSPCLK/4 or LSPCLK/(SPIBRR + 1)
(3) Internal clock prescalers must be adjusted such that the SPI clock speed is limited to the following SPI clock rate:
Master mode transmit 15-MHz MAX, master mode receive 10-MHz MAX
Slave mode transmit 10-MHz MAX, slave mode receive 10-MHz MAX.
(4) The active edge of the SPICLK signal referenced is controlled by the CLOCK POLARITY bit (SPICCR.6).
12
SPICLK
(clock polarity = 0)
13
14
SPICLK
(clock polarity = 1)
17
18
21
22
SPISIMO data
SPISIMO
must be valid
SPISTE(A)
A. In the slave mode, the SPISTE signal should be asserted low at least 0.5tc(SPC) before the valid SPI clock edge and
remain low for at least 0.5tc(SPC) after the receiving edge (SPICLK) of the last data bit.
LSPCLK
Baud rate = when BRR 0
(BRR + 1) * 8
LSPCLK
Baud rate = when BRR = 0
16
Data-word format
One start bit
Data-word length programmable from one to eight bits
Optional even/odd/no parity bit
One or two stop bits
Four error-detection flags: parity, overrun, framing, and break detection
Two wake-up multiprocessor modes: idle-line and address bit
Half- or full-duplex operation
Double-buffered receive and transmit functions
Transmitter and receiver operations can be accomplished through interrupt-driven or polled algorithms with status
flags.
Transmitter: TXRDY flag (transmitter-buffer register is ready to receive another character) and TX EMPTY flag
(transmitter-shift register is empty)
Receiver: RXRDY flag (receiver-buffer register is ready to receive another character), BRKDT flag (break
condition occurred), and RX ERROR flag (monitoring four interrupt conditions)
Separate enable bits for transmitter and receiver interrupts (except BRKDT)
NRZ (nonreturn-to-zero) format
NOTE
All registers in this module are 8-bit registers that are connected to Peripheral Frame 2.
When a register is accessed, the register data is in the lower byte (70), and the upper byte
(158) is read as zeros. Writing to the upper byte has no effect.
Enhanced features:
Auto baud-detect hardware logic
4-level transmit/receive FIFO
The SCI port operation is configured and controlled by the registers listed in Table 6-37.
For more information on the SCI, see the TMS320x2802x, 2803x Piccolo Serial Communications Interface
(SCI) Reference Guide.
Figure 6-33 shows the SCI module block diagram.
SCICTL1.1
Frame Format and Mode SCITXD
SCITXD
TXSHF
Parity Register TXENA
TX EMPTY
Even/Odd Enable
8 SCICTL2.6
SCICCR.6 SCICCR.5
TXRDY TX INT ENA
Transmitter-Data
Buffer Register SCICTL2.7
TXWAKE SCICTL2.0
SCICTL1.3 8 TX FIFO
TX FIFO _0 Interrupts TXINT
1 TX Interrupt
TX FIFO _1
Logic
----- To CPU
TX FIFO _3
WUT SCITXBUF.7-0 SCI TX Interrupt select logic
TX FIFO registers
SCIFFENA AutoBaud Detect logic
SCIFFTX.14
SCIHBAUD. 15 - 8
SCIRXD
Baud Rate RXSHF
Register SCIRXD
MSbyte
Register RXWAKE
LSPCLK SCIRXST.1
SCILBAUD. 7 - 0 RXENA
RX Error
RX ERR INT ENA
SCI RX Interrupt select logic
SCICTL1.6
2
I C Module
I2CXSR I2CDXR
TX FIFO
SDA FIFO Interrupt to
CPU/PIE
RX FIFO
Peripheral Bus
I2CRSR I2CDRR
Control/Status
Registers CPU
Clock
SCL Synchronizer
Prescaler
Noise Filters
Interrupt to
I2C INT
CPU/PIE
Arbitrator
A. The I2C registers are accessed at the SYSCLKOUT rate. The internal timing and signal waveforms of the I2C port are
also at the SYSCLKOUT rate.
B. The clock enable bit (I2CAENCLK) in the PCLKCRO register turns off the clock to the I2C port for low power
operation. Upon reset, I2CAENCLK is clear, which indicates the peripheral internal clocks are off.
The registers in Table 6-38 configure and control the I2C port operation.
EPWMSYNCI
EPWM1SYNCI
EPWM1TZINT EPWM1B
ePWM1 TZ1 to TZ3
EPWM1INT
Module
EPWM2TZINT
PIE EPWM2INT CLOCKFAIL
TZ5
EPWMxTZINT EMUSTOP
TZ6
EPWMxINT
EPWM1ENCLK
TBCLKSYNC
eCAPI
EPWM1SYNCO
EPWM1SYNCO
M
SOCA1 U
ADC
SOCB1 X
SOCA2
SOCB2 EPWMxSYNCI EPWMxB
System Control
C28x CPU
SOCA1
SOCA2 Pulse Stretch ADCSOCAO
SPCAx (32 SYSCLKOUT Cycles, Active-Low Output)
SOCB1
SOCB2 Pulse Stretch ADCSOCBO
SPCBx (32 SYSCLKOUT Cycles, Active-Low Output)
Time-Base (TB)
CTR=ZERO Sync
TBPRD Shadow (24) In/Out
CTR=CMPB Select EPWMxSYNCO
TBPRDHR (8)
TBPRD Active (24) Disabled Mux
8
CTR=PRD
TBCTL[PHSEN] TBCTL[SYNCOSEL]
EPWMxSYNCI
Counter DCAEVT1.sync
Up/Down DCBEVT1.sync
TBCTL[SWFSYNC]
(16 Bit)
(Software Forced
CTR=ZERO Sync)
TCBNT
Active (16) CTR_Dir CTR=PRD
CTR=ZERO
TBPHSHR (8) CTR=PRD or ZERO EPWMxINT
16 8 CTR=CMPA Event
Trigger EPWMxSOCA
Phase CTR=CMPB
TBPHS Active (24) and
Control CTR_Dir EPWMxSOCB
Interrupt
(A) (ET)
DCAEVT1.soc EPWMxSOCA
(A) ADC
DCBEVT1.soc EPWMxSOCB
Action
Qualifier
CTR=CMPA (AQ)
CMPAHR (8)
16
High-resolution PWM (HRPWM)
CMPA Active (24)
A. These events are generated by the Type 1 ePWM digital compare (DC) submodule based on the levels of
the COMPxOUT and TZ signals.
SYSCLK
tw(TZ)
(A)
TZ
td(TZ-PWM)HZ
(B)
PWM
NOTE
The minimum SYSCLKOUT frequency allowed for HRPWM is 50 MHz.
NOTE
When dual-edge high-resolution is enabled (high-resolution period mode), the PWMxB output
is not available for use.
CTRPHS
(phase register32 bit) APWM mode
SYNC
SYNCIn
OVF CTR_OVF
TSCTR CTR [031]
SYNCOut PWM
(counter32 bit) Deltamode PRD [031] compare
RST
logic
CMP [031]
32
eCAPx
MODE SELECT
32 CAP1 LD1 Polarity
LD
(APRD active) select
APRD 32
shadow CMP [031]
32
Event Event
32 ACMP
qualifier
shadow Prescale
32 Polarity
CAP3 LD3 select
LD
(APRD shadow)
32 CAP4 LD4
LD Polarity
(ACMP shadow) select
4
Capture events 4
CEVT[1:4]
Interrupt Continuous /
to PIE Trigger Oneshot
and CTR_OVF Capture Control
Flag
CTR=PRD
control
CTR=CMP
For more information on the eCAP, see the TMS320F2802x, 2803x Piccolo Enhanced Capture (eCAP)
Module Reference Guide.
NOTE
In 2802x devices, the JTAG pins may also be used as GPIO pins. Care should be taken in
the board design to ensure that the circuitry connected to these pins do not affect the
emulation capabilities of the JTAG pin function. Any circuitry connected to these pins should
not prevent the emulator from driving (or being driven by) the JTAG pins for successful
debug.
TRST
TRST
XCLKIN
GPIO38_in
TCK
TCK/GPIO38
GPIO38_out
C28x
Core
GPIO37_in
TDO
TDO/GPIO37 1
0 GPIO37_out
GPIO36_in
1
TMS
TMS/GPIO36
GPIO36_out 1 0
GPIO35_in
1
TDI
TDI/GPIO35
GPIO35_out 1 0
NOTE
There is a two-SYSCLKOUT cycle delay from when the write to the GPxMUXn/AIOMUXn
and GPxQSELn registers occurs to when the action is valid.
The user can select the type of input qualification for each GPIO pin via the GPxQSEL1/2 registers from
four choices:
Synchronization To SYSCLKOUT Only (GPxQSEL1/2 = 0, 0): This is the default mode of all GPIO pins
at reset and it simply synchronizes the input signal to the system clock (SYSCLKOUT).
Qualification Using Sampling Window (GPxQSEL1/2 = 0, 1 and 1, 0): In this mode the input signal,
after synchronization to the system clock (SYSCLKOUT), is qualified by a specified number of cycles
before the input is allowed to change.
The sampling period is specified by the QUALPRD bits in the GPxCTRL register and is configurable in
groups of 8 signals. It specifies a multiple of SYSCLKOUT cycles for sampling the input signal. The
sampling window is either 3-samples or 6-samples wide and the output is only changed when ALL
samples are the same (all 0s or all 1s) as shown in Figure 4-18 (for 6 sample mode).
No Synchronization (GPxQSEL1/2 = 1,1): This mode is used for peripherals where synchronization is
not required (synchronization is performed within the peripheral).
Due to the multilevel multiplexing that is required on the device, there may be cases where a peripheral
input signal can be mapped to more then one GPIO pin. Also, when an input signal is not selected, the
input signal will default to either a 0 or 1 state, depending on the peripheral.
GPIOXINT1SEL
GPIOLMPSEL GPIOXINT2SEL
LPMCR0 GPIOXINT3SEL
Asynchronous
path GPxDAT (read)
GPxQSEL1/2
GPxCTRL
GPxPUD 00 N/C
01 Peripheral 1 Input
Input
Internal
Qualification
Pullup 10 Peripheral 2 Input
11 Peripheral 3 Input
Asynchronous path GPxTOGGLE
GPIOx pin GPxCLEAR
GPxSET
00 GPxDAT (latch)
01 Peripheral 1 Output
10 Peripheral 2 Output
11 Peripheral 3 Output
High Impedance
Output Control
00 GPxDIR (latch)
0 = Input, 1 = Output 01 Peripheral 1 Output Enable
10 Peripheral 2 Output Enable
XRS
11 Peripheral 3 Output Enable
= Default at Reset
GPxMUX1/2
A. x stands for the port, either A or B. For example, GPxDIR refers to either the GPADIR and GPBDIR register
depending on the particular GPIO pin selected.
B. GPxDAT latch/read are accessed at the same memory location.
C. This is a generic GPIO MUX block diagram. Not all options may be applicable for all GPIO pins. See the
TMS320x2802x/TMS320F2802xx Piccolo System Control and Interrupts Reference Guide for pin-specific variations.
GPIO
t r(GPO)
t f(GPO)
(2)
Synchronous mode 2tc(SCO) cycles
tw(GPI) Pulse duration, GPIO low/high
With input qualifier tw(IQSW) + tw(SP) + 1tc(SCO) cycles
(1) "n" represents the number of qualification samples as defined by GPxQSELn register.
(2) For tw(GPI), pulse width is measured from VIL to VIL for an active low signal and VIH to VIH for an active high signal.
(A)
GPIO Signal GPxQSELn = 1,0 (6 samples)
1 1 0 0 0 0 0 0 0 1 0 0 0 1 1 1 1 1 1 1 1 1
SYSCLKOUT
QUALPRD = 1
(SYSCLKOUT/2)
(D)
Output From
Qualifier
A. This glitch will be ignored by the input qualifier. The QUALPRD bit field specifies the qualification sampling period. It
can vary from 00 to 0xFF. If QUALPRD = 00, then the sampling period is 1 SYSCLKOUT cycle. For any other value
"n", the qualification sampling period in 2n SYSCLKOUT cycles (that is, at every 2n SYSCLKOUT cycles, the GPIO
pin will be sampled).
B. The qualification period selected via the GPxCTRL register applies to groups of 8 GPIO pins.
C. The qualification block can take either three or six samples. The GPxQSELn Register selects which sample mode is
used.
D. In the example shown, for the qualifier to detect the change, the input should be stable for 10 SYSCLKOUT cycles or
greater. In other words, the inputs should be stable for (5 x QUALPRD x 2) SYSCLKOUT cycles. This would ensure
5 sampling periods for detection to occur. Since external signals are driven asynchronously, an 13-SYSCLKOUT-wide
pulse ensures reliable recognition.
SYSCLK
GPIOxn
tw(GPI)
VDDIO
> 1 MS
2 pF
VSS VSS
Figure 6-44. Input Resistance Model for a GPIO Pin With an Internal Pullup
td(WAKEIDLE)
Address/Data
(internal)
XCLKOUT
tw(WAKEINT)
(A)(B)
WAKE INT
tw(WAKE-INT)
td(WAKE-STBY)
X1/X2 or
XCLKIN
XCLKOUT
td(IDLEXCOL)
A. IDLE instruction is executed to put the device into STANDBY mode.
B. The PLL block responds to the STANDBY signal. SYSCLKOUT is held for the number of cycles indicated below
before being turned off:
16 cycles, when DIVSEL = 00 or 01
32 cycles, when DIVSEL = 10
64 cycles, when DIVSEL = 11
This delay enables the CPU pipeline and any other pending operations to flush properly.
C. Clock to the peripherals are turned off. However, the PLL and watchdog are not shut down. The device is now in
STANDBY mode.
D. The external wake-up signal is driven active.
E. The wake-up signal fed to a GPIO pin to wake up the device must meet the minimum pulse width requirement.
Furthermore, this signal must be free of glitches. If a noisy signal is fed to a GPIO pin, the wake-up behavior of the
device will not be deterministic and the device may not exit low-power mode for subsequent wake-up pulses.
F. After a latency period, the STANDBY mode is exited.
G. Normal execution resumes. The device will respond to the interrupt (if enabled).
H. From the time the IDLE instruction is executed to place the device into low-power mode (LPM), wakeup should not be
initiated until at least 4 OSCCLK cycles have elapsed.
Device
HALT HALT
Status
(I)
GPIOn
td(WAKEHALT )
tw(WAKE-GPIO)
tp
X1/X2 or
XCLKIN
XCLKOUT
td(IDLEXCOL)
NOTE
Information in the following sections is not part of the TI component specification, and TI
does not warrant its accuracy or completeness. TIs customers are responsible for
determining suitability of components for their purposes. Customers should validate and test
their design implementation to confirm system functionality.
Copyright 20082016, Texas Instruments Incorporated Applications, Implementation, and Layout 123
Submit Documentation Feedback
Product Folder Links: TMS320F28027 TMS320F28026 TMS320F28023 TMS320F28022 TMS320F28021
TMS320F28020 TMS320F280200
TMS320F28027, TMS320F28026, TMS320F28023, TMS320F28022
TMS320F28021, TMS320F28020, TMS320F280200
TMX Experimental device that is not necessarily representative of the final device's electrical
specifications
TMP Final silicon die that conforms to the device's electrical specifications but has not
completed quality and reliability verification
TMS Fully qualified production device
TMDX Development-support product that has not yet completed Texas Instruments internal
qualification testing
TMDS Fully qualified development-support product
TMX and TMP devices and TMDX development-support tools are shipped against the following
disclaimer:
"Developmental product is intended for internal evaluation purposes."
TMS devices and TMDS development-support tools have been characterized fully, and the quality and
reliability of the device have been demonstrated fully. TI's standard warranty applies.
Predictions show that prototype devices (TMX or TMP) have a greater failure rate than the standard
production devices. Texas Instruments recommends that these devices not be used in any production
system because their expected end-use failure rate still is undefined. Only qualified production devices are
to be used.
TI device nomenclature also includes a suffix with the device family name. This suffix indicates the
package type (for example, PT) and temperature range (for example, S). Figure 8-1 provides a legend for
reading the complete device name for any family member.
For device part numbers and further ordering information, see the TI website (www.ti.com) or contact your
TI sales representative.
For additional description of the device nomenclature markings on the die, see the TMS320F28027,
TMS320F28026, TMS320F28023, TMS320F28022, TMS320F28021, TMS320F28020, TMS320F280200,
TMS320F280270, TMS320F280260, TMS320F280230, TMS320F280220 Piccolo MCU Silicon Errata.
124 Device and Documentation Support Copyright 20082016, Texas Instruments Incorporated
Submit Documentation Feedback
Product Folder Links: TMS320F28027 TMS320F28026 TMS320F28023 TMS320F28022 TMS320F28021
TMS320F28020 TMS320F280200
TMS320F28027, TMS320F28026, TMS320F28023, TMS320F28022
TMS320F28021, TMS320F28020, TMS320F280200
DEVICE
TECHNOLOGY 28027 28027F
F = Flash 28026 28026F
28023
28022
28021
28020
280200
A. For more information on peripheral, temperature, and package availability for a specific device, see Table 3-1.
Figure 8-1. Device Nomenclature
Copyright 20082016, Texas Instruments Incorporated Device and Documentation Support 125
Submit Documentation Feedback
Product Folder Links: TMS320F28027 TMS320F28026 TMS320F28023 TMS320F28022 TMS320F28021
TMS320F28020 TMS320F280200
TMS320F28027, TMS320F28026, TMS320F28023, TMS320F28022
TMS320F28021, TMS320F28020, TMS320F280200
Training
InstaSPIN-FOC LaunchPad and BoosterPack
This six-part series provides information about the C2000 InstaSPIN-FOC Motor Control LaunchPad
Development Kit and BoosterPack Plug-in Module.
The InstaSPIN-FOC enabled C2000 Piccolo LaunchPad is an inexpensive evaluation platform designed to
help you leap right into the world of sensorless motor control using the InstaSPIN-FOC solution.
Part 1: Introduction and Overview
Part 2: Identifying Your Motor
Part 3: Zero Speed, Low Speed, & Tuning
Part 4: Accelerations & Speed Reversals with Texas Instruments
Part 5: High, Higher, Highest Speeds with Texas Instruments
BOOSTXL-DRV8301 BoosterPack with Texas Instruments
C2000 Architecture and Peripherals
The C2000 family of microcontrollers contains a unique mix of innovative and cutting-edge peripherals
along with a very capable C28x core. This video goes over the core architecture and every peripheral
offered on C2000 devices.
126 Device and Documentation Support Copyright 20082016, Texas Instruments Incorporated
Submit Documentation Feedback
Product Folder Links: TMS320F28027 TMS320F28026 TMS320F28023 TMS320F28022 TMS320F28021
TMS320F28020 TMS320F280200
TMS320F28027, TMS320F28026, TMS320F28023, TMS320F28022
TMS320F28021, TMS320F28020, TMS320F280200
Copyright 20082016, Texas Instruments Incorporated Device and Documentation Support 127
Submit Documentation Feedback
Product Folder Links: TMS320F28027 TMS320F28026 TMS320F28023 TMS320F28022 TMS320F28021
TMS320F28020 TMS320F280200
TMS320F28027, TMS320F28026, TMS320F28023, TMS320F28022
TMS320F28021, TMS320F28020, TMS320F280200
Tools Guides
TMS320C28x Assembly Language Tools v15.12.0.LTS User's Guide describes the assembly language
tools (assembler and other tools used to develop assembly language code), assembler directives, macros,
common object file format, and symbolic debugging directives for the TMS320C28x device.
TMS320C28x Optimizing C/C++ Compiler v15.12.0.LTS User's Guide describes the TMS320C28x C/C++
compiler. This compiler accepts ANSI standard C/C++ source code and produces TMS320 DSP assembly
language source code for the TMS320C28x device.
TMS320C28x Instruction Set Simulator Technical Overview describes the simulator, available within the
Code Composer Studio for TMS320C2000 IDE, that simulates the instruction set of the C28x core.
Application Reports
Semiconductor Packing Methodology describes the packing methodologies employed to prepare
semiconductor devices for shipment to end users.
Calculating Useful Lifetimes of Embedded Processors provides a methodology for calculating the useful
lifetime of TI embedded processors (EPs) under power when used in electronic systems. It is aimed at
general engineers who wish to determine if the reliability of the TI EP meets the end system reliability
requirement.
Semiconductor and IC Package Thermal Metrics describes traditional and new thermal metrics and puts
their application in perspective with respect to system-level junction temperature estimation.
Oscillator Compensation Guide describes a factory supplied method for compensating the Piccolo internal
oscillators for frequency drift caused by temperature.
128 Device and Documentation Support Copyright 20082016, Texas Instruments Incorporated
Submit Documentation Feedback
Product Folder Links: TMS320F28027 TMS320F28026 TMS320F28023 TMS320F28022 TMS320F28021
TMS320F28020 TMS320F280200
TMS320F28027, TMS320F28026, TMS320F28023, TMS320F28022
TMS320F28021, TMS320F28020, TMS320F280200
8.7 Trademarks
Piccolo, controlSUITE, TMS320C2000, NexFET, C2000, LaunchPad, TMS320, E2E are trademarks of
Texas Instruments.
I2C-bus is a registered trademark of NXP B.V. Corporation.
All other trademarks are the property of their respective owners.
8.9 Glossary
TI Glossary This glossary lists and explains terms, acronyms, and definitions.
Copyright 20082016, Texas Instruments Incorporated Device and Documentation Support 129
Submit Documentation Feedback
Product Folder Links: TMS320F28027 TMS320F28026 TMS320F28023 TMS320F28022 TMS320F28021
TMS320F28020 TMS320F280200
TMS320F28027, TMS320F28026, TMS320F28023, TMS320F28022
TMS320F28021, TMS320F28020, TMS320F280200
130 Mechanical Packaging and Orderable Information Copyright 20082016, Texas Instruments Incorporated
Submit Documentation Feedback
Product Folder Links: TMS320F28027 TMS320F28026 TMS320F28023 TMS320F28022 TMS320F28021
TMS320F28020 TMS320F280200
MECHANICAL DATA
0,27
0,50 0,08 M
0,17
36 25
37 24
48 13
0,13 NOM
1 12
5,50 TYP
7,20
SQ
6,80 Gage Plane
9,20
SQ
8,80
0,25
1,45 0,05 MIN 0 7
1,35
0,75
Seating Plane 0,45
4040052 / C 11/96
www.ti.com 22-Aug-2016
PACKAGING INFORMATION
Orderable Device Status Package Type Package Pins Package Eco Plan Lead/Ball Finish MSL Peak Temp Op Temp (C) Device Marking Samples
(1) Drawing Qty (2) (6) (3) (4/5)
Addendum-Page 1
PACKAGE OPTION ADDENDUM
www.ti.com 22-Aug-2016
Orderable Device Status Package Type Package Pins Package Eco Plan Lead/Ball Finish MSL Peak Temp Op Temp (C) Device Marking Samples
(1) Drawing Qty (2) (6) (3) (4/5)
TMS320F28022PTS ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 S320 980
& no Sb/Br) F28022PTS
TMS320F28022PTT ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 105 S320 980
& no Sb/Br) F28022PTT
TMS320F28023DAQ ACTIVE TSSOP DA 38 40 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 F28023DAQ
& no Sb/Br) S320
TMS320F28023DAS ACTIVE TSSOP DA 38 40 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 F28023DAS
& no Sb/Br) S320
TMS320F28023DAT ACTIVE TSSOP DA 38 40 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 105 F28023DAT
& no Sb/Br) S320
TMS320F28023PTQ ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 S320 980
& no Sb/Br) F28023PTQ
TMS320F28023PTS ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 S320 980
& no Sb/Br) F28023PTS
TMS320F28023PTT ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 105 S320 980
& no Sb/Br) F28023PTT
TMS320F28026DAQ ACTIVE TSSOP DA 38 40 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 F28026DAQ
& no Sb/Br) S320
TMS320F28026DAS ACTIVE TSSOP DA 38 40 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 F28026DAS
& no Sb/Br) S320
TMS320F28026DAT ACTIVE TSSOP DA 38 40 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 105 F28026DAT
& no Sb/Br) S320
TMS320F28026DATR ACTIVE TSSOP DA 38 2000 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 105 F28026DAT
& no Sb/Br) S320
TMS320F28026FPTQ ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 S320F 980
& no Sb/Br) 28026FPTQ
TMS320F28026FPTT ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 105 S320 980
& no Sb/Br) F28026FPTT
TMS320F28026PTQ ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 S320 980
& no Sb/Br) F28026PTQ
TMS320F28026PTS ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 S320 980
& no Sb/Br) F28026PTS
TMS320F28026PTT ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 105 S320 980
& no Sb/Br) F28026PTT
TMS320F28027DAQ ACTIVE TSSOP DA 38 40 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 F28027DAQ
& no Sb/Br) S320
Addendum-Page 2
PACKAGE OPTION ADDENDUM
www.ti.com 22-Aug-2016
Orderable Device Status Package Type Package Pins Package Eco Plan Lead/Ball Finish MSL Peak Temp Op Temp (C) Device Marking Samples
(1) Drawing Qty (2) (6) (3) (4/5)
TMS320F28027DAS ACTIVE TSSOP DA 38 40 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 F28027DAS
& no Sb/Br) S320
TMS320F28027DAT ACTIVE TSSOP DA 38 40 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 105 F28027DAT
& no Sb/Br) S320
TMS320F28027DATR ACTIVE TSSOP DA 38 2000 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 105 F28027DAT
& no Sb/Br) S320
TMS320F28027FPTQ ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 S320 980
& no Sb/Br) F28027FPTQ
TMS320F28027FPTT ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 105 S320 980
& no Sb/Br) F28027FPTT
TMS320F28027PTQ ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 S320 980
& no Sb/Br) F28027PTQ
TMS320F28027PTQR ACTIVE LQFP PT 48 1000 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR S320 980
& no Sb/Br) F28027PTQ
TMS320F28027PTR ACTIVE LQFP PT 48 1000 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 105 S320 980
& no Sb/Br) F28027PTT
TMS320F28027PTS ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 125 S320 980
& no Sb/Br) F28027PTS
TMS320F28027PTT ACTIVE LQFP PT 48 250 Green (RoHS CU NIPDAU Level-2-260C-1 YEAR -40 to 105 S320 980
& no Sb/Br) F28027PTT
(1)
The marketing status values are defined as follows:
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
(2)
Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability
information and additional product content details.
TBD: The Pb-Free/Green conversion plan has not been defined.
Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that
lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes.
Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between
the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above.
Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight
in homogeneous material)
Addendum-Page 3
PACKAGE OPTION ADDENDUM
www.ti.com 22-Aug-2016
(3)
MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
(4)
There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device.
(5)
Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation
of the previous line and the two combined represent the entire Device Marking for that device.
(6)
Lead/Ball Finish - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead/Ball Finish values may wrap to two lines if the finish
value exceeds the maximum column width.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information
provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and
continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.
TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
Addendum-Page 4
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest
issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and
complete. All semiconductor products (also referred to herein as components) are sold subject to TIs terms and conditions of sale
supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TIs terms
and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary
to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily
performed.
TI assumes no liability for applications assistance or the design of Buyers products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers products and applications, Buyers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or
other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information
published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or
endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the
third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration
and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered
documentation. Information of third parties may be subject to additional restrictions.
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service
voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.
TI is not responsible or liable for any such statements.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which
anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause
harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use
of any TI components in safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TIs goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed a special agreement specifically governing such use.
Only those TI components which TI has specifically designated as military grade or enhanced plastic are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components
which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and
regulatory requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
Products Applications
Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive
Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications
Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers
DLP Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps
DSP dsp.ti.com Energy and Lighting www.ti.com/energy
Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial
Interface interface.ti.com Medical www.ti.com/medical
Logic logic.ti.com Security www.ti.com/security
Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense
Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video
RFID www.ti-rfid.com
OMAP Applications Processors www.ti.com/omap TI E2E Community e2e.ti.com
Wireless Connectivity www.ti.com/wirelessconnectivity
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright 2016, Texas Instruments Incorporated