SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
Table 21-20 lists the memory-mapped registers for the ECAP_SIGNAL_MONITORING registers. All register offset addresses not listed in Table 21-20 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Write Protection | Section |
---|---|---|---|---|
0h | MUNIT_COMMON_CTL | Control registers for monitoring unit {#} | EALLOW | Go |
20h | MUNIT_1_CTL | Control registers for monitoring unit 1 | EALLOW | Go |
22h | MUNIT_1_SHADOW_CTL | Shadow control registers for monitoring unit 1 | EALLOW | Go |
28h | MUNIT_1_MIN | Min value for monitoring unit 1 | Go | |
2Ah | MUNIT_1_MAX | Max value for monitoring unit 1 | Go | |
2Ch | MUNIT_1_MIN_SHADOW | Shadow register for Min value of monitoring unit 1 | Go | |
2Eh | MUNIT_1_MAX_SHADOW | Shadow register for Max value of monitoring unit 1 | Go | |
30h | MUNIT_1_DEBUG_RANGE_MIN | Observed Min value of check being enabled on minotoring unit 1 | Go | |
32h | MUNIT_1_DEBUG_RANGE_MAX | Observed Max value of check being enabled on minotoring unit 1 | Go | |
40h | MUNIT_2_CTL | Control registers for monitoring unit 2 | EALLOW | Go |
42h | MUNIT_2_SHADOW_CTL | Shadow control registers for monitoring unit 2 | EALLOW | Go |
48h | MUNIT_2_MIN | Min value for monitoring unit 2 | Go | |
4Ah | MUNIT_2_MAX | Max value for monitoring unit 2 | Go | |
4Ch | MUNIT_2_MIN_SHADOW | Shadow register for Min value of monitoring unit 2 | Go | |
4Eh | MUNIT_2_MAX_SHADOW | Shadow register for Max value of monitoring unit 2 | Go | |
50h | MUNIT_2_DEBUG_RANGE_MIN | Observed Min value of check being enabled on minotoring unit 2 | Go | |
52h | MUNIT_2_DEBUG_RANGE_MAX | Observed Max value of check being enabled on minotoring unit 2 | Go |
Complex bit access types are encoded to fit into small table cells. Table 21-21 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
R-0 | R -0 | Read Returns 0s |
Write Type | ||
W | W | Write |
W1S | W 1S | Write 1 to set |
Reset or Default Value | ||
-n | Value after reset or the default value | |
Register Array Variables | ||
i,j,k,l,m,n | When these variables are used in a register name, an offset, or an address, they refer to the value of a register array where the register is part of a group of repeating registers. The register groups form a hierarchical structure and the array is represented with a formula. | |
y | When this variable is used in a register name, an offset, or an address it refers to the value of a register array. |
MUNIT_COMMON_CTL is shown in Figure 21-35 and described in Table 21-22.
Return to the Summary Table.
Control registers for monitoring unit {#}
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | GLDSTRBSEL | ||||||
R-0-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TRIPSEL | ||||||
R-0-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R-0 | 0h | Reserved |
15 | RESERVED | R-0 | 0h | Reserved |
14-8 | GLDSTRBSEL | R/W | 0h | Global load strobe select to enable shadow to active loading 0x0 : Disabled with SOC level tieoff. 0x1 to 0x7F : Global load strobe from SOC level including ETPWM global load strobes. Reset type: CPU1.SYSRSn |
7 | RESERVED | R-0 | 0h | Reserved |
6-0 | TRIPSEL | R/W | 0h | Trip signal select to disable and enable signal monitoring automatically 0x0 : Disabled, Trip signals does not affect signal monitoring, achieved with SOC level tieoff. 0x1 to 0x7F : Signal monioring is disabled when selected signal is high and enabled when it is low Reset type: CPU1.SYSRSn |
MUNIT_1_CTL is shown in Figure 21-36 and described in Table 21-23.
Return to the Summary Table.
Control registers for monitoring unit 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MON_SEL | ||||||
R-0-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DISABLE_EARLY_MAX_ERR | DEBUG_RANGE_EN | EN | ||||
R-0-0h | R/W-0h | R/W-0h | R/W-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R-0 | 0h | Reserved |
15-12 | RESERVED | R-0 | 0h | Reserved |
11-8 | MON_SEL | R/W | 0h | Type of monitoring 0 : High Pulse width 1 : Low Pulse width 2 : Period width from Rise to Rise 3 : Period width from fall to fall 4 : Monitor rise edge 5 : Monitor fall edge 6-15 : Reserved (High Pulse width) Reset type: CPU1.SYSRSn |
7-3 | RESERVED | R-0 | 0h | Reserved |
2 | DISABLE_EARLY_MAX_ERR | R/W | 0h | Disable early max error check 0 : Max error is generated as soon as pulse width is greater than specified max value 1 : Max error is generated when second event has occurred Reset type: CPU1.SYSRSn |
1 | DEBUG_RANGE_EN | R/W | 0h | Debug mode enable. 0 : Debug mode is disabled. 1 : Debug mode of monitoring unit 1 is enabled to obtain the variation seen in the system for debug purpose. Range is captured in MUNIT_1_DEBUG_RANGE_MIN and MUNIT_1_DEBUG_RANGE_MAX registers Toggle DEBUG_RANGE_EN to restart this process, this will initialize MUNIT_1_DEBUG_RANGE_MIN and MUNIT_1_DEBUG_RANGE_MAX registers. Reset type: CPU1.SYSRSn |
0 | EN | R/W | 0h | 0 : Monitoring unit 1 is disabled 1 : Monitoring unit 1 is enabled Reset type: CPU1.SYSRSn |
MUNIT_1_SHADOW_CTL is shown in Figure 21-37 and described in Table 21-24.
Return to the Summary Table.
Shadow control registers for monitoring unit 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | LOADMODE | SWSYNC | SYNCI_EN | ||||
R-0-0h | R/W-0h | R-0/W1S-0h | R/W-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-3 | RESERVED | R-0 | 0h | Reserved |
2 | LOADMODE | R/W | 0h | Load mode 0 : Active registers are loaded with shadow on next sync event 1 : Active registers are loaded with shadow on EPWMx.GLDLCSTRB event Reset type: CPU1.SYSRSn |
1 | SWSYNC | R-0/W1S | 0h | Copies Min and Max values from shadow to active registers immediately if MUNIT_1_SHADOW_CTL.SYNCI_EN is set. Reset type: CPU1.SYSRSn |
0 | SYNCI_EN | R/W | 0h | Shadow Enable 0 : Disabled 1 : Enabled Reset type: CPU1.SYSRSn |
MUNIT_1_MIN is shown in Figure 21-38 and described in Table 21-25.
Return to the Summary Table.
Min value for monitoring unit 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MIN_VALUE | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | MIN_VALUE | R/W | 0h | Minimum value for monitoring Reset type: CPU1.SYSRSn |
MUNIT_1_MAX is shown in Figure 21-39 and described in Table 21-26.
Return to the Summary Table.
Max value for monitoring unit 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MAX_VALUE | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | MAX_VALUE | R/W | 0h | Maximum value for monitoring Reset type: CPU1.SYSRSn |
MUNIT_1_MIN_SHADOW is shown in Figure 21-40 and described in Table 21-27.
Return to the Summary Table.
Shadow register for Min value of monitoring unit 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MIN_VALUE_SHADOW | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | MIN_VALUE_SHADOW | R/W | 0h | Shadow minimum value for monitoring. Shadow value is loaded to active register on Sync event or global load strobe. Reset type: CPU1.SYSRSn |
MUNIT_1_MAX_SHADOW is shown in Figure 21-41 and described in Table 21-28.
Return to the Summary Table.
Shadow register for Max value of monitoring unit 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MAX_VALUE_SHADOW | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | MAX_VALUE_SHADOW | R/W | 0h | Shadow maximum value for monitoring. Shadow value is loaded to active register on Sync event or global load strobe. Reset type: CPU1.SYSRSn |
MUNIT_1_DEBUG_RANGE_MIN is shown in Figure 21-42 and described in Table 21-29.
Return to the Summary Table.
Observed Min value of check being enabled on minotoring unit 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MIN_VALUE | |||||||||||||||||||||||||||||||
R-FFFFFFFFh | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | MIN_VALUE | R | FFFFFFFFh | Observed Min value of check being enabled on minotoring unit 1. Is updated when MUNIT_1_CTL.DEBUG_RANGE_EN is set to '1' Reset type: CPU1.SYSRSn |
MUNIT_1_DEBUG_RANGE_MAX is shown in Figure 21-43 and described in Table 21-30.
Return to the Summary Table.
Observed Max value of check being enabled on minotoring unit 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MAX_VALUE | |||||||||||||||||||||||||||||||
R-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | MAX_VALUE | R | 0h | Observed Min value of check being enabled on minotoring unit 1. Is updated when MUNIT_1_CTL.DEBUG_RANGE_EN is set to '1' Reset type: CPU1.SYSRSn |
MUNIT_2_CTL is shown in Figure 21-44 and described in Table 21-31.
Return to the Summary Table.
Control registers for monitoring unit 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | MON_SEL | ||||||
R-0-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | DISABLE_EARLY_MAX_ERR | DEBUG_RANGE_EN | EN | ||||
R-0-0h | R/W-0h | R/W-0h | R/W-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R-0 | 0h | Reserved |
15-12 | RESERVED | R-0 | 0h | Reserved |
11-8 | MON_SEL | R/W | 0h | Type of monitoring 0 : High Pulse width 1 : Low Pulse width 2 : Period width from Rise to Rise 3 : Period width from fall to fall 4 : Monitor rise edge 5 : Monitor fall edge 6-15 : Reserved (High Pulse width) Reset type: CPU1.SYSRSn |
7-3 | RESERVED | R-0 | 0h | Reserved |
2 | DISABLE_EARLY_MAX_ERR | R/W | 0h | Disable early max error check 0 : Max error is generated as soon as pulse width is greater than specified max value 1 : Max error is generated when second event has occurred Reset type: CPU1.SYSRSn |
1 | DEBUG_RANGE_EN | R/W | 0h | Debug mode enable. 0 : Debug mode is disabled. 1 : Debug mode of monitoring unit 2 is enabled to obtain the variation seen in the system for debug purpose. Range is captured in MUNIT_2_DEBUG_RANGE_MIN and MUNIT_2_DEBUG_RANGE_MAX registers Toggle DEBUG_RANGE_EN to restart this process, this will initialize MUNIT_2_DEBUG_RANGE_MIN and MUNIT_2_DEBUG_RANGE_MAX registers. Reset type: CPU1.SYSRSn |
0 | EN | R/W | 0h | 0 : Monitoring unit 2 is disabled 1 : Monitoring unit 2 is enabled Reset type: CPU1.SYSRSn |
MUNIT_2_SHADOW_CTL is shown in Figure 21-45 and described in Table 21-32.
Return to the Summary Table.
Shadow control registers for monitoring unit 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
R-0-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | LOADMODE | SWSYNC | SYNCI_EN | ||||
R-0-0h | R/W-0h | R-0/W1S-0h | R/W-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-3 | RESERVED | R-0 | 0h | Reserved |
2 | LOADMODE | R/W | 0h | Load mode 0 : Active registers are loaded with shadow on next sync event 1 : Active registers are loaded with shadow on EPWMx.GLDLCSTRB event Reset type: CPU1.SYSRSn |
1 | SWSYNC | R-0/W1S | 0h | Copies Min and Max values from shadow to active registers immediately if MUNIT_2_SHADOW_CTL.SYNCI_EN is set. Reset type: CPU1.SYSRSn |
0 | SYNCI_EN | R/W | 0h | Shadow Enable 0 : Disabled 1 : Enabled Reset type: CPU1.SYSRSn |
MUNIT_2_MIN is shown in Figure 21-46 and described in Table 21-33.
Return to the Summary Table.
Min value for monitoring unit 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MIN_VALUE | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | MIN_VALUE | R/W | 0h | Minimum value for monitoring Reset type: CPU1.SYSRSn |
MUNIT_2_MAX is shown in Figure 21-47 and described in Table 21-34.
Return to the Summary Table.
Max value for monitoring unit 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MAX_VALUE | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | MAX_VALUE | R/W | 0h | Maximum value for monitoring Reset type: CPU1.SYSRSn |
MUNIT_2_MIN_SHADOW is shown in Figure 21-48 and described in Table 21-35.
Return to the Summary Table.
Shadow register for Min value of monitoring unit 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MIN_VALUE_SHADOW | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | MIN_VALUE_SHADOW | R/W | 0h | Shadow minimum value for monitoring. Shadow value is loaded to active register on Sync event or global load strobe. Reset type: CPU1.SYSRSn |
MUNIT_2_MAX_SHADOW is shown in Figure 21-49 and described in Table 21-36.
Return to the Summary Table.
Shadow register for Max value of monitoring unit 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MAX_VALUE_SHADOW | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | MAX_VALUE_SHADOW | R/W | 0h | Shadow maximum value for monitoring. Shadow value is loaded to active register on Sync event or global load strobe. Reset type: CPU1.SYSRSn |
MUNIT_2_DEBUG_RANGE_MIN is shown in Figure 21-50 and described in Table 21-37.
Return to the Summary Table.
Observed Min value of check being enabled on minotoring unit 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MIN_VALUE | |||||||||||||||||||||||||||||||
R-FFFFFFFFh | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | MIN_VALUE | R | FFFFFFFFh | Observed Min value of check being enabled on minotoring unit 2. Is updated when MUNIT_2_CTL.DEBUG_RANGE_EN is set to '1' Reset type: CPU1.SYSRSn |
MUNIT_2_DEBUG_RANGE_MAX is shown in Figure 21-51 and described in Table 21-38.
Return to the Summary Table.
Observed Max value of check being enabled on minotoring unit 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MAX_VALUE | |||||||||||||||||||||||||||||||
R-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | MAX_VALUE | R | 0h | Observed Min value of check being enabled on minotoring unit 2. Is updated when MUNIT_2_CTL.DEBUG_RANGE_EN is set to '1' Reset type: CPU1.SYSRSn |