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.

Transfer Completed without Interrupt Routine

First of all: sorry for my english. I´m trying to describe my problem as good as I can and I´m hoping you will understand.

I´m using the LCDK C6748 Development Kit und imported the example L138_mem_edma.c successfully.

I modified the c-file, so now I´m transferring more values and float instead of int-values. So far no problems...

Now, I want to know how long it takes to transfer the data from one buffer to another (from the triggered event to the completed transfer).

I don´t want to use interrupts. I only need to know the transfer time for requirement matching. So, I have no use for the interrupt routine.

Is there no register which can be set after the transfer comleted and which I can poll in a while-loop?

I´ve tried the CER (Chained Event Register), but I´m  not sure if the time I get is from triggered event to completed transfer or from triggered event to set CER...

Thank you very much for your answers in advance.

  • Hi Johanna,

    The following method may help you in measuring the time taken for the data transfer between two buffers.

    Use the system clock of C6748 and store it in an array before and after the transfer operations.

    After the transfer gets completed, calculate the timings and print the results.

     

    Regards,

    Shankari

     

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------