diff options
author | Wade Fife <wade.fife@ettus.com> | 2021-10-25 12:53:19 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-10-27 07:56:09 -0700 |
commit | 4e6531f30648ede5be8f93fa49fdcd4973b73813 (patch) | |
tree | 92bc21a7a5d0a962cb2cce873ada1d8581b91739 /host/lib/usrp | |
parent | 170c3767da67ea7ad0f0103658d17590b080fe67 (diff) | |
download | uhd-4e6531f30648ede5be8f93fa49fdcd4973b73813.tar.gz uhd-4e6531f30648ede5be8f93fa49fdcd4973b73813.tar.bz2 uhd-4e6531f30648ede5be8f93fa49fdcd4973b73813.zip |
siggen: Fix direction of rotation
The I and Q were swapped in sine_tone, which caused confusion and made
the rotation of REG_CARTESIAN clockwise by default. This effectively
made the resulting frequency negative. This PR makes the I and Q order
consistent with RFNoC and fixes the direction of rotation so that a
positive value for REG_PHASE_INC (phase increment) results in a
counter-clockwise rotation, which yields a positive frequency.
Diffstat (limited to 'host/lib/usrp')
0 files changed, 0 insertions, 0 deletions