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.

AM3359 EHPWM BEAGLEBONE Example



Hello,

I am trying to use pwm output using StarterWare, I need simple 20 MHz square. But it's come complex because ehrpwm_haptics example doesn't works with beaglebone? Can anyone help me to configure the beaglebone pwm output?

ps. sorry for my english skills

  • I have just  found a solution. The example named ehrpwm_haptics works on beaglebone, just need to change the line:

    EPWM2PinMuxSetup();

    with

    GpioPinMuxSetup(GPIO_0_23,4);

    Also, using IAR and ehrpwm_haptics sample project, there need to change project settings > debugger > DDR2.mac