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.

AWR2944EVM: edma link parameter set failed!

Part Number: AWR2944EVM

when I use the link configure api such as EDMA_setPaRAM(baseAddr, shadowParamId, &edmaParam),and EDMA_linkChannel(baseAddr, paramId, shadowParamId).

after do that ,the param RAM paramId and the shadowParamId RAM is not same.why?

  • In the EDMA (Enhanced Direct Memory Access) controller, the PaRAM (Parameter RAM) set is used to configure DMA transfers. Each PaRAM set contains various parameters like source address, destination address, transfer size, etc.

    When you use the `EDMA_setPaRAM` function, you are configuring a specific PaRAM set with the parameters specified in the `edmaParam` structure. This sets up the transfer characteristics for that particular PaRAM set.

    On the other hand, the `EDMA_linkChannel` function is used to link two PaRAM sets together. The `paramId` is the ID of the PaRAM set that you want to link from, and the `shadowParamId` is the ID of the PaRAM set that you want to link to. This linking is used for chaining transfers, where after the completion of the transfer defined by `paramId`, the transfer defined by `shadowParamId` will automatically start.

    The reason the PaRAM set for `paramId` and `shadowParamId` are not the same after linking is because they are meant to define different transfers. The `paramId` PaRAM set defines the first transfer, and the `shadowParamId` PaRAM set defines the next transfer in the chain. They are linked so that the second transfer starts immediately after the first one completes, but they can have different transfer parameters (source, destination, size, etc.).

    If you want the `shadowParamId` PaRAM set to have the same parameters as the `paramId` PaRAM set, you would need to explicitly set it using `EDMA_setPaRAM` for the `shadowParamId` as well, before or after linking.