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.

AET EDMA Event IDs for K2H12

Hello,

I am trying to map EDMA3 AET system events to a DSP interrupt. Looking at the TRM it looks like different EDMA channel controllers trigger different events. After testing, I have confirmed that EDMACC0 AET is mapped to system event 112, EDMACC1 AET is mapped to system event 114, and EDMACC2 is mapped to system event 115. What are the mappings for EDMACC3 and 4? From the system events table, it looks like the multiple channel controllers may be combined into a single system event, but I have not been able to trigger a system event from EDMACC3 and 4.

Thanks,

Ulises Brindis

  • Hi,

    Yes, You can find the event number for AET at datasheet,

    112  - EDMACC_0_4_TC_AET_INT       (EDMA3CC0_4 AET event)
    114  - EDMACC_1_2_TC_AET_INT       (EDMA3CC1_2 AET event)
    115  - EDMACC_1_3_TC_AET_INT       (EDMA3CC3_4 AET event)

    Here, You can choose AET event from EDMA CC2 or EDMA CC3 or EDMA CC4 through CHIP_MISC_CTL0( AETMUXSEL1, AETMUXSEL0 field)
    Did you configure for EDMACC3 and EDMACC4 in the CHIP_MISC_CTL0 register?

  • Pubesh,

    Thanks for the quick response. I was not configuring the AET fields in the CHIP_MISC_CTL0 register.

    I also wanted to make some clarifications on something which I found to be incorrect in the TRM. The mappings should really be named - 

    112  - EDMACC_0_4_TC_AET_INT       (EDMA3CC0_4 AET event)
    114  - EDMACC_1_TC_AET_INT            (EDMA3CC1 AET event)
    115  - EDMACC_2_3_TC_AET_INT       (EDMA3CC2_3 AET event)

    Basically, I found that event 112 corresponds to the AET event on EDMA0 and EDMA4 depending on the CHIP_MISC_CTL0 register configuration and the rest of the names should follow the same convention

    Also in the description for the CHIP_MISC_CTL0 register description -  

    16 AETMUXSEL0 Controls the mux that selects whether an AET event from EDMA CC0 or EDMA CC4 is connected to the C66x
    Interrupt Controller
    0 = EDMA CC0 (default)
    1 = EDMA CC4

    Regards,

    Ulises