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.

parameter problem of CSL for EDMA3

I write a EDMA3 driver with CSL on C6657 platform. I used two CSL functions as below:
    CSL_IDEF_INLINE void CSL_edma3MapDMAChannelToParamBlock
    (
        CSL_Edma3Handle     hModule,
        Uint8               dmaChannel,
        Uint16              paramId
    );

    CSL_Edma3ParamHandle  CSL_edma3GetParamHandle (
        CSL_Edma3ChannelHandle       hEdma,
        Int16                        paramNum,
        CSL_Status                   *status       
    );

My question is that the parameter parmId and parmNum is the same ?

  • Hi Jack,

    CSL_edma3MapDMAChannelToParamBlock is to connect between DMA channel number and a specific PARAM entry which will include the EDMA channel parameters, and CSL_edma3GetParamHandle is for getting the pointer for a specific PARAM entry to be programed, in your case as you are using one EDMA with one PARAM entry than you use the same PARAM entry but in case of using linking or chaining than you will program more than one PARAM entry,

    Thanks,

    HR

  • HR,

    Thank you!

    Jack