
Explore Texas Instruments microcontrollers with free tools like Code Composer Studio and C2000, and access documentation and application notes for the F28069 and power factor correction.
Learn to install the C2000Ware package for the f28069 microcontroller, including restricted software registration, a download link, and setup with device drivers, libraries, and peripheral examples alongside Code Composer Studio.
Explore the contents of C200Ware in Code Composer Studio, including device support, examples, headers, and linker files, and learn to read and use peripherals and memory mappings for the F2806X.
Explore the Code Composer Studio environment and the project structure, including dot cmd linker command files, RAM memory layout, and how code security and ramlink guide placement.
Configure gpio pins as digital outputs using per-port multiplexer registers and a direction register. Port a (gpio 0–31) and port b (gpio 32–58) split the pins, with some reserved for host communication.
Understand how GPIO header defines control registers via extern volatile structures and unions, and learn to read it bottom-up to locate bit fields and set pins as input or output.
Change a gpio pin level using data registers, and drive pins high or low with the set and clear registers, or toggle states with the toggle register.
Explore how the Gpio data registers—data, set, clear, and toggle—control pin 34 as an output, and relate this to the Gpio header file’s unions and bit fields.
Fix project dependencies by adding the F28069 Ram link cmd file and F2806 headers non-bias, then configure gpio pins for a simple blink test in a clean build.
Configure timers for precise sampling in digital control, and learn to handle interrupts with the tms320 f28069's three cpu timers, using the led blink example to code from scratch.
Explore how digital control relies on discrete sampling at precise intervals, balancing sampling frequency, Nyquist criteria, and jitter using multiple timers and interrupts in the Tms320 F28069.
Configure the system clock via the init system control function, select internal oscillator one, and set the PLL to reach 90 MHz while monitoring missing clock detection for reliability.
Learn how to initialize the pi vector table and assign interrupt service routines, then configure the F2806X CPU timers, including timer zero registers, period, and reload behavior.
Set cpu timer zero to free run mode, disable the prescaler, and set prescale to zero; extend the same to timers one and two to achieve 1.5-second intervals.
Configure timer zero interrupts in the Pi module, enable group one, write isrs to toggle gpio 12, 20, and 32, and handle flag clearing and acknowledge bits.
Demonstrate code execution on the LAUNCHXL-F28069 kit by wiring gpio pins to leds, downloading code, and observing timer-driven flashes; learn to manage interrupts, clear flags, and acknowledge bits for operation.
Browse and select the ePWM example project in the TI C2000 examples, import the PWM timer and trip zone examples, and study interrupt setup and vector table initialization.
Explore the ePWM header file to understand the structure of the ePWM registers, including unions and bit fields, and learn to map header definitions to the documentation.
initialize an epwm interrupt project by adding the required header and source files, enabling the pwm clock, configuring the vector table, and defining two interrupt service routines.
Configure the ePWM module two with a 4000 Hz period and a free-running sawtooth waveform, then enable group three interrupts in the pi module via the vector table.
Explore generating a triangular ePWM carrier using an up-down counter and divided period to produce interrupts per pwm cycle for dc-ac applications.
Explore the action qualifier submodule that generates gating signals for two pwm outputs. It combines the time-based counter with cmp a and cmp b to control pins a and b.
Set up a new ePWM project, configure action qualifier registers for EPWM1A and EPWM1B, and generate sawtooth and triangular gating signals for power electronics.
Watch how a simulated controller sets a 0–1 duty ratio, converts it into CMP values, and gates complementary ePWM signals on the TMDSDOCK28069 while debugging in Code Composer Studio.
Execute the dead band project on the LAUNCHXL-F28069 kit to observe a measurable dead band between pwm outputs, adjust modulation index, and learn gating to prevent shoot-through in power converters.
Synchronize pwm timer clocks across multiple EPW modules on the TMS320F28069 to produce identical carrier waveforms, using tb clock sync and phase shift control for multi-leg converters.
Learn to synchronize epw pwm modules by configuring time-based control, phase registers, and phase enable, using cmp a/b to implement phase delay or advance while maintaining a 50% duty cycle.
Compile the microcontroller project, add required files, and prepare for downloading to kits, while managing phase angle by converting negatives to positives and loading dbfs for synchronization.
Configure the trip zone submodule of the pwm module to respond to fault feedback via tz1, tz2, tz3, using one-shot or cycle-by-cycle trips, with configurable pin actions and interrupts.
Unlock the adc module overview for the F28069, featuring 16 analog inputs (a0–a7, b0–b7) with 0–3.3v range and 12-bit results. Learn about SOC, EOC, result registers, interrupts, and simultaneous sampling.
Initiate ADC conversion by triggering a start of conversion signal from EAP modules and CPU timers. Configure two SoC signals in the EPW module for timing within PWM cycles.
Configure ADC channels to listen to SoC signals from PWM, timer, or GPIO sources, enabling sequential or simultaneous sampling of 16 analog inputs with configurable SoC mappings and priorities.
Set up a complete ADC project by combining the deadband PWM example with a timer-driven two-signal generator, preparing two RC circuit sawtooth inputs for two ADC channels.
Demonstrate creating analog waveforms with the TMDSDOCK28069 using RC circuits and resistor dividers, observe them on an oscilloscope, and prepare to feed them into the ADC converter.
Configure the adc section, set channel mappings to the soc, and choose round-robin or priority. Use epwm1 as the soc source and trigger at the pwm cycle start.
Measure and track analog signals with a microcontroller by implementing ADC interrupt handling to compute peak and peak-to-peak values, resetting per 50 Hz cycle, and validating results against oscilloscope measurements.
Conclude the EDC module by recapping the ADC pipeline from start-of-conversion to end-of-conversion, including channel selection, sampling options, configuration registers, and interrupt-driven control on a single microcontroller.
The course will describe how to use the TMS320F28069 microcontroller from Texas Instruments for power electronics applications. The course is targeted towards beginners who are new to microcontroller programming and therefore, is ideal for electrical engineering undergraduates and graduate students who will be seeking their first job in the power industry. The course describes how a student can setup a basic home lab for the course, as this course is a hardware course and needs basic electronic equipment for hands-on experience. The course covers both theory and programming. The emphasis of the course is on creating projects and on programming the microcontroller. However, to make the material complete, the course deals with microcontroller architecture and describes the working of the processor and the peripherals.
The course will begin with very simple examples such as how to make LEDs glow and flash. However, it will progress to more practical scenarios as found in power electronics applications where gating signals will be produced for practical converters. The course will also describe how the microcontroller can be used for control applications by feeding measured signals into the microcontroller and processing them. The course will use the Code Composer Studio IDE provided for free by Texas Instruments and also example projects and starter files provided through the C2000Ware package. The course will describe how necessary software can be be downloaded and how the student can interpret and understand the example projects.
To be able to complete all examples in this course, the student will need to setup a home electronics lab which will cost around USD 150. Details of the components required are described in the introduction and all videos in the introduction are preview enabled.