![Texas Instruments AM1808 Скачать руководство пользователя страница 471](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_1094558471.webp)
CTR = CMPB
CTR = CMPA
CTR_Dir
CTR = 0
CTR = PRD
Dead
Band
(DB)
Counter
Compare
(CC)
Action
Qualifier
(AQ)
EPWMxA
EPWMxB
CTR = CMPB
CTR = 0
EPWMxINT
EPWMxA
EPWMxB
TZ1 to TZn
CTR = CMPA
Time-Base
(TB)
CTR = PRD
CTR = 0
CTR_Dir
EPWMxSYNCI
EPWMxSYNCO
EPWMxTZINT
PWM-
chopper
(PC)
Event
Trigger
and
Interrupt
(ET)
Trip
Zone
(TZ)
GPIO
MUX
Interrupt
controller
Interrupt
controller
Architecture
471
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Enhanced High-Resolution Pulse-Width Modulator (eHRPWM)
16.2.3 Time-Base (TB) Submodule
Each ePWM module has its own time-base submodule that determines all of the event timing for the
ePWM module. Built-in synchronization logic allows the time-base of multiple ePWM modules to work
together as a single system.
illustrates the time-base module's place within the ePWM.
Figure 16-4. Time-Base Submodule Block Diagram
16.2.3.1 Purpose of the Time-Base Submodule
You can configure the time-base submodule for the following:
•
Specify the ePWM time-base counter (TBCNT) frequency or period to control how often events occur.
•
Manage time-base synchronization with other ePWM modules.
•
Maintain a phase relationship with other ePWM modules.
•
Set the time-base counter to count-up, count-down, or count-up-and-down mode.
•
Generate the following events:
–
CTR = PRD: Time-base counter equal to the specified period (TBCNT = TBPRD) .
–
CTR = 0: Time-base counter equal to zero (TBCNT = 0000h).
•
Configure the rate of the time-base clock; a prescaled version of the CPU system clock
(SYSCLKOUT). This allows the time-base counter to increment/decrement at a slower rate.