SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
PWMSS Modules Local Clock Gating feature is not supported in this family of devices.
In addition to PWMSS level IDLE clock management, described above, a clock configuration register - PWMSS_CLKCONFIG is used to individually gate (stop) or enable interface and functional clock to the ePWM/eHRPWM, eCAP and eQEP modules. By default, the interface/functional clocks are enabled to all modules.
The clock status register - PWMSS_CLKSTATUS is used in the PWMSS submodule to indicated acknowledgement of a clock stop or clock enable request.
The PWMSS_CLKCONFIG and PWMSS_CLKSTATUS role is described in Table 29-8.
| Clock Control/Status Feature | PWMSSn Module | Register bit |
|---|---|---|
| Request "stop interface and functional clock" to module | ePWM/eHRPWM | PWMSS_CLKCONFIG[9] EPWM_CLKSTOP_REQ |
| eQEP | PWMSS_CLKCONFIG[5] EQEP_CLKSTOP_REQ | |
| eCAP | PWMSS_CLKCONFIG[1] ECAP_CLKSTOP_REQ | |
| "Stop module interface and functional clock" acknowledged status | ePWM/eHRPWM | PWMSS_CLKSTATUS[9] EPWM_CLKSTOP_ACK |
| eQEP | PWMSS_CLKSTATUS[5] EQEP_CLKSTOP_ACK | |
| eCAP | PWMSS_CLKSTATUS[1] ECAP_CLKSTOP_ACK | |
| Request "enable interface and functional clock" to module | ePWM/eHRPWM | PWMSS_CLKCONFIG[8] EPWM_CLK_EN |
| eQEP | PWMSS_CLKCONFIG[4] EQEP_CLK_EN | |
| eCAP | PWMSS_CLKCONFIG[0] ECAP_CLK_EN | |
| "Enable module Interface and functional clock" acknowledged status | ePWM/eHRPWM | PWMSS_CLKSTATUS[8] EPWM_CLK_EN_ACK |
| eQEP | PWMSS_CLKSTATUS[4] EQEP_CLK_EN_ACK | |
| eCAP | PWMSS_CLKSTATUS[0] ECAP_CLK_EN_ACK |
In order for PWMSSn to enter "Idle state", all PWMSSn submodules must have acknowledged a stop clock request, i.e. the PWMSS_CLKSTATUS bits EPWM_CLKSTOP_ACK, ECAP_CLKSTOP_ACK and EQEP_CLKSTOP_ACK must be raised 'HIGH'.