Thank you for your advice! The sinf and sqrtf function help a lot to save time! Did'nt know that.But i don't understand why he is doing exactly the same code/compiler/mcu (even integer arithmetic!) and is needing less cycles than my controller.Bst regards,Florian