Saturday, 17 August 2013

What's single operation time duration in STM32

What's single operation time duration in STM32

I made simple delay func:
void Delay(__IO uint32_t nCount)
{
while(nCount--) {}
}
And I want to predict time duration of single execution with some value. I
know it's bad idea but I don't need accurate time and it will be not
interrupted.
I'm using STM32F405 @ 168 MHz with 8 MHz external crystal.
So far I've noticed that calling it with 0x80 0000 gives me about half
second delay.

No comments:

Post a Comment