3.2.2.2 Controlling and Monitoring the Time-base Submodule
shows the registers used to control and monitor the time-base submodule.
Table 3-3. Time-Base Submodule Registers
Register
Address Offset
Shadowed
Description
Bit Description
TBCTL
0x0000
No
Time-Base Control Register
TBSTS
0x0001
No
Time-Base Status Register
TBPHSHR
0x0002
No
HRPWM Extension Phase Register
TBPHS
0x0003
No
Time-Base Phase Register
TBCTR
0x0004
No
Time-Base Counter Register
TBPRD
0x0005
Yes
Time-Base Period Register
TBPRDHR
0x0006
Yes
HRPWM Extension Period Register
TBPRDHRM
0x002A
Yes
HRPWM Time-Base Period Extension Mirror Register
TBPRDM
0x002B
Yes
HRPWM Extension Period Mirror 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 also described in
. See your device-specific data sheet to
determine which ePWM instances include this feature.
shows the critical signals and registers of the time-base submodule.
provides descriptions of the key signals associated with the time-base submodule.
TBCTL[SYNCOSEL]
TBPRD
Period Active
TBPRD
Period Shadow
16
DCAEVT1.sync
(A)
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
TBCTL[SWFSYNC]
DCBEVT1.sync
(A)
A. These signals are generated by the digital compare (DC) submodule.
Figure 3-5. Time-Base Submodule Signals and Registers
Enhanced Pulse Width Modulator (ePWM) Module
252
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......