Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

micros() function gives low resolution

$
0
0

If I try to read the "micros()" function, I only get multiples of 512.

I run a MSP430G2553 that, according to specs, should run with 16MHz.

here is a minimalistic code:

void setup()
{
  Serial.begin(9600);
}
void loop()
{
  Serial.println(micros());
}
Any ideas why I can not get higher resolution than 512 uSec?

 

 
cheers, Daniel

Viewing all articles
Browse latest Browse all 2077

Trending Articles