Again, thanks a lot. So that should work like expected. The frequency is precise to the theroretical 256*44100*2. Now I'm going to find the issue in the rest of the code. I'll open another thread once there is any progress and post the final code to be included in TD.