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.

TMS320F28388D: CLB module and ePWM module output association

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hello,

I found a problem, but I don't understand why. I didn't find the answer in the TRM.

The ePWM1 moudle route to two pairs of pins, one pair of GPIO0 and GPIO1, another pair of GPIO145 and GPIO146, when these two sets of pins are associated with CLB output, I find some differences:

The EPWM1 route to GPIO 0 and GPIO1 as follow,the output  of CLB is OK, and the oscilloscope can capture the CLB output from gpio0 and gpio1
   
    GPIO_setPinConfig(GPIO_0_EPWM1A);
    GPIO_setDirectionMode(0, GPIO_DIR_MODE_OUT);
    GPIO_setPadConfig(0, GPIO_PIN_TYPE_STD);
    GPIO_setPinConfig(GPIO_1_EPWM1B);
    GPIO_setDirectionMode(1, GPIO_DIR_MODE_OUT);
    GPIO_setPadConfig(1, GPIO_PIN_TYPE_STD);
      
    CLB_setOutputMask(CLB1_BASE, 1 << 0 | 1 << 2, true);
But when EPWM1 route to GPIO145 and GPIO146, there is no output from  CLB, and the oscilloscope can't see anything from these two pins
      GPIO_setPinConfig(GPIO_145_EPWM1A);
    GPIO_setDirectionMode(145, GPIO_DIR_MODE_OUT);
    GPIO_setPadConfig(145, GPIO_PIN_TYPE_STD);
    GPIO_setPinConfig(GPIO_146_EPWM1B);
    GPIO_setDirectionMode(146, GPIO_DIR_MODE_OUT);
    GPIO_setPadConfig(146, GPIO_PIN_TYPE_STD);
     
    CLB_setOutputMask(CLB1_BASE, 1 << 0 | 1 << 2, true);
Is this right?
Thank you! Hope for your reply.