Browse Source

USRP: B210: fix sample rate range upper bound

Ettus B210 has a maximum sampling rate of 61.44MSPS. Exceeding this limit results in unexpected behavior. Prevent this from occurring by decreasing the maximum sample rate by from 61.444MSP to 61.44MSP (-4k).
chirpmodem-v8.0.0
Evan Older 7 months ago committed by GitHub
parent
commit
01013449bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      devices/usrp/deviceusrpparam.cpp

4
devices/usrp/deviceusrpparam.cpp

@ -74,8 +74,8 @@ bool DeviceUSRPParams::open(const QString &deviceStr, bool channelNumOnly) @@ -74,8 +74,8 @@ bool DeviceUSRPParams::open(const QString &deviceStr, bool channelNumOnly)
else if (deviceStr.contains("product=B210"))
{
// Auto-calculation below can be slow, so use hardcoded values for B210
m_srRangeRx = uhd::meta_range_t(1e5, 61.444e6);
m_srRangeTx = uhd::meta_range_t(1e5, 61.444e6);
m_srRangeRx = uhd::meta_range_t(1e5, 61.44e6);
m_srRangeTx = uhd::meta_range_t(1e5, 61.44e6);
}
else
{

Loading…
Cancel
Save