What is the “C2000 series” of microcontrollers for real-time control?

A new product "TMS320F2800137" has appeared in the C2000 series of microcontrollers from Texas Instruments​ ​(hereafter TI). The C2000 series microcontrollers are highly recommended for applications where real-time control is important, such as motor control and digital power supplies.

This time, we will introduce three major features of the C2000 series.

table of contents

1. Three features of the C2000 series

・1. TI CPU core C28x capable of high-speed operation

・2. ADC for high-speed and accurate sensing

・3. Highly flexible ePWM

2. C2000 series lineup

・C2000 series new product

·inquiry

3. Related information

·Related article

・Manufacturer site/Other related links

Three features of the C2000 series

The C2000 series has an operating frequency of about 40-300 MHz, is equipped with TI 's C28x core, and is a middle-range microcontroller series with a lineup of single-core and dual-core. In this article, we will take the top model TMS320F28388D of the C2000 series as an example and explain its features.

1. TI CPU core C28x capable of high-speed operation

The TMS320F28388D is equipped with TI's 32-bit CPU C28x. The C28x is also equipped with extended instruction sets such as IEEE 754 double and single precision floating point unit (FPU64 or FPU32) and trigonometric unit (TMU).

Figure 1: Functional block diagram of TMS320F2838x

Figure 1: Functional block diagram of TMS320F2838x

Quote: TMS320F2838x Real-Time Microcontrollers With Connectivity Manager datasheet (Rev. D)

https://www.ti.com/lit/ds/symlink/tms320f28388d.pdf 

TMU that enables high-speed calculation

The C28x core of the TMS320F28388D incorporates an extended instruction set for trigonometric calculations called the TMU (Trigonometric Math Unit). Using FPU registers, it is an extended instruction set that can execute operations such as 2π multiplication/division and sin/cos/sqrt operations with a small number of instructions, so operations can be performed in a small number of CPU cycles.

Table 1: TMU Extended Instruction Set Examples

Table 1: TMU Extended Instruction Set Examples

Quote: TMS320C28x Extended Instruction Sets Technical Reference Manual (Rev. C)

https://www.ti.com/lit/ug/spruhs1c/spruhs1c.pdf

CLA for multi-core operations

In addition to the C28x CPU, the TMS320F28388D is equipped with an independent 32-bit single-precision floating-point arithmetic coprocessor called CLA (Control Law Accelerator). The CLA can implement control loops independently of the C28x core, and as shown in the figure below, the CLA alone is a coprocessor that can control peripherals such as ADC and ePWM. By separating the control program for the C28x core and CLA, it is possible to implement a host control CPU and a control CPU in one microcomputer.



Figure 2: CLA block diagram

Figure 2: CLA block diagram

Quote: TMS320F2838x Real-Time Microcontrollers With Connectivity Manager datasheet (Rev. D)

https://www.ti.com/lit/ds/symlink/tms320f28388d.pdf

2. ADC for fast and accurate sensing

The C2000 series includes a high-speed ADC module essential for motor control and digital power supplies.

It has the fastest conversion speed of 12.5 MSPS, resolution of 12-16 Bit, and simultaneous sampling of up to 4 channels.



SOC with many pins configurable as ADC inputs

As shown in the figure below, each ADC module is equipped with up to 16 ch​ ​SOC (start-of-conversions), each SOC can be set for input ch, and many pins can be assigned to ADC input pins. I can. In addition, the ADC conversion start trigger and sample time can be set for each SOC, enabling flexible ADC timing settings.

Figure 3: SOC per ADC module

Figure 3: SOC per ADC module

Quote: TMS320F2838x Real-Time Microcontrollers With Connectivity Manager TRM (Rev. D)

https://www.ti.com/lit/ug/spruii0d/spruii0d.pdf

Versatile conversion start trigger

ADC conversion start trigger can be selected from ePWM module, CPU timer, GPIO, software, etc.

