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.

Where EDMA LLD error codes are defined



Hi,

I'm trying to do some DMA transfers, but I'm getting these errors:

edma3_test: EDMA3_DRV_enableTransfer Failed, error code: -139
edma3_test: EDMA3_DRV_freeChannel() FAILED, error code: -139

Where do I find the definition of the error codes (the possible values and thei meaning of EDMA3_DRV_Result)?

Thanks

  • Hi Johns,

    As you know you have the EDMA LLD in source code so you can find the function EDMA3_DRV_enableTransfer in the file edma3_lld_02_11_05_02\packages\ti\sdo\edma3\drv\src\edma3_drv_basic.c and the function return values in edma3_lld_02_11_05_02\packages\ti\sdo\edma3\drv\edma3_drv.h "/** @brief EDMA3 Driver Error Codes Base define */" and -139 is (EDMA3_DRV_E_BASE = -128) -

    #define EDMA3_DRV_E_INVALID_PARAM               (EDMA3_DRV_E_BASE-11)

    Thanks,

    HR