Email

UCD3138 Digital Power Training Series

The UCD3138 is a digital power supply controller from Texas Instruments offering superior levels of integration and performance in a single chip solution. This training series introduces and overviews the basics of digital power tools, firmware development, and project structure to get started faster using the UCD3138 family. 

Each of the tutorials include hands on practice with the Fusion Digital Power™ software suite and Code Composer Studio™ tools, which enable customers to configure and monitor key system parameters. 

Training Resources

1. Introduction to Digital Power

This section introduces the digital power supply system for Analog and Digital engineers.

# Title Duration
1.1 Introduction to Digital Power
The momentum behind digital power continues to accelerate as engineers become more familiar with the technology and realize its many benefits. This webinar...
34:18
1.2 Digital Power Simplified - Session 2
The momentum behind digital power in all of its shapes and flavors continues to accelerate as engineers become more familiar with the technology and realize...
38:08
Login required

2. Getting started with UCD3138 digital power tools

These tutorials introduce the software tools and UCD3k open loop board required to use the UCD3138 family, as well as include step by step instructions to install and operate each.

Firmware is needed to complete Section 2:

  • Download the firmware for Sections 2-5 here
  • Follow the installation instructions
  • Within the installation directory, navigate to Training-labs\Training_labs_source_code\Lab_01
  • Import Lab_01 project into Code Composer Studio (CCS)
# Title Duration
2.1 UCD3138 Digital Power Tools: Tools overview and hardware requirements
This video explains the software tools that TI provides for UCD3k code development and includes an introduction to the UCD3k open loop board, which is...
05:33
2.2 UCD3138 Digital Power Tools: Installing the UCD3138 device GUI
The UCD Device GUI is used to download firmware programs to the flash based memory on the UCD3138 family. This video demonstrates how to download and install...
01:06
2.3 UCD3138 Digital Power Tools: Getting started with code composer studio
An overview of CCS, demonstrating how to import and build a UCD3k project.  
05:42
2.4 UCD3138 Digital Power Tools: Source firmware - project structure and overview of lab code
This tutorial provides an overview of the structure of a typical UCD3138 project and examination of the source code associated. 
08:36
2.5 UCD3138 Digital Power Tools: Getting started with the UCD3k device GUI
This video shows how the UCD device GUI can be used to write firmware to the flash based memory of the UCD3138. 
08:19
2.6 UCD3138 Digital Power Tools: Boot ROM and program flash checksums
This video includes an overview the boot ROM program in the UCD3138, which is executed on start up. The tutorial also discusses the program flash checksums,...
07:09
Login required

3. The UCD3138 Digital PWM (DPWM) Module

At the core of each member of the UCD3138 family are the digital control loop peripherals, also known as the Digital Power Peripherals. These were designed specifically to control the high-speed voltage and current loops in the power supply. These peripherals can be configured to control of all of the main power supply topologies, and are designed to run autonomously once they are initialized by the ARM core.

The Digital PWM (DPWM) module, one of  the three Digital Power Peripherals, is introduced in this chapter. 

You will learn how to configue the DPWM in open loop mode, and how to create simple waveforms on the DPWM outputs. You will also learn how to use the memory debugger hyperknob to change the pulse width of the DPWM output waveforms.

Firmware is needed to complete Section 3:

  • Download the firmware for Sections 2-5 here
  • Follow the installation instructions
  • Within the installation directory, navigate to Training-labs\Training_labs_source_code\Lab_02
  • Import Lab_02 project into Code Composer Studio (CCS)
# Title Duration
3.1 The UCD3138 Digital PWM (DPWM) Module: Introduction to the Digital PWM (DPWM) Module
This video introduces the three digital power peripherals, focusing on the DPWM module. 
03:59
3.2 The UCD3138 Digital PWM (DPWM) Module: Setting the PWM period
This video shows how to set the DPWM period with firmware.    
03:58
3.3 The UCD3138 Digital PWM (DPWM) Module: Controlling the DPWM outputs
How to write firmware to create simple waveforms on the two DPWM outputs.  
08:30
3.4 The UCD3138 Digital PWM (DPWM) Module: Firmware overview and DPWM demonstration
This video presents lab 2 - firmware, and shows the DPWM output waveforms on an oscilloscope.  
04:06
3.5 The UCD3138 Digital PWM (DPWM) Module: Memory debugger hyperknob demonstration
This tutorial introduces the UCD Device GUI memory debugger hyperknob, which allows modification of the DPWM output waveforms remotely via PMBus. Part...
04:29
3.6 The UCD3138 Digital PWM (DPWM) Module: Solution to firmware task
The solution to the lab 2 firmware task. Part of the "The UCD3138 Digital PWM (DPWM) Module" series.  
00:29
Login required

