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

CortexM3 uS delay

I am quite new to CortexM3, so I am not sure what is the best approach to achieve microseconds delay. What I did on ARM7 and some 8-bit processors, is "waste time loops" in assembler which do some NOPs and tweak it with oscilloscope for certain osc freq. But with enabling PLL on CortexM3 I am wondering if I could achieve same with timers ? If I set PLL to get 120Mhz, will my timer work at that freq or at base freq of 20Mhz as osc ?

Thanks.

Parents
  • If I set PLL to get 120Mhz, will my timer work at that freq or at base freq of 20Mhz as osc ?

    My Cortex M3 manual doesn't list any PLL.

    Ah, you must be talking about a specific chip that has a Cortex M3 as a core.

    Presumably the documentation for that chip gives you a clue? How can we help if we don't even know what specific chip your talking about?

    Remember that programming is all about getting detale correct.

Reply
  • If I set PLL to get 120Mhz, will my timer work at that freq or at base freq of 20Mhz as osc ?

    My Cortex M3 manual doesn't list any PLL.

    Ah, you must be talking about a specific chip that has a Cortex M3 as a core.

    Presumably the documentation for that chip gives you a clue? How can we help if we don't even know what specific chip your talking about?

    Remember that programming is all about getting detale correct.

Children