In addition, the conversion start trigger for each SOC can be set by setting the registers as shown in the figure below, enabling flexible system design that matches each control.

Table 2: SOC0 conversion start trigger setting register

Table 2: SOC0 conversion start trigger setting register

Quote: TMS320F2838x Real-Time Microcontrollers With Connectivity Manager TRM (Rev. D)

https://www.ti.com/lit/ug/spruii0d/spruii0d.pdf

3. Flexible ePWM

The C2000 series is equipped with ePWM (Enhanced Pulse Width Modulator), a​ ​PWM module with many functions. In addition to the function to generate PWM signals, it is equipped with several types of sub-modules to realize various functions. The installed module is very high performance, up to 32ch and 16bit resolution (for TMS320F2838x).

Submodules that realize various functions

As shown in the figure below, the ePWM module has several types of sub-modules, and each sub-module has several functions. The ePWM module first outputs the PWM signal from the clock supplied to the ePWM module at Time-base (TB), then passes through each sub-module and outputs to the ePWM pin.

As an example of sub-module functions, Dead-Band (DB) can set the rising/falling delay time of PWM signals. With Action-Qualifier (AQ), it is possible to set the output state of PWM signal pins to Hi/Low/toggle, etc. by events (interrupts) from other submodules or comparators.

Figure 4: ePWM submodule on TMS320F2838x

Figure 4: ePWM submodule on TMS320F2838x

Quote: TMS320F2838x Real-Time Microcontrollers With Connectivity Manager TRM (Rev. D)

https://www.ti.com/lit/ug/spruii0d/spruii0d.pdf

Synchronization of counter with sync signal

In the Time-Base (TB) submodule that generates the PWM signal, the PWM counter (Time-Base counter) is synchronized with the preset value by the synchronization signal (EPWMxSYNCI) as shown in the figure below. has reached the set counter value (CMPA,B), the counter has reached 0, and so on.

With this function, for example, PWM signals of several channels can be synchronized at once, and control such as signal synchronization with another ePWM module becomes possible.

Figure 5: Timing chart for PWM signal synchronization

Figure 5: Timing chart for PWM signal synchronization

Quote: TMS320F2838x Real-Time Microcontrollers With Connectivity Manager TRM (Rev. D)

https://www.ti.com/lit/ug/spruii0d/spruii0d.pdf

Eliminates the need for external components by combining with a comparator

The Trip-Zone (TZ) sub-module functionality within the ePWM module allows events such as the built-in comparator to immediately shut down the PWM signal without CPU intervention. Since it can perform from event generation to PWM shutdown at extremely high speed, it leads to a reduction in the number of components for detecting abnormalities such as overcurrent, which were required outside the microcontroller in the past.



Figure 6: Trip-Zone submodule control logic

Figure 6: Trip-Zone submodule control logic

Quote: TMS320F2838x Real-Time Microcontrollers With Connectivity Manager TRM (Rev. D)

https://www.ti.com/lit/ug/spruii0d/spruii0d.pdf

C2000 series lineup

In addition to new products, the C2000 series has a variety of lineups. Piccolo is a single-core series, and Delfino has dual-core and single-core lineups.

Figure 7: C2000 series lineup

Figure 7: C2000 series lineup

C2000 series new product "TMS320F2800137"

The feature of the new product "TMS320F2800137" of the C2000 series is its extremely good cost performance.

With a maximum operating frequency of 120 MHz, a maximum PWM output of 14 ch, and an ADC resolution of 12 bits and 4 MSPS, this product has performance comparable to that of higher-end models. I have.

For more information on this product, please visit the New Products section within the C2000 product page.
 

Contact Us

If you are looking for detailed information about TI's middle-range general-purpose microcontrollers, the C2000 series, its features, lineup, and new products, please contact us here.

Related information

Click here for related articles

What is "CLA" installed in TI's C2000 series microcontroller?

Click here for manufacturer site/other related links

C2000 microcontroller overview
CLA Frequently Asked Questions (English)

Macnica TI manufacturer page