This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex-M7 Load/store timing execution ?

I'm not a native English speaker. So, sorry for the broken English. I'm intend to develop a system where the microcontroller will interface with a 8 bit parallel port IC. The bytes will be loaded into the microcontroller at the specific timing. As documented for the Cortex-M4 in http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0439b/CHDDIGAC.html , the example: LDR R0,[R1,R2]; STR R0,[R3,#20] - normally three cycles total.

How about the timing for the Cortex-M7 same as the example ? 

Parents
  • Hi,


    the document says the execution time of a pair of "LDR and STR" will be 3 cycles.
    In the Cortex-M7 case, it would be basically the same.
    However, the Cotrtex-M7 can execute by 1 cycle for the successive pairs of "LDR and STR".
    That is.
    1) LDR & STR                         --- 3 cycles
    2) LDR & STR; LDR & STR              --- 4 cycles
    3) LDR & STR; LDR & STR; LDR & STR;  --- 5 cycles

    These are results from the real evaluation board.


    Best regards,
    Yasuhiko Koumoto.

Reply
  • Hi,


    the document says the execution time of a pair of "LDR and STR" will be 3 cycles.
    In the Cortex-M7 case, it would be basically the same.
    However, the Cotrtex-M7 can execute by 1 cycle for the successive pairs of "LDR and STR".
    That is.
    1) LDR & STR                         --- 3 cycles
    2) LDR & STR; LDR & STR              --- 4 cycles
    3) LDR & STR; LDR & STR; LDR & STR;  --- 5 cycles

    These are results from the real evaluation board.


    Best regards,
    Yasuhiko Koumoto.

Children