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.

Memory access timing

How much timing difference between internal memory access and external Flash or RAM memory access using EMIF.?

  • Hi Rahul,

    Thanks for your post.

    Actually, it is not possible to answer this question in a straight forward manner, because the time difference between internal memory & external memory access which truly depends on the actual code size, how many threads running on the actual project , interrupts and many factors involved in it.

    In general, i shall suggest you to calculate the CPU cycle time taken for the particular code section mapped to memory sections in the linker command file (.cmd file). Also, you shall map the same code section to both internal memory & external memory sections (RAM) seperately in the linker command file and execute the code seperately. You will able to calculate the no. of CPU cycle time taken for the same code section in both the cases (mapped to internal & external memory). By this, we shall find the time difference of CPU cycles in both the cases mapped for the same code section.

    I hope, you will be clarified on the reply above.

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

    Thanks & regards,
    Sivaraj K

     

    I