Datasheet

157
RM57L843
www.ti.com
SPNS215C FEBRUARY 2014REVISED JUNE 2016
Submit Documentation Feedback
Product Folder Links: RM57L843
Peripheral Information and Electrical SpecificationsCopyright © 2014–2016, Texas Instruments Incorporated
(1) The filter width is 6 VCLK3 cycles.
7.1.6 ePWM Trip Zones
The ePWMx modules have 6 trip zone inputs each. These are active-low signals. The application can
control the ePWMx module response to each of the trip zone input separately. The timing requirements
from the assertion of the trip zone inputs to the actual response are specified in the electrical and timing
section of this document.
7.1.6.1 Trip Zones TZ1n, TZ2n, TZ3n
These 3 trip zone inputs are driven by external circuits and are connected to device-level inputs. These
signals are either connected asynchronously to the ePWMx trip zone inputs, or double-synchronized with
VCLK3, or double-synchronized and then filtered with a 6-cycle VCLK3-based counter before connecting
to the ePWMx (see Figure 7-2). By default, the trip zone inputs are asynchronously connected to the
ePWMx modules.
Table 7-2. Connection to ePWMx Modules for Device-Level Trip Zone Inputs
TRIP ZONE
INPUT
CONTROL FOR
ASYNCHRONOUS
CONNECTION TO ePWMx
CONTROL FOR
DOUBLE-SYNCHRONIZED
CONNECTION TO ePWMx
CONTROL FOR
DOUBLE-SYNCHRONIZED AND
FILTERED CONNECTION TO ePWMx
(1)
TZ1n PINMMR172[18:16] = 001 PINMMR172[18:16] = 010 PINMMR172[18:16] = 100
TZ2n PINMMR172[26:24] = 001 PINMMR172[26:24] = 010 PINMMR172[26:24] = 100
TZ3n PINMMR173[2:0] = 001 PINMMR173[2:0] = 010 PINMMR173[2:0] = 100
7.1.6.2 Trip Zone TZ4n
This trip zone input is dedicated to eQEPx error indications. There are 2 eQEP modules on this device.
Each eQEP module indicates a phase error by driving its EQEPxERR output high. The following control
registers allow the application to configure the trip zone input (TZ4n) to each ePWMx module based on
the requirements of the applicationapplication's requirements.
Table 7-3. TZ4n Connections for ePWMx Modules
ePWMx
CONTROL FOR TZ4n =
NOT(EQEP1ERR OR EQEP2ERR)
CONTROL FOR TZ4n =
NOT(EQEP1ERR)
CONTROL FOR TZ4n =
NOT(EQEP2ERR)
ePWM1 PINMMR167[2:0] = 001 PINMMR167[2:0] = 010 PINMMR167[2:0] = 100
ePWM2 PINMMR167[10:8] = 001 PINMMR167[10:8] = 010 PINMMR167[10:8] = 100
ePWM3 PINMMR167[18:16] = 001 PINMMR167[18:16] = 010 PINMMR167[18:16] = 100
ePWM4 PINMMR167[26:24] = 001 PINMMR167[26:24] = 010 PINMMR167[26:24] = 100
ePWM5 PINMMR168[2:0] = 001 PINMMR168[2:0] = 010 PINMMR168[2:0] = 100
ePWM6 PINMMR168[10:8] = 001 PINMMR168[10:8] = 010 PINMMR168[10:8] = 100
ePWM7 PINMMR168[18:16] = 001 PINMMR168[18:16] = 010 PINMMR168[18:16] = 100
NOTE
The EQEPxERR signal is an active high signal coming out of EQEPx module. As listed in
Table 7-3, the selected combination of the EQEPxERR signals must be inverted before
connecting to the TZ4n input of the ePWMx modules.