![Texas Instruments TMS320x2823x Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/texas-instruments/tms320x2823x/tms320x2823x_reference-manual_1095205021.webp)
TBCTL[SYNCOSEL]
TBPRD
Period Active
TBPRD
Period Shadow
16
TBCTL[SWFSYNC]
CTR = PRD
TBPHS
Phase Active Reg
Counter
UP/DOWN
16
Sync
Out
Select
EPWMxSYNCO
Reset
Load
16
TBCTL[PHSEN]
CTR = Zero
CTR = CMPB
Disable
X
EPWMxSYNCI
TBCTL[PRDLD]
TBCTR[15:0]
Mode
TBCTL[CTRMODE]
CTR = Zero
CTR_max
TBCLK
Clock
Prescale
SYSCLKOUT
TBCLK
TBCTL[HSPCLKDIV]
TBCTL[CLKDIV]
CTR_dir
TBCTR
Counter Active Reg
clk
Max
Dir
Zero
www.ti.com
ePWM Submodules
2.2.2
Controlling and Monitoring the Time-base Submodule
shows the registers used to control and monitor the time-base submodule.
Table 3. Time-Base Submodule Registers
Register
Address offset
Shadowed
Description
TBCTL
0x0000
No
Time-Base Control Register
TBSTS
0x0001
No
Time-Base Status Register
TBPHSHR
0x0002
No
HRPWM Extension Phase Register
(1)
TBPHS
0x0003
No
Time-Base Phase Register
TBCTR
0x0004
No
Time-Base Counter Register
TBPRD
0x0005
Yes
Time-Base Period Register
(1)
This register is available only on ePWM instances that include the high-resolution extension (HRPWM). On ePWM modules that
do not include the HRPWM, this location is reserved. This register is described in the device-specific High-Resolution Pulse
Width Modulator (HRPWM) Reference Guide. See the device specific data manual to determine which ePWM instances include
this feature.
The block diagram in
shows the critical signals and registers of the time-base submodule.
provides descriptions of the key signals associated with the time-base submodule.
Figure 5. Time-Base Submodule Signals and Registers
21
SPRUG04A – October 2008 – Revised July 2009
TMS320x2833x, 2823x Enhanced Pulse Width Modulator (ePWM) Module
© 2008–2009, Texas Instruments Incorporated