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.

Not able to clear EDMA event missed register through EMCR.

Other Parts Discussed in Thread: TMS320C6457, SYSBIOS

Hi,

DSP: TMS320C6457

I am using EDMA to transfer data through EMIFA. But after some time, EMRH bits are getting set. I am not able to clear the missed event by writing  1 to EMRCH.. How do i clear  the Event missed register to continue transfer. Im manually setting all bits of EMCR in the memory browser of Code composer studio, still the event missed register bits are not cleared...  Kindly help....

  • Hi,

    Yes, You are right.

    If you want to clear corresponding missed event captured in EMR then you have to set corresponding event bit in EMCR.

    If everything is okay then it might have need superuser to access those registers.

    Are you using any examples from TI or own code ?

    starterware or SYSBIOS or CSL?

  • Akshay,

    Look at other register bits to see what else is set. In particular, the SERH bits are likely set. If so, you will need to clear the SERH bits by writing to SECRH, first. Test SERH to see if it is cleared, and repeat writing to SECRH until SERH stays cleared. Then you can clear EMRH by writing to EMCRH.

    Instead of testing and repeating the SERH/SECRH operations, it may be faster and easier to write to SECRH 4 times to clear SERH 4 times, and then write to EMCRH to clear it. It depends on what you will be doing next whether this is faster or not.

    Regards,
    RandyP