Texas Instruments TMS320F28021DAS
- Part No.:
- TMS320F28021DAS
- Manufacturer:
- Texas Instruments
- Category:
- Microcontrollers
- Package:
- 38-TSSOP (0.240", 6.10mm Width)
- Datasheet:
-
TMS320F28021DAS.pdf
- Description:
- IC MCU 32BIT 64KB FLASH 38TSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:179
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
TMS320F28021DAS from Texas Instruments is a 32-bit C28x-core microcontroller optimized for real-time motor control and digital power applications, operating at 40 MHz (25-ns cycle time), featuring 8 kB flash, 3 kB SARAM, 3-channel 12-bit ADC with 500-ns conversion time, and 8 ePWM channels with HRPWM support in a 38-pin TSSOP package rated for –40°C to 125°C.
For engineers reviewing the TMS320F28021DAS datasheet, TMS320F28021DAS pinout, TMS320F28021DAS application, or TMS320F28021DAS equivalent, key selection considerations include its 40-MHz deterministic C28x CPU, integrated analog comparators with direct PWM routing, single 3.3-V supply operation, and compact DA-package footprint for space-constrained inverter designs.
Technical Context
The TMS320F28021DAS implements a Harvard-architecture C28x CPU with atomic instructions and fast interrupt response, enabling tight-loop control in motor drives. Its peripheral set includes three 32-bit CPU timers, eight ePWM modules (four with high-resolution capability), one eCAP input, and dual 12-bit ADC groups supporting simultaneous sampling.
Clocking is managed via dual zero-pin oscillators or external crystal/XCLKIN, with integrated POR/BOR and watchdog timer. The device uses an internal voltage regulator for single-rail 3.3-V operation and supports code security via 128-bit key lock on flash, SARAM, and OTP memory blocks.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | C28x 32-bit fixed-point, 40 MHz (25-ns cycle time), Harvard architecture, unified memory model |
| Flash Memory | 8 kB × 16-bit, secured via 128-bit key lock; enables firmware IP protection in production systems |
| RAM | 3 kB × 16-bit SARAM (0-wait-state), used for real-time control buffers and stack operations |
| ADC | 12-bit, two independent groups (A/B), 7 total channels, 500 ns conversion time, ratio-metric VREFHI/VREFLO support |
| ePWM Channels | 8 channels (ePWM1–4, each with A/B outputs), 4 with high-resolution capability for <150-ps duty-cycle resolution |
| Package & Temp | 38-pin TSSOP (DA), body size 12.5 mm × 6.2 mm, industrial temperature range –40°C to 125°C (S-grade) |
| Peripherals | 1× SCI (UART), 1× SPI, 1× I²C, 1× eCAP, 3× CPU timers, on-chip temperature sensor, analog comparators (2) |
Pinout & Package
Package: 38-pin Thin Shrink Small-Outline Package (TSSOP), 0.65-mm pitch, 12.5 mm × 6.2 mm body size, lead-free and RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD / VDDIO | Power supply inputs | VDD = core/analog 3.3 V; VDDIO = I/O 3.3 V; no sequencing required; internal regulator enables single-rail operation |
| XRS | Reset input/output | Open-drain reset pin driven low during POR/BOR/watchdog timeout; supports external reset assertion and system-level fault signaling |
| GPIO0/EPWM1A | Programmable I/O / PWM output | Primary high-side PWM output for phase-A leg; configurable as GPIO or EPWM1A with dead-time insertion support |
| GPIO1/EPWM1B/COMP1OUT | Multi-function pin | Provides complementary PWM output (EPWM1B) or comparator output (COMP1OUT) for closed-loop current limiting |
| ADCINA0/VREFHI | Analog input / reference | ADC channel 0 input or external high reference source; enables ratiometric sensing when paired with VREFLO |
| GPIO28/SDAA/TZ2 | I²C data / trip zone input | Supports I²C slave communication or fast hardware fault shutdown (TZ2) for overcurrent/overtemperature protection |
| X1 / X2 | Crytal oscillator interface | Connects to external quartz crystal (1–20 MHz); X1 is input, X2 is output; requires both pins tied together with crystal |
| TRST / TCK / TMS / TDI / TDO | JTAG debug interface | IEEE 1149.1-compliant boundary-scan and emulation; TRST must be externally pulled low for functional mode |
Key Features
| Feature | Design Value |
|---|---|
| Single 3.3-V supply operation | Eliminates multi-rail power design complexity and reduces BOM cost in motor drive and PSU applications |
| Integrated analog comparators | Two comparators with internal 10-bit references, directly routable to ePWM trip zones for sub-microsecond overcurrent shutdown |
| High-resolution PWM (HRPWM) | Four HRPWM channels enable <150-ps duty-cycle resolution for precise timing in resonant LLC and Class-D audio designs |
| Code-security module | 128-bit encrypted key lock prevents unauthorized read-out of flash/SARAM/OTP, protecting proprietary motor algorithms |
| Peripheral Interrupt Expansion (PIE) | Centralized vectoring of all peripheral interrupts to CPU with minimal latency, critical for deterministic real-time response |
Applications
| Air Conditioner Outdoor Unit | Inverter & Motor Control |
|---|---|
Use Scenario: Variable-speed compressor and fan control in residential and commercial HVAC systems. IC Role / Device Role / Timing Role: Real-time execution of field-oriented control (FOC) loops, ADC sampling of phase currents, and generation of gate-drive signals via ePWM. Use Value: Enables >95% efficiency across load range and silent operation via precise 40-kHz PWM switching and HRPWM dead-time optimization. | Use Scenario: Closed-loop speed/torque control of BLDC and PMSM motors in industrial automation and robotics. IC Role / Device Role / Timing Role: C28x CPU executes FOC algorithm at 20 kHz loop rate; ADC captures current feedback with 500-ns conversion; ePWM delivers synchronized gate pulses. Use Value: Achieves ±0.1% speed regulation and <10-µs fault response using integrated comparators and TZ inputs for hardware-based shutdown. |
| Micro Inverter | AC-input BLDC Motor Drive |
Use Scenario: DC-to-AC conversion in solar panel-level inverters with MPPT and grid-synchronization functions. IC Role / Device Role / Timing Role: Executes dual-loop control (inner current + outer voltage), samples DC-link voltage/current, and generates SPWM with synchronization to grid zero-crossing via eCAP. Use Value: Supports IEEE 1547-compliant anti-islanding detection and 97.5% peak efficiency using 40-MHz deterministic timing and dual-sample-and-hold ADC. | Use Scenario: Fan and pump drives powered directly from AC mains via rectified input. IC Role / Device Role / Timing Role: Controls six-step or sinusoidal commutation using ePWM outputs, monitors line voltage via ADCINA7, and manages thermal protection via on-chip temperature sensor. Use Value: Reduces system component count by integrating comparator-based overvoltage clamping and hardware trip-zone shutdown without external logic. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar real-time control applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| TMS320F28022DA | 50-MHz CPU, 16-kB flash, 5-kB SARAM, 13-channel ADC, 2× comparators | Higher performance and memory for complex observer-based FOC or dual-motor control | Select when >40-MHz loop rates or additional ADC channels are required; same DA package and pinout |
| TMS320F28023DA | 50-MHz CPU, 32-kB flash, 6-kB SARAM, 13-channel ADC, 2× comparators, 1× SCI | Includes UART interface for host communication and diagnostics in networked drives | Choose when serial telemetry or firmware updates over SCI are needed; retains identical DA footprint and peripheral compatibility |
Compared with TMS320F28021DAS, the TMS320F28022DA offers higher clock speed and memory for enhanced control fidelity, while the TMS320F28023DA adds SCI for system-level integration-both maintain pin-for-pin compatibility in the 38-pin DA package but require validation of flash layout and peripheral initialization.
Availability
TMS320F28021DAS is available at Aetrix Electronics and suitable for air conditioner outdoor units, micro inverters, and AC-input BLDC motor drives requiring stable component supply, long-term industrial temperature support, and TI-qualified automotive-grade reliability.
Supply support for TMS320F28021DAS includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
Texas Instruments is a global semiconductor company delivering analog and embedded processing solutions, with leadership in signal chain and real-time control technologies.
The TMS320F2802x family belongs to TI's C2000™ real-time microcontroller portfolio, designed specifically for high-precision closed-loop control in motor drives, digital power, and renewable energy systems.
FAQ
What is the maximum operating frequency of the TMS320F28021DAS?
The TMS320F28021DAS operates at a maximum CPU frequency of 40 MHz, corresponding to a 25-ns instruction cycle time. This speed is fixed for the -21 variant and is confirmed in TI's SPRS523P datasheet Table 6-1. The device does not support dynamic frequency scaling; clock configuration is set at boot via PLL and oscillator settings. All timing-critical peripherals-including ePWM, ADC, and CPU timers-are synchronized to this 40-MHz base clock.
Does the TMS320F28021DAS include a UART interface?
No, the TMS320F28021DAS does not include a Serial Communications Interface (SCI) UART peripheral. According to TI's device comparison table (SPRS523P, Table 6-1), SCI is absent in the F28021 variant. It provides SPI and I²C interfaces only. If UART functionality is required, engineers should consider the pin-compatible TMS320F28023DA, which integrates one SCI module while retaining the same 38-pin DA package and temperature rating.
What analog peripherals are integrated into the TMS320F28021DAS?
The TMS320F28021DAS integrates a 12-bit dual-sample-and-hold ADC with 7 input channels (Group A only), two analog comparators (COMP1 and COMP2) with internal 10-bit references, an on-chip temperature sensor, and dedicated analog I/O pins (AIO2, AIO4, AIO6, AIO10, AIO12, AIO14). It lacks Group B ADC channels and second comparator inputs found in higher variants like the F28023, per Table 6-1 and Section 7.2.1 signal descriptions.
Is the TMS320F28021DAS pin-compatible with other F2802x DA-package devices?
Yes, the TMS320F28021DAS is fully pin-compatible with all other 38-pin DA-package F2802x variants-including TMS320F28020DA, TMS320F28022DA, and TMS320F28023DA-as confirmed by identical pin diagrams in Figure 7-2 of SPRS523P. Signal mapping, power pin locations, and JTAG interface are identical; differences lie only in internal memory size, clock speed, and peripheral enablement-not pin function or placement.
What is the purpose of the VREGENZ pin on the TMS320F28021DAS?
The VREGENZ pin on the TMS320F28021DAS controls the internal voltage regulator enable/disable function. When pulled high, it activates the on-chip 1.8-V regulator for core logic; when pulled low, the regulator is disabled and an external 1.8-V supply must be provided. This pin allows flexible power architecture design and is required to be externally biased-TI specifies a pull-up resistor for normal operation. Its state is sampled at power-up and determines boot behavior.
TMS320F28021DAS Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Texas Instruments
- Package/Case:
- 38-TSSOP (0.240", 6.10mm Width)
- Series:
- C2000™ C28x Piccolo™
- Packaging:
- Bulk
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- C28x
- Core Size:
- 32-Bit Single-Core
- Speed:
- 40MHz
- Connectivity:
- I2C, SCI, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, POR, PWM, WDT
- Number of I/O:
- 20
- Program Memory Size:
- 64KB (32K x 16)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 5K x 16
- Voltage - Supply (Vcc/Vdd):
- 1.71V ~ 1.995V
- Data Converters:
- A/D 7x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
TMS320F28021DAS FAQ
1.How can I place an order for TMS320F28021DAS through Aetrix?
Please submit a Request for Quotation (RFQ) for TMS320F28021DAS on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for TMS320F28021DAS reliable?
The price and inventory of TMS320F28021DAS are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for TMS320F28021DAS is usually 5 days.
3.What payment methods are accepted for TMS320F28021DAS?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for TMS320F28021DAS transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for TMS320F28021DAS?
TMS320F28021DAS orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your TMS320F28021DAS order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for TMS320F28021DAS?
For technical support, including TMS320F28021DAS datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your TMS320F28021DAS requirements.
6.How does Aetrix verify that TMS320F28021DAS is sourced from the original manufacturer or authorized distributors?
All TMS320F28021DAS products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that TMS320F28021DAS meets industry standards.
7.What is the process for return or replacement of TMS320F28021DAS?
All TMS320F28021DAS units undergo pre-shipment inspection (PSI). If there is an issue with TMS320F28021DAS, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The TMS320F28021DAS part is unused and in its original packaging.
Return procedure for TMS320F28021DAS:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
TMS320F28021DAS Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

