This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2634: MCU-PLUS-SDK-AM263X

Part Number: AM2634

Team,

We see for PWM syscfg goes and enables the timer base clock, this effectively starts the PWM.
In practical systems this is not the desired behaviour since, typically some board level setup is needed before PWM is turned on.

In below file, making this flag as false keeps the PWM time base OFF
mcu_plus_sdk_am263x_09_00_00_35/source/drivers/.meta/epwm/templates/epwm_init.c.xdt 

If you think this is reasonable, consider putting this change by default in next SDK release

@@ -9,7 +9,7 @@
% let instance = module.$instances[i];
% let config = module.getInstanceConfig(instance);
% if (["am263x"].includes(common.getSocName())) {
SOC_setEpwmTbClk(`config.name.slice(4)`, TRUE);
SOC_setEpwmTbClk(`config.name.slice(4)`, FALSE);
SOC_setEpwmGroup(`config.name.slice(4)`, `instance.epwmGroup.slice(-1)`);
% if(instance.epwmTimebase_emulationMode != "EPWM_EMULATION_FREE_RUN") {
Soc_enableEPWMHalt(`config.name.slice(4)`);