Digital Compare Submodule Registers - Texas Instruments Concerto F28M36 Series Technical Reference Manual

Table of Contents

Advertisement

ePWM Submodules
zone, event-trigger, and time-base submodules to:
– generate a trip zone interrupt
– generate an ADC start of conversion
– force an event
– generate a synchronization event for synchronizing the ePWM module TBCTR.
Event filtering (blanking window logic) can optionally blank the input signal to remove noise.
7.2.9.2
Enhanced Trip Action
In order to allow multiple comparators at a time to affect DCA/BEVTx events and trip actions, there is a
OR logic to bring together ALL trip inputs (up to 15) from sources external to the ePWM module and feed
into DCAH, DCAL, DCBH, and DCBL as "combinational input" using the DCTRIPSEL register. This is
configured by writing appropriate value [Trip Combination input ] to the
DCAHCOMPSEL,DCALCOMPSEL, DCBHCOMPSEL, DCBLCOMPSEL bit fields in the DCTRIPSEL
register.
The user has an discrete choice for which trip input to put through the combinational logic for Digital
Compare A High/Low (DCAH, DCAL) and Digital Compare B High/Low (DCBH, DCBL) signals generation.
This is acheived using the selection from DCAHTRIPSEL, DCALTRIPSEL, DCBHTRIPSEL and
DCBLTRIPSEL register. The approprite bit when set indicates that Trip input is chosen for "combinational
input" by the DCTRIPSEL register.
Apart from these options user can also make the external trip inputs which feed into the OR gate
individually selectable and not go through the "combinational input" by using the DCTRIPSEL register.
7.2.9.3
Controlling and Monitoring the Digital Compare Submodule
The digital compare submodule operation is controlled and monitored through the following registers:
Register Name
(1) (2)
TZDCSEL
(1)
DCTRIPSEL
(1)
DCACTL
(1)
DCBCTL
(1)
DCFCTL
(1)
DCCAPCTL
DCFOFFSET
DCFOFFSETCNT
DCFWINDOW
DCFWINDOWCNT
DCCAP
DCAHTRIPSEL
DCALTRIPSEL
DCBHTRIPSEL
DCBLTRIPSEL
(1)
These registers are EALLOW protected and can be modified only after executing the EALLOW instruction. For more information,
see the device-specific version of the System Control and Interrupts Reference Guide.
(2)
The TZDCSEL register is part of the trip-zone submodule but is mentioned again here because of its functional significance to
the digital compare submodule.
738
C28 Enhanced Pulse Width Modulator (ePWM) Module
Table 7-24. Digital Compare Submodule Registers
Address Offset
Shadowed
0x13
0x30
0x31
0x32
0x33
0x34
0x35
Writes
0x36
0x37
0x38
0x39
0x4C
0x4D
0x4E
0x4F
Copyright © 2012–2019, Texas Instruments Incorporated
Description
No
Trip Zone Digital Compare Select Register
No
Digital Compare Trip Select Register
No
Digital Compare A Control Register
No
Digital Compare B Control Register
No
Digital Compare Filter Control Register
No
Digital Compare Capture Control Register
Digital Compare Filter Offset Register
No
Digital Compare Filter Offset Counter Register
No
Digital Compare Filter Window Register
No
Digital Compare Filter Window Counter Register
Yes
Digital Compare Counter Capture Register
No
Digital Compare AH Trip Select
No
Digital Compare AL Trip Select
No
Digital Compare BH Trip Select
No
Digital Compare BL Trip Select
SPRUHE8E – October 2012 – Revised November 2019
www.ti.com
Submit Documentation Feedback

Advertisement

Table of Contents
loading

Table of Contents