Texas Instruments TMS320F28021PTS
- Part No.:
- TMS320F28021PTS
- Manufacturer:
- Texas Instruments
- Category:
- Microcontrollers
- Package:
- 48-LQFP
- Datasheet:
-
TMS320F28021PTS.pdf
- Description:
- IC MCU 32BIT 64KB FLASH 48LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:3,905
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
TMS320F28021PTS from Texas Instruments is a 32-bit C28x-core microcontroller optimized for real-time motor and power control, operating at 40 MHz (25-ns cycle time), featuring 8 kB flash, 3 kB SARAM, 12-bit ADC with 7 channels, 8 ePWM channels, and integrated comparators - deployed in AC-input BLDC motor drives and industrial AC-DC power stages.
For engineers reviewing the TMS320F28021PTS datasheet, TMS320F28021PTS pinout, TMS320F28021PTS application, or TMS320F28021PTS equivalent, key selection criteria include its 40-MHz deterministic C28x CPU, LQFP-48 package with 22 GPIOs, HRPWM-capable ePWM modules, on-chip VREG for single 3.3-V supply operation, and temperature rating of –40°C to 105°C (T-grade).
Technical Context
The TMS320F28021PTS implements a Harvard-architecture C28x CPU with atomic instructions and unified memory model, enabling deterministic real-time loop execution. Its clock system integrates dual zero-pin oscillators, crystal support via X1/X2, and PLL-based frequency synthesis - all managed through CLKCTL and XCLK registers.
Peripheral integration centers on closed-loop control: eight ePWM modules (four with high-resolution capability), two analog comparators with internal 10-bit references, and a 12-bit ADC with dual sample-and-hold supporting ratio-metric VREFHI/VREFLO referencing - all synchronized via EPWMSYNCI/EPWMSYNCO signals and routed through GPIO multiplexing.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | C28x 32-bit fixed-point, 40 MHz (25-ns cycle time), little-endian, Harvard bus |
| Memory | 8 kB flash (16-bit word), 3 kB SARAM (0-wait), 1 kB OTP, 8 kB boot ROM |
| ADC | 12-bit, 7-channel, 500-ns conversion time, dual sample-and-hold, ratio-metric reference support |
| ePWM | 8 channels (ePWM1–4), 4 with high-resolution capability (HRPWM), independent 16-bit timers per module |
| Comparators | 2 analog comparators with internal 10-bit DAC references, outputs routable to PWM trip zones |
| Package & Temp | LQFP-48 (7.0 mm × 7.0 mm), industrial grade (–40°C to 105°C) |
| I/O | 22 programmable GPIO pins with input filtering, JTAG debug interface (TCK/TMS/TDI/TDO/TRST) |
Pinout & Package
Package: PT (Low-Profile Quad Flatpack, LQFP-48), 7.0 mm × 7.0 mm body size, 0.5-mm pitch, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD / VDDIO / VDDA | Power supply rails | VDD = core I/O (3.3 V), VDDIO = digital I/O (3.3 V), VDDA = analog (3.3 V); no sequencing required due to integrated VREG |
| X1 / X2 | Clock input/output | Crystal oscillator terminals for 1.8-V resonator; X1 requires GND tie if unused; X2 left floating if unused |
| GPIO0–GPIO7, GPIO12, GPIO16–GPIO19, GPIO28–GPIO38 | Multiplexed I/O | 22 total GPIOs; default reset state is GPIO function; peripheral alternate functions include EPWMxA/B, ECAP1, SCIRXDA/SCITXDA, SPIx, I2Cx, TZx, XCLKOUT |
| ADCINA0–ADCINA7, ADCINB2–ADCINB7 | Analog inputs | Group A: 7 channels (0–7); Group B: 6 channels (2, 4, 6, 7); AIO pins (e.g., AIO2/AIO4/AIO6/AIO10/AIO12/AIO14) share same physical pins |
| COMP1A/COMP1B/COMP2A/COMP2B | Comparator inputs | Dedicated analog comparator inputs; COMP1A/B available on all packages; COMP2A/B only on 48-pin PT variant |
| TCK/TMS/TDI/TDO/TRST | JTAG debug interface | IEEE 1149.1-compliant boundary scan; TRST requires external 2.2-kΩ pulldown; TCK/TMS/TDI have internal pullups |
Key Features
| Feature | Design Value |
|---|---|
| Single-rail 3.3-V operation | Integrated voltage regulator eliminates need for external 1.8-V rail; simplifies power design and reduces BOM count |
| High-resolution PWM | Four ePWM channels support sub-nanosecond duty-cycle resolution via HRPWM extension - critical for precise gate timing in SiC/GaN inverters |
| Comparator-to-PWM routing | Comparator outputs (COMP1OUT/COMP2OUT) directly feed ePWM trip-zone (TZ) inputs - enables hardware-fast overcurrent shutdown without CPU intervention |
| Code security module | 128-bit encryption key and lock mechanism protects flash/SARAM/OTP blocks against firmware extraction and reverse engineering |
| Peripheral Interrupt Expansion (PIE) | Centralized interrupt vector mapping supports all 12 peripheral interrupt sources with low-latency response (< 6 CPU cycles) |
Applications
| AC-input BLDC Motor Drive | Industrial AC-DC Power Stage |
|---|---|
Use Scenario: Sensorless commutation of 3-phase BLDC motors powered directly from rectified AC line (e.g., HVAC blowers, pumps). IC Role / Device Role / Timing Role: Real-time current/voltage sampling, space-vector PWM generation, and field-oriented control (FOC) loop execution at ≤25-μs intervals. Use Value: 40-MHz C28x core ensures deterministic FOC loop timing; 12-bit ADC with dual sample-and-hold captures simultaneous phase currents; HRPWM enables <100-ps dead-time control. |
Use Scenario: Digital control of PFC + LLC resonant converter stages in telecom rectifiers and server PSUs. IC Role / Device Role / Timing Role: High-frequency PWM modulation (≥100 kHz), analog sensing of output voltage/current, and adaptive loop compensation via on-chip ePWM/ADC synchronization. Use Value: EPWMSYNCI/EPWMSYNCO signals coordinate multi-phase PWM timing; on-chip comparators provide fast overvoltage protection; 3.3-V single-supply operation reduces auxiliary bias complexity. |
| Micro Inverter | Three-Phase UPS |
Use Scenario: Grid-tied solar microinverters converting DC from single PV panels into synchronized AC output. IC Role / Device Role / Timing Role: MPPT algorithm execution, isolated current sensing, grid-synchronization (PLL), and sinusoidal PWM generation with harmonic suppression. Use Value: 8 ePWM channels enable interleaved full-bridge control; SCI UART supports Modbus/RS-485 communication; temperature sensor monitors heatsink thermal margin. |
Use Scenario: Online double-conversion UPS systems requiring seamless transfer between utility and battery backup with clean sine-wave output. IC Role / Device Role / Timing Role: Dual-loop control (voltage outer loop, current inner loop), battery charge management, and real-time waveform synthesis using ePWM and lookup tables. Use Value: 32-bit CPU timers support precise 50/60-Hz waveform generation; watchdog timer ensures fail-safe shutdown during control faults; code security prevents unauthorized firmware updates. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar real-time control applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| TMS320F28022PT | 50-MHz C28x core, 16 kB flash, 13-channel ADC, 13 AIO pins | Higher ADC channel count and faster CPU support more complex observer-based FOC in servo drives | Select when >7 ADC channels or >40-MHz loop bandwidth required; same LQFP-48 footprint |
| TMS320F28023PT | 50-MHz C28x core, 32 kB flash, 13-channel ADC, 13 AIO pins, SCI UART interface | SCI peripheral enables host MCU communication; larger flash supports bootloader + application partitioning | Choose for designs needing UART-based diagnostics or field firmware updates; pin-compatible upgrade path |
Compared with TMS320F28022PT and TMS320F28023PT, the TMS320F28021PTS offers minimal cost-optimized control for fixed-function applications - trading flash size, ADC channels, and serial interfaces for lower BOM cost and smaller code footprint, while retaining identical ePWM/HRPWM and comparator functionality in the same LQFP-48 package.
Availability
TMS320F28021PTS is available at Aetrix Electronics and suitable for AC-input BLDC motor drive, industrial AC-DC power stage, and micro inverter applications requiring stable component supply across extended production lifecycles.
Supply support for TMS320F28021PTS 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 deterministic closed-loop control in motor drives, digital power, and energy conversion systems - emphasizing low-latency peripherals, analog integration, and code compatibility across generations.
FAQ
What is the maximum operating frequency of the TMS320F28021PTS?
The TMS320F28021PTS operates at a maximum CPU frequency of 40 MHz, corresponding to a 25-ns instruction cycle time. This speed is fixed per device variant and confirmed in the Device Comparison table (Table 6-1) of the SPRS523P datasheet. The 40-MHz rating applies across the full industrial temperature range (–40°C to 105°C) under recommended operating conditions (3.3-V supply).
Does the TMS320F28021PTS include a UART interface?
No, the TMS320F28021PTS does not include a Serial Communications Interface (SCI) UART peripheral. According to Table 6-1 in the SPRS523P datasheet, SCI is marked "0" for the TMS320F28021 variant. UART functionality is available only in higher variants such as TMS320F28022PT and TMS320F28023PT - making the TMS320F28021PTS suitable for cost-sensitive applications where host communication is handled externally or omitted.
How many high-resolution PWM channels does the TMS320F28021PTS support?
The TMS320F28021PTS supports four high-resolution PWM (HRPWM) channels - specifically ePWM1A, ePWM2A, ePWM3A, and ePWM4A - as documented in the Device Comparison table (Table 6-1) and Functional Block Diagram (Figure 4-1). Each HRPWM channel extends standard ePWM timing resolution to sub-nanosecond levels, enabling precise dead-time control essential for SiC and GaN power stages.
What analog input channels are available on the TMS320F28021PTS?
The TMS320F28021PTS features a 12-bit ADC with seven input channels (ADCINA0–ADCINA6), plus six additional channels on Group B (ADCINB2, ADCINB4, ADCINB6, ADCINB7), totaling 13 analog inputs. However, only seven Group A channels are accessible in the 48-pin PT package per pinout documentation (Figure 7-1), with ADCINB channels shared on AIO pins - confirming actual usable analog inputs as seven dedicated and six multiplexed, consistent with Table 6-1.
Is the TMS320F28021PTS pin-compatible with other F2802x devices in LQFP-48 packaging?
Yes, the TMS320F28021PTS shares identical pinout, package dimensions (7.0 mm × 7.0 mm), and footprint with other F2802x PT variants including TMS320F28022PT, TMS320F28023PT, and TMS320F28026PT - as verified in the Device Information table and Figure 7-1 (48-pin PT LQFP top view). This allows direct PCB reuse across the F2802x family when upgrading flash size, CPU speed, or peripheral count.
TMS320F28021PTS Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Texas Instruments
- Package/Case:
- 48-LQFP
- Series:
- C2000™ C28x Piccolo™
- Packaging:
- Tray
- 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:
- 22
- 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 13x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
TMS320F28021PTS FAQ
1.How can I place an order for TMS320F28021PTS through Aetrix?
Please submit a Request for Quotation (RFQ) for TMS320F28021PTS 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 TMS320F28021PTS reliable?
The price and inventory of TMS320F28021PTS are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for TMS320F28021PTS is usually 5 days.
3.What payment methods are accepted for TMS320F28021PTS?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for TMS320F28021PTS transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for TMS320F28021PTS?
TMS320F28021PTS orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your TMS320F28021PTS 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 TMS320F28021PTS?
For technical support, including TMS320F28021PTS datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your TMS320F28021PTS requirements.
6.How does Aetrix verify that TMS320F28021PTS is sourced from the original manufacturer or authorized distributors?
All TMS320F28021PTS 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 TMS320F28021PTS meets industry standards.
7.What is the process for return or replacement of TMS320F28021PTS?
All TMS320F28021PTS units undergo pre-shipment inspection (PSI). If there is an issue with TMS320F28021PTS, 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 TMS320F28021PTS part is unused and in its original packaging.
Return procedure for TMS320F28021PTS:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
TMS320F28021PTS 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…

