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

- Shipping:

Inventory:466
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
TMS320F28021PTT 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 (500 ns conversion time), 8 ePWM channels with HRPWM support, and integrated comparators. It targets compact inverter power stages and BLDC motor drives requiring deterministic timing and analog integration.
For engineers reviewing the TMS320F28021PTT datasheet, TMS320F28021PTT pinout, TMS320F28021PTT application, or TMS320F28021PTT equivalent, key selection criteria include its 48-pin LQFP package, 40-MHz CPU speed, on-chip VREG enabling single 3.3-V supply operation, HRPWM dual-edge modulation capability, and compatibility with TI's InstaSPIN-FOC ecosystem for rapid motor control deployment.
Technical Context
The TMS320F28021PTT implements the C28x CPU core with Harvard bus architecture, atomic operations, and unified memory model-enabling efficient C/C++ execution and fast interrupt response. Its peripheral set includes three 32-bit CPU timers, PIE-interrupt expansion, and dedicated ePWM modules with independent 16-bit timers per channel.
It integrates analog functions directly tied to control loops: two analog comparators (COMP1A/B, COMP2A/B) with internal 10-bit references, routable to PWM trip zones; a 7-channel 12-bit ADC with dual sample-and-hold and ratio-metric reference support (VREFHI/VREFLO); and an on-chip temperature sensor-all synchronized to the real-time control subsystem.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | C28x 32-bit fixed-point, 40 MHz (25-ns cycle time), little-endian |
| Flash Memory | 8 kB × 16-bit, secure, with code-security module and 128-bit lock key |
| SARAM | 3 kB × 16-bit, zero-wait-state operation for deterministic loop execution |
| ADC | 12-bit, 7-channel, 500 ns conversion time, dual sample-and-hold, ratio-metric reference support |
| ePWM Channels | 8 channels with high-resolution extension (HRPWM) on EPWM1A/2A/3A/4A for sub-nanosecond dead-time control |
| Comparators | 2 analog comparators (COMP1, COMP2), each with A/B inputs and output routing to PWM trip zones |
| Package | 48-pin LQFP (PT), 7.0 mm × 7.0 mm, industrial temperature range (–40°C to 105°C) |
| Power Supply | Single 3.3-V rail; integrated voltage regulator eliminates external LDO requirement |
Pinout & Package
Package: 48-pin Low-Profile Quad Flatpack (LQFP), body size 7.0 mm × 7.0 mm, lead pitch 0.5 mm, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VDDIO, VDDA | Power supply rails | VDD = core I/O (3.3 V); VDDIO = I/O buffer supply (3.3 V); VDDA = analog ADC/comparator supply (3.3 V) |
| VSS, VSSA | Ground connections | VSS = digital ground; VSSA = isolated analog ground for ADC noise immunity |
| XRS | Reset input/output | Open-drain reset signal driven low during POR/BOR/watchdog timeout; requires external pullup |
| X1/X2 | Crytal oscillator interface | Supports external 1.8-V crystal/resonator; X1 input, X2 output; disabled when using internal oscillator |
| GPIO0–GPIO7, GPIO12, GPIO16–GPIO19, GPIO28–GPIO38 | Multiplexed I/O | 22 programmable GPIO pins with input filtering; default reset state is GPIO function; JTAG pins (TCK/TMS/TDI/TDO) share GPIO35–38 |
| EPWM1A/1B–EPWM4A/4B | PWM outputs | 8 dedicated PWM outputs with dead-band generation; HRPWM enables dual-edge modulation on A-side outputs |
| ADCINA0–ADCINA7, ADCINB0–ADCINB7 | ADC inputs | Group A (7 channels) and Group B (7 channels) analog inputs; only ADCINA0–6 and ADCINB0–6 are accessible on PT package |
| COMP1A/1B, COMP2A/2B | Comparator inputs | Two independent comparators; COMP1 supports all packages; COMP2 available only on 48-pin PT devices |
| SCITXDA/SCIRXDA, SPISIMOA/SPISOMIA/SPISTEA/SPICLKA, SDAA/SCLA | Serial interfaces | SCI (UART), SPI, and I²C peripherals each with dedicated FIFO and multiplexed GPIO pins |
Key Features
| Feature | Design Value |
|---|---|
| On-chip voltage regulator (VREG) | Enables single 3.3-V supply operation-eliminates need for external 1.8-V LDO and simplifies power sequencing |
| High-Resolution PWM (HRPWM) | Provides sub-nanosecond PWM edge placement resolution on EPWM1A/2A/3A/4A for precise dead-time control in SiC/GaN gate drivers |
| Analog comparator-to-PWM routing | Direct hardware connection from COMP1OUT/COMP2OUT to ePWM trip-zone inputs enables cycle-by-cycle overcurrent protection without CPU intervention |
| Code security module | 128-bit encryption key and lock mechanism prevents unauthorized read-out of flash/SARAM/OTP memory blocks |
| Peripheral Interrupt Expansion (PIE) | Centralized interrupt vector mapping supports all 12 peripheral interrupt sources with configurable priority and latency control |
| Boot ROM with flash API | 8 kB on-chip ROM contains flash programming routines and boot loader-reduces firmware development overhead for field updates |
Applications
| Air Conditioner Outdoor Unit | Inverter & Motor Control |
|---|---|
Use Scenario: Compressor and fan motor control in residential and commercial HVAC systems with variable-speed drive requirements. IC Role / Device Role / Timing Role: Real-time closed-loop FOC (Field-Oriented Control) execution engine managing current/voltage sensing, PWM generation, and thermal monitoring. Use Value: Integrated ADC, comparators, and HRPWM enable <1 µs current-loop response time and seamless integration with TI's InstaSPIN-FOC libraries. | Use Scenario: Compact 3-phase BLDC or PMSM motor drives for industrial automation, robotics, and home appliances. IC Role / Device Role / Timing Role: Deterministic motor control MCU handling position estimation, torque regulation, and fault management in under 10 µs loop cycles. Use Value: Single-supply operation and 48-pin LQFP reduce BOM count and PCB area; on-chip temperature sensor enables real-time thermal derating. |
| Micro Inverter | AC-input BLDC Motor Drive |
Use Scenario: Solar micro-inverters converting DC from individual PV panels to grid-synchronized AC with MPPT and anti-islanding protection. IC Role / Device Role / Timing Role: Dual-role controller executing MPPT algorithm and grid-synchronized PWM generation with precise phase alignment. Use Value: 40-MHz C28x core delivers sufficient MIPS for concurrent MPPT + grid sync; HRPWM ensures clean sinusoidal output with minimal THD. | Use Scenario: Fan, pump, and compressor drives accepting universal AC input (90–264 VAC) with active PFC and motor control in one board. IC Role / Device Role / Timing Role: Coordinated control unit managing interleaved PFC stage and inverter stage via shared ADC and timer resources. Use Value: 7-channel ADC supports simultaneous voltage/current sensing across both stages; GPIO multiplexing allows flexible signal routing without additional 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 |
|---|---|---|---|
| TMS320F28022PTT | 50 MHz CPU, 16 kB flash, 5 kB SARAM, 13-channel ADC (260 ns), 2 comparators | Higher performance for complex observer-based FOC or multi-motor control | Select when >40 MIPS or >8 kB flash required; same pinout and peripheral set |
| TMS320F28023PTT | 50 MHz CPU, 32 kB flash, 6 kB SARAM, 13-channel ADC (260 ns), 2 comparators, InstaSPIN-FOC enabled | Pre-integrated motor control firmware acceleration and tuning support | Choose for rapid deployment of sensorless BLDC/PMSM drives; identical LQFP-48 footprint |
Compared with TMS320F28022PTT and TMS320F28023PTT, the TMS320F28021PTT offers cost-optimized entry-level performance with sufficient resources for single-motor sensored FOC or basic digital power control-retaining full software compatibility while reducing flash and ADC channel count.
Availability
TMS320F28021PTT is available at Aetrix Electronics and suitable for inverter & motor control, air conditioner outdoor units, and micro inverter designs requiring stable component supply, long-term industrial lifecycle support, and traceable sourcing.
Supply support for TMS320F28021PTT 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 for industrial, automotive, and consumer applications.
The TMS320F28021PTT belongs to TI's C2000™ real-time microcontroller product line, designed specifically for closed-loop control in power electronics, motor drives, and energy systems-emphasizing deterministic timing, analog integration, and code efficiency.
FAQ
What is the maximum operating frequency of the TMS320F28021PTT?
The TMS320F28021PTT operates at a maximum CPU frequency of 40 MHz, corresponding to a 25-ns instruction cycle time. This speed is fixed for the TMS320F28021 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 system clock control registers. All timing-critical peripherals-including ePWM, ADC, and HRPWM-are synchronized to this 40-MHz SYSCLK.
Does the TMS320F28021PTT support hardware-based motor control features like HRPWM and comparator-to-PWM trip zones?
Yes, the TMS320F28021PTT includes hardware-accelerated motor control features: four HRPWM channels (EPWM1A/2A/3A/4A) enabling sub-nanosecond edge placement, and two analog comparators (COMP1 and COMP2) with outputs directly routable to ePWM trip-zone inputs. These features allow cycle-by-cycle overcurrent protection and precise dead-time management without CPU intervention-critical for SiC/GaN-based inverter designs.
What memory resources are available on the TMS320F28021PTT?
The TMS320F28021PTT integrates 8 kB of on-chip flash memory (16-bit words), 3 kB of zero-wait-state SARAM, 1 kB of OTP memory, and an 8 kB boot ROM containing flash API routines. Flash and SARAM are protected by the code-security module with 128-bit encryption key. No external memory interface is provided-the architecture relies on internal memory for deterministic real-time execution.
Is the TMS320F28021PTT pin-compatible with other F2802x family members in the 48-pin LQFP package?
Yes, the TMS320F28021PTT shares identical pinout, electrical characteristics, and package dimensions (48-pin PT LQFP, 7.0 mm × 7.0 mm) with TMS320F28022PTT, TMS320F28023PTT, TMS320F28026PTT, and TMS320F28027PTT. This allows direct PCB reuse across the F2802x family-software and layout can be scaled upward in performance or memory without hardware redesign.
What analog peripherals are integrated into the TMS320F28021PTT?
The TMS320F28021PTT integrates a 12-bit, 7-channel ADC with 500 ns conversion time and dual sample-and-hold; two analog comparators (COMP1 and COMP2) with internal 10-bit references; an on-chip temperature sensor; and dedicated analog supply pins (VDDA/VSSA). All analog inputs are referenced to the 3.3-V supply, supporting ratio-metric measurements using VREFHI/VREFLO. COMP2 is available only on the 48-pin PT package.
TMS320F28021PTT 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 ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
TMS320F28021PTT FAQ
1.How can I place an order for TMS320F28021PTT through Aetrix?
Please submit a Request for Quotation (RFQ) for TMS320F28021PTT 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 TMS320F28021PTT reliable?
The price and inventory of TMS320F28021PTT are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for TMS320F28021PTT is usually 5 days.
3.What payment methods are accepted for TMS320F28021PTT?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for TMS320F28021PTT transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for TMS320F28021PTT?
TMS320F28021PTT orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your TMS320F28021PTT 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 TMS320F28021PTT?
For technical support, including TMS320F28021PTT datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your TMS320F28021PTT requirements.
6.How does Aetrix verify that TMS320F28021PTT is sourced from the original manufacturer or authorized distributors?
All TMS320F28021PTT 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 TMS320F28021PTT meets industry standards.
7.What is the process for return or replacement of TMS320F28021PTT?
All TMS320F28021PTT units undergo pre-shipment inspection (PSI). If there is an issue with TMS320F28021PTT, 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 TMS320F28021PTT part is unused and in its original packaging.
Return procedure for TMS320F28021PTT:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
TMS320F28021PTT 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…

