01.08.2013 Views

Chapter 15 Pulse-Width Modulation Subsystem (PWMSS).

Chapter 15 Pulse-Width Modulation Subsystem (PWMSS).

Chapter 15 Pulse-Width Modulation Subsystem (PWMSS).

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Enhanced PWM (ePWM) Module www.ti.com<br />

<strong>15</strong>.2.2.3.2 Controlling and Monitoring the Time-Base Submodule<br />

Table <strong>15</strong>-11 lists the registers used to control and monitor the time-base submodule.<br />

TBCNT<br />

CTR = 0<br />

CTR_dir<br />

CTR_max<br />

TBCLK<br />

TBPRD<br />

Period Shadow<br />

TBPRD<br />

Period Active<br />

16<br />

16<br />

16<br />

TBPHS<br />

Phase Active Reg<br />

CTR = PRD<br />

Reset<br />

Zero Counter<br />

UP/DOWN Mode TBCTL[CTRMODE]<br />

Dir<br />

Max<br />

clk<br />

Load<br />

TBCNT<br />

Counter Active Reg<br />

SYSCLKOUT Clock<br />

TBCLK<br />

Prescale<br />

TBCTL[HSPCLKDIV]<br />

TBCTL[CLKDIV]<br />

Table <strong>15</strong>-11. Time-Base Submodule Registers<br />

Acronym Register Description Address Offset Shadowed<br />

TBCTL Time-Base Control Register 0h No<br />

TBSTS Time-Base Status Register 2h No<br />

TBPHSHR HRPWM extension Phase Register (1)<br />

TBCTL[PRDLD]<br />

TBCTL[PHSEN]<br />

TBCTL[SWFSYNC]<br />

CTR = 0<br />

CTR = CMPB<br />

X<br />

Disable<br />

Sync<br />

Out<br />

Select<br />

TBCTL[SYNCOSEL]<br />

4h No<br />

TBPHS Time-Base Phase Register 6h No<br />

TBCNT Time-Base Counter Register 8h No<br />

TBPRD Time-Base Period Register Ah Yes<br />

(1) This register is available only on ePWM instances that include the high-resolution extension (HRPWM). On ePWM modules that<br />

do not include the HRPWM, this location is reserved. See Section <strong>15</strong>.1.2 to determine which ePWM instances include this<br />

feature.<br />

Figure <strong>15</strong>-10 shows the critical signals and registers of the time-base submodule. Table <strong>15</strong>-12 provides<br />

descriptions of the key signals associated with the time-base submodule.<br />

Figure <strong>15</strong>-10. Time-Base Submodule Signals and Registers<br />

EPWMxSYNCI<br />

EPWMxSYNCO<br />

1632 <strong>Pulse</strong>-<strong>Width</strong> <strong>Modulation</strong> <strong>Subsystem</strong> (<strong>PWMSS</strong>) SPRUH73E–October 2011–Revised May 2012<br />

Submit Documentation Feedback<br />

Copyright © 2011–2012, Texas Instruments Incorporated

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!