Skip to content

Reconsider use of FreqShiftF vs FreqShiftF2 #33

Description

@tmr4

You should find that the calculation time of FreqShiftF is about 1ms longer than FreqShiftF2 when freqShift_Hz is not zero. The problem you were having with FreqShiftF2 is likely due to Osc_Vect_Q and Osc_Vect_I not being static.

Edit: also note that the translation part of FreqShiftF2 is missing the cross multiplication from the original code. Also, I removed freqAdjFactor. It's just an undocumented gain factor.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions