diff options
-rw-r--r-- | grc/blocks/usrp2_sink_xxxx.xml | 21 | ||||
-rw-r--r-- | grc/blocks/usrp2_source_xxxx.xml | 21 |
2 files changed, 40 insertions, 2 deletions
diff --git a/grc/blocks/usrp2_sink_xxxx.xml b/grc/blocks/usrp2_sink_xxxx.xml index 14586cc36..f9fb25361 100644 --- a/grc/blocks/usrp2_sink_xxxx.xml +++ b/grc/blocks/usrp2_sink_xxxx.xml @@ -21,7 +21,8 @@ self.$(id).set_interp($interpolation) self.$(id).set_lo_offset($lo_offset) #end if self.$(id).set_center_freq($frequency) -self.$(id).set_gain($gain)</make> +self.$(id).set_gain($gain) +self.$(id).config_mimo($usrp2_clock_src)</make> <callback>set_interp($interpolation)</callback> <callback>#if $lo_offset() != float('inf') self.$(id).set_lo_offset($lo_offset) @@ -84,6 +85,24 @@ self.$(id).set_center_freq($frequency)</callback> <value>0</value> <type>real</type> </param> + <param> + <name>Clock Source</name> + <key>usrp2_clock_src</key> + <value>usrp2.MC_WE_DONT_LOCK</value> + <type>enum</type> + <option> + <name>Internal</name> + <key>usrp2.MC_WE_DONT_LOCK</key> + </option> + <option> + <name>External SMA</name> + <key>usrp2.MC_WE_LOCK_TO_SMA</key> + </option> + <option> + <name>External MIMO</name> + <key>usrp2.MC_WE_LOCK_TO_MIMO</key> + </option> + </param> <sink> <name>in</name> <type>$type</type> diff --git a/grc/blocks/usrp2_source_xxxx.xml b/grc/blocks/usrp2_source_xxxx.xml index 0f297dfd1..584199798 100644 --- a/grc/blocks/usrp2_source_xxxx.xml +++ b/grc/blocks/usrp2_source_xxxx.xml @@ -21,7 +21,8 @@ self.$(id).set_decim($decimation) self.$(id).set_lo_offset($lo_offset) #end if self.$(id).set_center_freq($frequency) -self.$(id).set_gain($gain)</make> +self.$(id).set_gain($gain) +self.$(id).config_mimo($usrp2_clock_src)</make> <callback>set_decim($decimation)</callback> <callback>#if $lo_offset() != float('inf') self.$(id).set_lo_offset($lo_offset) @@ -84,6 +85,24 @@ self.$(id).set_center_freq($frequency)</callback> <value>0</value> <type>real</type> </param> + <param> + <name>Clock Source</name> + <key>usrp2_clock_src</key> + <value>usrp2.MC_WE_DONT_LOCK</value> + <type>enum</type> + <option> + <name>Internal</name> + <key>usrp2.MC_WE_DONT_LOCK</key> + </option> + <option> + <name>External SMA</name> + <key>usrp2.MC_WE_LOCK_TO_SMA</key> + </option> + <option> + <name>External MIMO</name> + <key>usrp2.MC_WE_LOCK_TO_MIMO</key> + </option> + </param> <source> <name>out</name> <type>$type</type> |