aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2021-10-25 12:53:19 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-10-27 07:56:09 -0700
commit4e6531f30648ede5be8f93fa49fdcd4973b73813 (patch)
tree92bc21a7a5d0a962cb2cce873ada1d8581b91739 /host/lib/usrp
parent170c3767da67ea7ad0f0103658d17590b080fe67 (diff)
downloaduhd-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