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.

Concerto EPWM8 and EPWM9

Other Parts Discussed in Thread: CONTROLSUITE

Hi,

When we use epwm8A-8B with gpio14-15 it works fine. But when we use it with gpio 60-61 itwe don't see anything from outputs but the counters are counting. Also we have the same problem with epwm9A-9B. epwm9 is working with gpio30-31 and not working with gpio62-63. What can cause this problem? We have tried the software with two different experimenters kits and with two of our custom design board. We see the same things. It can't be a coincidence taht all of the boards are broken, I suppose. Can you help us solve the problem?

Best Regards.

  • Ünal Tenekeci said:
    But when we use it with gpio 60-61 itwe don't see anything from outputs b

    On the controlCARD there are jumpers that must be configured for the output to come to the 100pin connector - can you check that these have been configured?  Refer to the controlCARD info sheet. 7635.F28M35xx_InfoSheet_06_13_12.pdf

    If this doesn't solve the problem, check that the M3 has properly handed off ownership of these pins to the 28x.

    Regards

    Lori

  • I have checked them already.Jumpers are ok in the control cards. In our design there are no jumpers.M3 side is ok too. Also I have tried different configurations like pull-ups enabled and push-pull,but non of them is working.

  • Ünal,

    We are investigating.

    -Lori

  • I have verified that ePWM8 and ePWM9 work on GPIO60-61 and GPIO62-63 respectively.  I modified and ran the ePWM_updown_aq example that we have in controlSUITE to use these pins.  Make sure you are using the correct configuration of the GPIOs as follows:

     

    // This specifies which of the possible GPIO pins will be EPWM8 functional pins.
    // Comment out other unwanted lines.

      EALLOW;

        //GpioCtrlRegs.GPAMUX1.bit.GPIO14 = 1;        // Configure GPIO14 as EPWM8A
      GpioCtrlRegs.GPBMUX2.bit.GPIO60 = 3;           // Configure GPIO60 as EPWM8A
        //GpioCtrlRegs.GPAMUX1.bit.GPIO15 = 1;      // Configure GPIO15 as EPWM8B
      GpioCtrlRegs.GPBMUX2.bit.GPIO61 = 3;         // Configure GPIO61 as EPWM8B

      EDIS;

     

     Also make sure you are passing control of the GPIO pins from the M3 to the C28.  You can see how this is done in the setup_M3 example in the control subsystem examples in controlSUITE.  Please let us know if we can clarify more.

     

     Thanks,

    Derek