Customizable on-chip peripherals subvert traditional logic, TI helps engineers unleash their creativity

Publisher:EE小广播Latest update time:2021-11-30 Source: EEWORLDKeywords:TI  C2000  MCU  CLB  ePWM Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Customizable on-chip peripherals subvert traditional logic, TI helps engineers unleash their creativity


image.png


It’s a familiar scene in labs around the world: Design engineers push the limits, trying to add functionality or improve performance. However, when they drill down to the underlying system timing, they hit a design impasse. Because they may need to change the solution for a critical control signal. This situation limits engineers’ creativity and only hopes: “I wish I could customize the logic and timing within the control peripheral.” Now, with the Configurable Logic Blocks (CLBs) of C2000™ microcontrollers (MCUs), this wish has become a reality.


What is a CLB? CLB integrates an optimized high-speed programmable logic into a real-time controller such as a C2000 MCU, providing intelligent signal input/output (I/O) routing capabilities for key peripherals such as enhanced pulse width modulator (PWM), enhanced capture, enhanced quadrature encoder, and general purpose I/O, ultimately becoming an enhanced intellectual property (IP) block with system-level differentiation.


image.png

Figure 1: Example of a CLB tool unit block


As shown in Figure 1, the CLB tool consists of two, four, or eight logic blocks, each of which contains a complete set of optimized programmable logic cells, including:


  • Three 4-input look-up tables (LUT4)

  • Three 32-bit counters (Ctr32)

  • Three 4-state finite state machines (FSM)

  • Eight 3-input-output lookup tables (L3)

  • A high level controller (HLC)


By configuring these blocks individually and connecting them together, you can generate custom logic schemes that provide novel solutions to complex system problems, such as writing application-specific logic for protection trigger conditions, enhancing types of soft-switching PWM, or implementing quadrature encoder position capture based on special conditions.


To facilitate development, TI created a graphical CLB configuration tool (shown in Figure 2) and integrated it directly into TI's Code Composer Studio™ integrated development environment for code development and debugging.


image.png

Figure 2: CLB tool configuration view


After configuration, the system will automatically generate the CLB tool output logic. The project compilation output is a *.h header file that describes the CLB tool configuration. During runtime initialization, the header file descriptor calls the C2000Ware DriverLib application programming interface function to configure the logic block.


Increasingly, design engineers are using CLB tools to explore new ways to differentiate their products. Matt Parnell, lead hardware engineer for Harman International's Lifestyle Audio division, has been using CLB to enhance his products.


According to Matt, they are always looking to “push the limits of design.”


“For example, we now move the main function’s software control loop to the CLB, offloading the user control logic and diagnostics. This reduces the per-cycle overhead of the 400kHz frequency, which is very effective and necessary. The bandwidth freed up by reducing the per-cycle overhead can be directly used to improve control functions,” said Matt.


He also talked about how the enhanced PWM (ePWM) peripheral integrates the signals “under the hood.”


“Within the CLB, designers can intercept the internal ePWM signals, including the action indicators and signals for deadband and logic conditions, and then create customized versions of the submodules. Harman has already used this capability to achieve new wins. The CLB adds a lot of customization to an already powerful device.”


The new CLB peripheral overcomes the barriers of control class design and provides a new toolset for creating differentiated solutions. The latest C2000Ware release includes 15 CLB examples; encoder examples are available in the MotorControl software development kit. Check out the training and application manuals to see how CLBs can disrupt traditional logic.


Keywords:TI  C2000  MCU  CLB  ePWM Reference address:Customizable on-chip peripherals subvert traditional logic, TI helps engineers unleash their creativity

Previous article:SuperTest helps eSOL deliver a safety-compliant real-time embedded software platform
Next article:Practical tips for MCU software benchmarking: Guidelines for evaluating compiler optimization capabilities

Recommended ReadingLatest update time:2024-11-16 11:46

51 MCU Tutorial Basic Programming (Based on C Language)
Hello everyone, I am Chen Bin. I started learning MCU in September last year. It has been more than a year now. Now I have basically mastered MCU programming and started to learn assembly language in depth. Many beginners have a lot of doubts. Should I learn C language or assembly language first? In fact, I tell you, I
[Microcontroller]
PIC32MX MCU Peripheral Library Usage (I) - Basic Settings of System Clock and I/O Ports
Development environment: MAPLAB X IDE v1.85 Compiler: MPLAB XC 32 1. Instructions for use: The PIC32 Peripheral Library provides functions and macros for setting up and controlling 32-bit peripherals. An application that wishes to use the peripheral library can access any supported functions and macros simply by
[Microcontroller]
PIC32MX MCU Peripheral Library Usage (I) - Basic Settings of System Clock and I/O Ports
AVR MCU Timer 1 CTC Mode A Experimental Program
/*AVR timer 1CTC mode A experiment*/ #include iom16v.h #define uchar unsigned char #define uint unsigned int #define set_bit(a,b) a|=(1 b) #define clr_bit(a,b) a&=(1 b) #define get_bit(a,b) a&(1 b) uint i; #pragma interrupt_handler time1ctc_a_isr:7 void time1ctc_a_isr()//Timer counter 1CTC interrupt A channel { POR
[Microcontroller]
Loto Practice Tips (5) Detecting the power-on reset failure of the microcontroller with an oscilloscope
Recently, I designed a product using the CY7C68013A chip. In fact, there is a 51 MCU inside to control USB communication. During the test process, I found that after some circuit boards were powered on, the computer could not find the new USB hardware, nor did it prompt that it could not be recognized, and the device
[Test Measurement]
Loto Practice Tips (5) Detecting the power-on reset failure of the microcontroller with an oscilloscope
TI launches new SAR ADC series with higher sampling rate and resolution
ADC (Analog-to-Digital Converter) is a device that converts analog signals into digital signals. As a bridgehead between the real world and the digital world, ADC is the source of the entire signal chain. Its sampling speed, resolution, accuracy, etc. will directly affect the overall performance of the system.
[Analog Electronics]
TI launches new SAR ADC series with higher sampling rate and resolution
Timing calculation method of single chip microcomputer timer
For 12MHz, 1 machine cycle is 1us, 12/fosc = 1us. Mode 0: 13-bit timer maximum time interval = 2^13 = 8.192ms. Mode 1: 16-bit timer maximum time interval = 2^16 = 65.536ms. Mode 2: 8-bit timer maximum time interval = 2^8 = 0.256ms. =256 us. Timing is 5ms. Calculate the initial value of the timer M = 2^KX*Fosc/1
[Microcontroller]
Research on the Controller of Electric Actuator Based on Single Chip Microcomputer
The automatic regulation system of industrial production process is generally composed of detectors, regulators, actuators and regulated objects. Among them, the actuator is always indispensable, and is generally composed of an actuator and a regulating mechanism (generally called a regulating valve). In addition, acc
[Microcontroller]
Research on the Controller of Electric Actuator Based on Single Chip Microcomputer
Texas Instruments' new 450V linear controller simplifies offline LED lighting design
    High voltage current controllers for spotlights and luminaires support both microcontroller dimming and standard wall dimmer dimming.     October 14, 2014, Beijing News --- Recently, Texas Instruments (TI) announced the launch of a 450V linear controller that simplifies the current regulation of high-voltage LED
[Power Management]
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号