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.

RTOS/AM5728: EDMA interrupt

Part Number: AM5728

Tool/software: TI-RTOS

When I configure AM5728 about MCASP with EDMA  in the example of  MCASP_Audio_evmAM572x_c66ExampleProject(rtos), I have some problem.

1.When  I  submit   mcaspSubmitChan  every time,   I can respons the interrupt fuction of Mcasp_localEdmaCallback twice. What are these two times?completion or error?

2.When I add PINGPONG ,I can get  data .But I can 't  respons the interrupt fuction of  Mcasp_localEdmaCallback . Why? 

3.How to configure the interrupt about EDMA  ?where I can get the example of EDMA  ?

I'm looking forward to your reply!

  • The RTOS team have been notified. They will respond here.
  • I'm looking forward to your reply!
  • 1.When  I  submit   mcaspSubmitChan  every time,   I can respons the interrupt fuction of Mcasp_localEdmaCallback twice. What are these two times?completion or error?

    >> If you suspect that an interrupt occurred due to an error, you may be able to check the XSTAT or RSTAT register to see if an error occured.

    2.When I add PINGPONG ,I can get  data .But I can 't  response the interrupt fuction of  Mcasp_localEdmaCallback . Why? 

    >> It is difficult to comment without seeing the code that you have implemented. Please attach updated code and highlight what modification have you made over the default MCASP example for this device.

    3.How to configure the interrupt about EDMA  ?where I can get the example of EDMA  ?

    Reference examples for EDMA LLD are provided here: edma3_lld_2_12_05_30C\examples\edma3_driver\evmAM572x_DSP

    Regards,

    Rahul