SPRUJ42E March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
PRODUCTION DATA
High Resolution Period Control Register
This register is only accessible on EPWM modules with HRPWM capabilities.
Return to Summary Table
Instance Name | Physical Address |
---|---|
EPWM0_G0 | 5000 005Ah |
EPWM0_G1 | 5004 005Ah |
EPWM0_G2 | 5008 005Ah |
EPWM0_G3 | 500C 005Ah |
EPWM1_G0 | 5000 105Ah |
EPWM1_G1 | 5004 105Ah |
EPWM1_G2 | 5008 105Ah |
EPWM1_G3 | 500C 105Ah |
EPWM2_G0 | 5000 205Ah |
EPWM2_G1 | 5004 205Ah |
EPWM2_G2 | 5008 205Ah |
EPWM2_G3 | 500C 205Ah |
EPWM3_G0 | 5000 305Ah |
EPWM3_G1 | 5004 305Ah |
EPWM3_G2 | 5008 305Ah |
EPWM3_G3 | 500C 305Ah |
EPWM4_G0 | 5000 405Ah |
EPWM4_G1 | 5004 405Ah |
EPWM4_G2 | 5008 405Ah |
EPWM4_G3 | 500C 405Ah |
EPWM5_G0 | 5000 505Ah |
EPWM5_G1 | 5004 505Ah |
EPWM5_G2 | 5008 505Ah |
EPWM5_G3 | 500C 505Ah |
EPWM6_G0 | 5000 605Ah |
EPWM6_G1 | 5004 605Ah |
EPWM6_G2 | 5008 605Ah |
EPWM6_G3 | 500C 605Ah |
EPWM7_G0 | 5000 705Ah |
EPWM7_G1 | 5004 705Ah |
EPWM7_G2 | 5008 705Ah |
EPWM7_G3 | 500C 705Ah |
EPWM8_G0 | 5000 805Ah |
EPWM8_G1 | 5004 805Ah |
EPWM8_G2 | 5008 805Ah |
EPWM8_G3 | 500C 805Ah |
EPWM9_G0 | 5000 905Ah |
EPWM9_G1 | 5004 905Ah |
EPWM9_G2 | 5008 905Ah |
EPWM9_G3 | 500C 905Ah |
EPWM10_G0 | 5000 A05Ah |
EPWM10_G1 | 5004 A05Ah |
EPWM10_G2 | 5008 A05Ah |
EPWM10_G3 | 500C A05Ah |
EPWM11_G0 | 5000 B05Ah |
EPWM11_G1 | 5004 B05Ah |
EPWM11_G2 | 5008 B05Ah |
EPWM11_G3 | 500C B05Ah |
EPWM12_G0 | 5000 C05Ah |
EPWM12_G1 | 5004 C05Ah |
EPWM12_G2 | 5008 C05Ah |
EPWM12_G3 | 500C C05Ah |
EPWM13_G0 | 5000 D05Ah |
EPWM13_G1 | 5004 D05Ah |
EPWM13_G2 | 5008 D05Ah |
EPWM13_G3 | 500C D05Ah |
EPWM14_G0 | 5000 E05Ah |
EPWM14_G1 | 5004 E05Ah |
EPWM14_G2 | 5008 E05Ah |
EPWM14_G3 | 500C E05Ah |
EPWM15_G0 | 5000 F05Ah |
EPWM15_G1 | 5004 F05Ah |
EPWM15_G2 | 5008 F05Ah |
EPWM15_G3 | 500C F05Ah |
EPWM16_G0 | 5001 005Ah |
EPWM16_G1 | 5005 005Ah |
EPWM16_G2 | 5009 005Ah |
EPWM16_G3 | 500D 005Ah |
EPWM17_G0 | 5001 105Ah |
EPWM17_G1 | 5005 105Ah |
EPWM17_G2 | 5009 105Ah |
EPWM17_G3 | 500D 105Ah |
EPWM18_G0 | 5001 205Ah |
EPWM18_G1 | 5005 205Ah |
EPWM18_G2 | 5009 205Ah |
EPWM18_G3 | 500D 205Ah |
EPWM19_G0 | 5001 305Ah |
EPWM19_G1 | 5005 305Ah |
EPWM19_G2 | 5009 305Ah |
EPWM19_G3 | 500D 305Ah |
EPWM20_G0 | 5001 405Ah |
EPWM20_G1 | 5005 405Ah |
EPWM20_G2 | 5009 405Ah |
EPWM20_G3 | 500D 405Ah |
EPWM21_G0 | 5001 505Ah |
EPWM21_G1 | 5005 505Ah |
EPWM21_G2 | 5009 505Ah |
EPWM21_G3 | 500D 505Ah |
EPWM22_G0 | 5001 605Ah |
EPWM22_G1 | 5005 605Ah |
EPWM22_G2 | 5009 605Ah |
EPWM22_G3 | 500D 605Ah |
EPWM23_G0 | 5001 705Ah |
EPWM23_G1 | 5005 705Ah |
EPWM23_G2 | 5009 705Ah |
EPWM23_G3 | 500D 705Ah |
EPWM24_G0 | 5001 805Ah |
EPWM24_G1 | 5005 805Ah |
EPWM24_G2 | 5009 805Ah |
EPWM24_G3 | 500D 805Ah |
EPWM25_G0 | 5001 905Ah |
EPWM25_G1 | 5005 905Ah |
EPWM25_G2 | 5009 905Ah |
EPWM25_G3 | 500D 905Ah |
EPWM26_G0 | 5001 A05Ah |
EPWM26_G1 | 5005 A05Ah |
EPWM26_G2 | 5009 A05Ah |
EPWM26_G3 | 500D A05Ah |
EPWM27_G0 | 5001 B05Ah |
EPWM27_G1 | 5005 B05Ah |
EPWM27_G2 | 5009 B05Ah |
EPWM27_G3 | 500D B05Ah |
EPWM28_G0 | 5001 C05Ah |
EPWM28_G1 | 5005 C05Ah |
EPWM28_G2 | 5009 C05Ah |
EPWM28_G3 | 500D C05Ah |
EPWM29_G0 | 5001 D05Ah |
EPWM29_G1 | 5005 D05Ah |
EPWM29_G2 | 5009 D05Ah |
EPWM29_G3 | 500D D05Ah |
EPWM30_G0 | 5001 E05Ah |
EPWM30_G1 | 5005 E05Ah |
EPWM30_G2 | 5009 E05Ah |
EPWM30_G3 | 500D E05Ah |
EPWM31_G0 | 5001 F05Ah |
EPWM31_G1 | 5005 F05Ah |
EPWM31_G2 | 5009 F05Ah |
EPWM31_G3 | 500D F05Ah |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED_1 | |||||||
R | |||||||
0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED_1 | PWMSYNCSELX | HRPSYNCE | TBPHSHRLOADE | PWMSYNCSEL | HRPE | ||
R | R/W | R/W | R/W | R/W | R/W | ||
0h | 0h | 0h | 0h | 0h | 0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:7 | RESERVED_1 | R | 0h | Reserved |
6:4 | PWMSYNCSELX | R/W | 0h | Extended selection bits for EPWMSYNCPER 000:EPWMSYNCPER is defined by PWMSYNCSEL - > default condition [compatible with previous EPWM versions] 001:Reserved 010:Reserved 011:Reserved 100:CTR = CMPC, Count direction Up 101:CTR = CMPC, Count direction Down 110:CTR = CMPD, Count direction Up 111:CTR = CMPD, Count direction Down |
3 | HRPSYNCE | R/W | 0h | SYNC Enable Bit [TRSYNCE]/High Resolution Period SYNC Enable Bit [HRPSYNCE] |
2 | TBPHSHRLOADE | R/W | 0h | TBPHSHR Load Enable This bit allows you to synchronize EPWM modules with a high-resolution phase on a SYNCIN, TBCTL[SWFSYNC] or digital compare event. This allows for multiple EPWM modules operating at the same frequency to be phase aligned with high-resolution. 0:Disables synchronization of high-resolution phase on a SYNCIN, TBCTL[SWFSYNC] or digital compare event: 1:Synchronize the high-resolution phase on a SYNCIN, TBCTL[SWFSYNC] or digital comparator synchronization event. The phase is synchronized using the contents of the high-resolution phase TBPHSHR register. The TBCTL[PHSEN] bit which enables the loading of the TBCTR register with TBPHS register value on a SYNCIN or TBCTL[SWFSYNC] event works independently. However, users need to enable this bit also if they want to control phase in conjunction with the high-resolution period feature. This bit and the TBCTL[PHSEN] bit must be set to 1 when high-resolution period is enabled for up-down count mode even if TBPHSHR = 0x0000. This bit does not need to be set when only high-resolution duty is enabled. |
1 | PWMSYNCSEL | R/W | 0h | PWMSYNC Source Select Bit: This bit selects the source for the EPWMSYNCPER signal that goes to the CMPSS and GPDAC: 0 CTR = PRD: Time-base counter equal to period [TBCTR = TBPRD] 1 CTR = zero: Time-base counter equal to zero [TBCTR = 0x00] |
0 | HRPE | R/W | 0h | High Resolution Period Enable Bit 0:High resolution period feature disabled. In this mode the EPWM behaves as a Type 0 EPWM. 1:High resolution period enabled. In this mode the HRPWM module can control high-resolution of both the duty and frequency. When high-resolution period is enabled, TBCTL[CTRMODE] = 2'b01 [down-count mode] is not supported. |