4. The UCD3138 Digital Filter Module

The Digital Filter module is the second of the three key UCD3k Digital Power Peripherals. In this chapter, we overview the filter structure and capabilities, and present some examples.

Firmware is needed to complete Section 4:

  • Download the firmware for Sections 2-5 here
  • Follow the installation instructions
  • Within the installation directory, navigate to Training-labs\Training_labs_source_code\Lab_03
  • Import Lab_03 project into Code Composer Studio (CCS)
# Title Duration
4.1 The UCD3138 Digital Filter Module: Introduction to the Digital Filter Module
This training introduces the digital filter module, which is used as the compensator in the closed loop system provided by the UCD3138 family of devices....
05:13
4.2 The UCD3138 Digital Filter Module: Overview of DPWM operation in normal mode
The previous tutorial  discussed DPWM operation in open loop mode, where the PWM output was determined solely by the values of the DPWM registers.This...
08:59
4.3 The UCD3138 Digital Filter Module: Overview of Digital Filter architecture and operation
The UCD3138 filter is a PID filter with many enhancements added specifically for power supply control. In this video we discuss it's architecture and ...
12:57
4.4 The UCD3138 Digital Filter Module: Introducing the loop mux
This video introduces the Loop Mux. The loop mux controls the connections between the different parts of the control loop – the Front End, the Filter,...
03:44
4.5 The UCD3138 Digital Filter Module: Coding tasks for this tutorial
This video presents the coding tasks for this tutorial, which are related to initialization of the digital filter module.  
03:09
4.6 The UCD3138 Digital Filter Module: Avoiding shoot-through
If the rising edge of DPWMB exceeds event 4, it causes shootthrough - as both DPWMA and DPWMB are on at the same time. This could have catastrophic co...
03:22
4.7 The UCD3138 Digital Filter Module: Solution to firmware tasks
This video presents the solution to the lab 2 firmware.   
05:56
Login required

5. The UCD3138 Analog Front End (AFE) Module

The analog front end (AFE) is the third of the three key UCD3k hardware peripherals. It takes a sensed feedback signal from the power supply as an input, compares it against a programmable internal reference, and digitizes the result. This result is used to drive a digital filter module, which in turn drives a DPWM module, which drives the power supply swtiching elements. The other two Digital Power Peripherals - namely the digital filter module and DPWM module, were covered in the previous two tutorials.

In this tutorial we overview the structure of the analog front end module. We build on the material covered in the previous two tutorials to create a simple closed loop system using firmware and the UCD3k open loop board.

Firmware is needed to complete Section 5:

  • Download the firmware for Sections 2-5 here
  • Follow the installation instructions
  • Within the installation directory, navigate to Training-labs\Training_labs_source_code\Lab_04
  • Import Lab_04 project into Code Composer Studio (CCS)
# Title Duration
5.1 The UCD3138 Analog Front End (AFE) Module: Introduction to the Analog Front End Module (AFE)
This video introduces the front end module and discusses its basic operation. 
02:29
5.2 The UCD3138 Analog Front End (AFE) Module: Error ADC (EADC) Overview
This video introduces the Error Analog to Digital Converter (EADC). The EADC is the heart of the front end module.   
06:17
5.3 The UCD3138 Analog Front End (AFE) Module: Triggering the EADC
The EADC sample trigger comes from a DPWM module. This tutorial explains how to route a sample trigger from DPWM0 to Front End 0 via the loop mux. 
01:31
5.4 The UCD3138 Analog Front End (AFE) Module: The AFE reference DAC
The front end module's reference DAC is used as the reference against which the power supply sensed feedback signal is compared. This tutorial explains...
01:08
5.5 The UCD3138 Analog Front End (AFE) Module: Other AFE features
Other AFE features are touched upon in this video, such as averaging the EADC output, using the front end module as a lower bandwidth and higher accuracy...
02:15
5.6 The UCD3138 Analog Front End (AFE) Module: Setting up the open loop board for the closed loop demo
This video shows how to setup the UCD3138 open loop board for the closed loop demonstration. This closed loop demo uses all three Digital Power Peripherals...
04:11
5.7 The UCD3138 Analog Front End (AFE) Module: Firmware overview and closed loop demo
This video explains the firmware required to create the closed loop and shows key signals on the open loop board on an oscilloscope. 
03:24
Login required

