Part Number: TMS320F28379S
Tool/software:
- Hi,
I am trying to implement a fixed delay on PWM3A signal using CLB in TMS320F28379S controller. I have verified my .syscfg settings through simulation(GTKWave tool).
I am not able to achieve this delay in hardware while observing in scope. Following are my lines of clb_logic.c(PWM initialised separately).
CLB_enable(CLB3_BASE);
initTILE3(CLB3_BASE);
CLB_configLocalInputMux(CLB3_BASE, CLB_IN0, CLB_LOCAL_IN_MUX_GLOBAL_IN);
CLB_configGlobalInputMux(CLB3_BASE, CLB_IN0, CLB_GLOBAL_IN_MUX_EPWM3A_OE);
CLB_configGPInputMux(CLB3_BASE, CLB_IN0, CLB_GP_IN_MUX_EXTERNAL);
CLB_setOutputMask(CLB3_BASE, 0x02, true);
Is there anything I am overlooking?
Thanks,
Shreni