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.

Understanding eCAP functionality on OMAP-L138

Other Parts Discussed in Thread: OMAP-L138

Hi,

We are planning to use eCAP's for APWM functionality.

Basically we need two independent PWM signals.

I am trying to understand the eCAP functionality to generate two independent PWM signals from APWM2 and APWM1.

In page-27 of SPRUFL2A when we configure independently then same APWM waveform will be generated on APWM1 and APWM2 ?

My understanding is It's not possible to generate to different waveforms on APWM0, APWM1 and APWM2. Is this correct?

Please clarify how use APWM0, APWM1 and APWM2 independently.

Thank You & Regards,

GSR

  • GSR -

    1258021 said:
    I am trying to understand the eCAP functionality to generate two independent PWM signals from APWM2 and APWM1

    I believe each of the eCAP's have the ability to be programmed independent of each other. On the OMAP-L138, there are three eCAP peripherals, so you should be able to generate a different waveform on each channel (APWM0, 1, & 2).

    The eCAP's can be changed together to control phase, etc, but they can be run as a stand alone peripheral as well. In the OMAP-L138 Datasheet you can refer to the memory map to see that each of the eCAPs have their own address space to be configured.

  • Hi Drew Abuan,

    Initially I misunderstood that the register set given in eCAP User Guide is for all the eCAP modules.

    Thank You for the clarification.

    Regards,

    GSR