6. Using JTAG with the UCD3138 series

Learn how to program the flash based memory on the UCD3138 series of digital power supply controllers via JTAG, using Code Composer Studio or UniFlash. 

# Title Duration
6.1 Using JTAG with the UCD3138: Introduction
This video introduces the hardware and software required to communicate with the UCD3138 series of digital power controllers via JTAG. Modifications that...
03:54
6.2 Using JTAG with the UCD3138: Installing Code Composer Studio (CCS) with JTAG support
This video demonstrates how to download and install Code Composer Studio (CCS) with JTAG support. 
00:59
6.3 Using JTAG with the UCD3138: Setting up the xds10USB JTAG emulator
A once off modification that needs to be made to a file on your computer to enable JTAG comms with the UCD3138 series via the xds510USB hardware emulator...
01:58
6.4 Using JTAG with the UCD3138: Establishing a JTAG comms link
This video will show how to establish a JTAG communications link between Code Composer Studio (CCS) and a UCD3138x device.  
05:06
6.5 Using JTAG with the UCD3138: Overview of programming options
This video presents the programming options supported by the CCS JTAG flash programming GUI. Since the CCS JTAG flash GUI was designed to be as similar...
04:47
6.6 Using JTAG with the UCD3138: Downloading a program using the CCS JTAG Flash GUI
Learn how to download a program to a UCD3138x device using the CCS JTAG Flash GUI
04:47
6.7 Using JTAG with the UCD3138: Using the CCS JTAG debugger
This tutorial will show how to use the CCS JTAG debugger. Specifically, it includes how to: - run and halt the program - single step the program - view...
04:59
6.8 Using JTAG with the UCD3138: Exporting the contents of a CCS file via JTAG
This video demonstrates how to export the contents of flash to a file after programming. Please note that this can be a time consuming operation, so it...
01:49
6.9 Setting up the UCD3138 for JTAG comms
On the UCD3138, JTAG comms are disabled by default by the ROM code that executes on device startup. This video outlines the steps required to enable comms...
02:26
6.10 Enabling JTAG comms on the UCD3138 series
On startup, checksums tests are executed by the boot ROM code to verify the integrity of the program flash contents. If any of these tests pass, JTAG comms...
03:39
6.11 Using JTAG with the UCD3138: Introduction to Uniflash
This video shows how to download Uniflash, and how to use Uniflash.
07:48
6.12 Using JTAG with the UCD3138: The GUI with the Uniflash in production environment
Learn how the Uniflash GUI interface could be used in a production setting
08:41
6.13 Using JTAG with the UCD3138: Using the command line interface with Uniflash
Learn about the command line in Uniflash
07:49
6.14 Using JTAG with the UCD3138: Performance comparison versus PMBus
The presentation then compares programming times for a couple of different programming scenarios.
04:30
Login required
arrow-topclosedeletedownloadmenusearchsortingArrowszoom-inzoom-out arrow-downarrow-uparrowCircle-leftarrowCircle-rightblockDiagramcalculatorcalendarchatBubble-doublechatBubble-personchatBubble-singlecheckmark-circlechevron-downchevron-leftchevron-rightchevron-upchipclipboardclose-circlecrossReferencedashdocument-genericdocument-pdfAcrobatdocument-webevaluationModuleglobehistoryClockinfo-circlelistlockmailmyTIonlineDataSheetpersonphonequestion-circlereferenceDesignshoppingCartstartoolsvideoswarningwiki