www.ti.com
3
SPRUI07–March 2020
Submit Documentation Feedback
Copyright © 2020, Texas Instruments Incorporated
Contents
2.2.4 Watchdog Module ............................................................................................... 174
2.2.5 Taking an ITRAP Interrupt...................................................................................... 174
2.2.6 Internal Pullup Circuit............................................................................................ 174
2.2.7 PIE Configuration ................................................................................................ 174
2.2.8 Reserved Memory ............................................................................................... 174
2.2.9 Bootloader Modes ............................................................................................... 175
2.2.10 Bootloader Data Stream Structure........................................................................... 179
2.2.11 Basic Transfer Procedure ..................................................................................... 183
2.2.12 InitBoot Assembly Routine .................................................................................... 183
2.2.13 SelectBootMode Function .................................................................................... 184
2.2.14 ADC_cal Assembly Routine................................................................................... 186
2.2.15 CopyData Function ............................................................................................. 187
2.2.16 McBSP_Boot Function ......................................................................................... 188
2.2.17 SCI_Boot Function ............................................................................................. 189
2.2.18 Parallel_Boot Function (GPIO)................................................................................ 191
2.2.19 XINTF_Parallel_Boot Function................................................................................ 197
2.2.20 SPI_Boot Function.............................................................................................. 204
2.2.21 I2C Boot Function .............................................................................................. 207
2.2.22 eCAN Boot Function ........................................................................................... 210
2.2.23 ExitBoot Assembly Routine................................................................................... 212
2.3 Building the Boot Table .................................................................................................. 213
2.3.1 The C2000 Hex Utility........................................................................................... 213
2.3.2 Example: Preparing a COFF File for eCAN Bootloading................................................... 214
2.4 Bootloader Code Overview.............................................................................................. 217
2.4.1 Boot ROM Version and Checksum Information ............................................................. 217
2.4.2 Bootloader Code Revision History............................................................................. 217
3 Enhanced Pulse Width Modulator (ePWM) Module................................................................ 218
3.1 Introduction ................................................................................................................ 219
3.1.1 Submodule Overview............................................................................................ 219
3.1.2 Register Mapping ................................................................................................ 222
3.2 ePWM Submodules ...................................................................................................... 224
3.2.1 Overview .......................................................................................................... 224
3.2.2 Time-Base (TB) Submodule.................................................................................... 228
3.2.3 Counter-Compare (CC) Submodule........................................................................... 236
3.2.4 Action-Qualifier (AQ) Submodule.............................................................................. 242
3.2.5 Dead-Band Generator (DB) Submodule...................................................................... 256
3.2.6 PWM-Chopper (PC) Submodule............................................................................... 261
3.2.7 Trip-Zone (TZ) Submodule ..................................................................................... 265
3.2.8 Event-Trigger (ET) Submodule ................................................................................ 269
3.3 Applications to Power Topologies ...................................................................................... 274
3.3.1 Overview of Multiple Modules ................................................................................. 274
3.3.2 Key Configuration Capabilities ................................................................................. 274
3.3.3 Controlling Multiple Buck Converters With Independent Frequencies.................................... 275
3.3.4 Controlling Multiple Buck Converters With Same Frequencies............................................ 279
3.3.5 Controlling Multiple Half H-Bridge (HHB) Converters....................................................... 282
3.3.6 Controlling Dual 3-Phase Inverters for Motors (ACI and PMSM).......................................... 284
3.3.7 Practical Applications Using Phase Control Between PWM Modules .................................... 288
3.3.8 Controlling a 3-Phase Interleaved DC/DC Converter ....................................................... 289
3.3.9 Controlling Zero Voltage Switched Full Bridge (ZVSFB) Converter....................................... 293
3.4 Registers................................................................................................................... 296
3.4.1 Time-Base Submodule Registers.............................................................................. 296
3.4.2 Counter-Compare Submodule Registers ..................................................................... 300
3.4.3 Action-Qualifier Submodule Registers ........................................................................ 304