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.

AUDIO-AM62D-EVM: AM62Dx – eCAP Interrupt Not Triggering While Measuring McASP Tx Clock

Part Number: AUDIO-AM62D-EVM
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi Team,

I'm working on the AM62Dx platform and trying to measure the McASP clock (McASP0_CLK) frequency using the eCAP module.

The McASP clock is confirmed to be active — I verified this through McASP DMA interrupts. However, the eCAP interrupt is not getting triggered.

Configuration Details:
1. eCAP is configured in capture mode with continuous running mode
2. The McASP0 clock pin is routed as input to the eCAP module.
3. All four events (CAP1 to CAP4) are configured to detect the rising edge of the McASP0 clock
4. Prescaler is set to 0
5. eCAP interrupt is enabled, and ISR is properly registered

Could you please guide me on how to verify if eCAP is correctly configured and receiving the input signal from McASP0?
Also, are there any next steps or debug methods to confirm whether the eCAP module is functioning as expected?

Awaiting for your response.

Thanks, 

Monika V 

  • Hello Monika ,

    Can you please share the details below ?

    The ECAP and MCASP examples are running on which core ?

    How did you connect the MSASP clock to the ECAP module by manual connection ?

    Is the ECAP example from MCU+SDK or your own code ?

    Regards,

    Anil.

  • Hi Anil, 

    Please find the information, 

    Q: The ECAP and MCASP examples are running on which core ?

    Ans: MCASP with ECAP configuration software are running c75ss0_0 core.

    Q: How did you connect the MSASP clock to the ECAP module by manual connection?

    Ans: To configure the McASP and ECAP via sysconfig.gui. Please find the image below

    Q: Is the ECAP example from MCU+SDK or your own code?

    Ans: Based on the given ECAP example code from the MCU+SDK I configured the ECAP in the continued capture mode without one shot configuration. 

    Thanks,

    Monika V 

  • Q: How did you connect the MSASP clock to the ECAP module by manual connection?

    Ans: To configure the McASP and ECAP via sysconfig.gui. Please find the image below

    Hello  Monika ,

    I looked at the ECAP interrupt table and fortunate that the ECAP module interrupts are routed to the C7X core.

    And, here the problem is that you are using a single pin as two functionality, that are the MCASP clock and ECAP inputs,

    This is not possible, to test the ECAP interrupt is triggered or not. Use the separate pins for MCASP clock and ECAP input.

    Then manually connect them and see if the ECAP interrupt is triggered or not.

    Regards,

    Anil.