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 M3 Cache disable

Note: This was originally posted on 23rd August 2010 at http://forums.arm.com

Hi everybody,

I have here an STM32F103ZE with an Cortex M3 core and I need to disable the cache. But unfortunatly I dont find any information about it. If I understood it right, I have to use the MPU - registers to disable the cache but i dont know which.
Hope you can help me!

Kind regards
Mathias
Parents
  • Note: This was originally posted on 24th August 2010 at http://forums.arm.com

    Hi all,

    well i will try to explain, what i want to do:
    I have an data array with 12 bit. These bits i want to give out on a pin. To get an exact timing (about 500ns) between the bits i tryed to make a while loop with a timer. But with this i have lots of jitters. So i thought i can switch of the cache to avoid them.
    But well now i have to try something else. Is there any assembler reference for the Cortex M3? I havent found one yet.

    Kind regards
Reply
  • Note: This was originally posted on 24th August 2010 at http://forums.arm.com

    Hi all,

    well i will try to explain, what i want to do:
    I have an data array with 12 bit. These bits i want to give out on a pin. To get an exact timing (about 500ns) between the bits i tryed to make a while loop with a timer. But with this i have lots of jitters. So i thought i can switch of the cache to avoid them.
    But well now i have to try something else. Is there any assembler reference for the Cortex M3? I havent found one yet.

    Kind regards
Children
No data