Hi Julia, The EPWM2_CTR_CMPA is generated based on the value of the active register for CMPA, not the shadow register. There is the option to use immediate mode for CMPA by disabling shadow loading, but this is not recommended for most EPWM applications. Let me know if this answers your question. Thank you, Luke
↧