Hello everybody,
have you got any idea what the minimal CPU-frequency is to use the xtimer_usleep?

Today I tried to configure the xtimer to work with a correct time.
I traced through the code and I think that this jumps throught the functions cost many CPU-cycles. I guess that it's not possible to get a 1us time if you have a slow MCU. For example if you have 16MHz clock frequency you have only 16cycles to fire up the timer. I think all network-drivers use usleeps. Do you agree that this is a problem?

Best regards,
Bernhard

_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to