RFNoC TX Radio
Jump to navigation
Jump to search
The RFNoC TX Radio block is used to stream samples out of the USRP RFNoC module through the USRP Transmitter. Its functionality is very similar to that of the USRP Sink Block. This enables more efficient handling of high data rates and computationally intensive tasks directly within the FPGA.
Parameters
(R): Run-time adjustable
- Channel count
- default: 1
- this specifies the number of channels / streams to be used with the block.
- Block Args
- default: ""
- Viable properties can be found at RFNoC Radio control.
- Device Select / Instance Select
- Default: -1 / Default: -1
- These properties specify the device and instance to be used. It is best practice to always explicitly specify both. This is crucial because many USRP setups involve multiple instances of different blocks, and GNU Radio tends to select the first device or instance it finds, which may not be the most suitable choice. Explicit specification helps to prevent errors and ensures the correct setup is used.
- - Use uhd_usrp_probe to determine the correct device and instance numbers.
- - Always specify the device and instance explicitly to avoid automatic mismatches by GNU Radio.
- Even with a single device with multiple instances:
- - 0/Radio#0 → Device 0, Instance 0
- - 0/Radio#1 → Device 0, Instance 1
- Specification with multiple devices:
- - 0/Radio#1 → Device 0, Instance 1
- - 1/Radio#1 → Device 1, Instance 1
- By consistently specifying the device and instance, you ensure that the most appropriate settings are applied and avoid potential issues caused by automatic selection.
- Sample Rate (Hz)
- dtype: real
The number of samples per second, which is equal to the bandwidth in Hz we wish to observe. The UHD device driver will try its best to match the requested sample rate. If the requested rate is not possible, the RFNoC block will print an error at runtime.
- Ch0 Antenna Select
- options: [TX/RX, RX2, RX1]
- default: RX2
- For subdevices with only one antenna, this may be left blank. Otherwise, the user should specify one of the possible antenna choices. See the daughter-board application notes for the possible antenna choices.
- Ch0 Center Frequency (Hz)
- default: 1e9
- The center frequency is the overall frequency of the RF chain. The base option is to input an int or float value in Hz.
- Ch0 Gain
- default: 0
- Value used for gain, which is either between 0 and the max gain for the USRP (usually around 70 to 90), when using the default "Absolute" Gain Type.
- Ch0 Bandwidth (Hz)
- default:
- The bandwidth used by the USRP's anti-aliasing filter. To use the default bandwidth filter setting, this should be zero. Only certain subdevices have configurable bandwidth filters. See the daughterboard application notes for possible configurations.
- Ch1 Antenna Select
- options: [TX/RX, RX2, RX1]
- default: RX2
- For subdevices with only one antenna, this may be left blank. Otherwise, the user should specify one of the possible antenna choices. See the daughter-board application notes for the possible antenna choices.
- Ch1 Center Frequency (Hz)
- default: 1e9
- The center frequency is the overall frequency of the RF chain. The base option is to input an int or float value in Hz.
- Ch1 Gain
- default: 0
- Value used for gain, which is either between 0 and the max gain for the USRP (usually around 70 to 90), when using the default "Absolute" Gain Type.
- Ch1 Bandwidth (Hz)
- default:
- The bandwidth used by the USRP's anti-aliasing filter. To use the default bandwidth filter setting, this should be zero. Only certain subdevices have configurable bandwidth filters. See the daughterboard application notes for possible configurations.
- Ch2 Antenna Select
- options: [TX/RX, RX2, RX1]
- default: RX2
- For subdevices with only one antenna, this may be left blank. Otherwise, the user should specify one of the possible antenna choices. See the daughter-board application notes for the possible antenna choices.
- Ch2 Center Frequency (Hz)
- default: 1e9
- The center frequency is the overall frequency of the RF chain. The base option is to input an int or float value in Hz.
- Ch2 Gain
- default: 0
- Value used for gain, which is either between 0 and the max gain for the USRP (usually around 70 to 90), when using the default "Absolute" Gain Type.
- Ch2 Bandwidth (Hz)
- default:
- The bandwidth used by the USRP's anti-aliasing filter. To use the default bandwidth filter setting, this should be zero. Only certain subdevices have configurable bandwidth filters. See the daughterboard application notes for possible configurations.
- Ch3 Antenna Select
- options: [TX/RX, RX2, RX1]
- default: RX2
- For subdevices with only one antenna, this may be left blank. Otherwise, the user should specify one of the possible antenna choices. See the daughter-board application notes for the possible antenna choices.
- Ch3 Center Frequency (Hz)
- default: 1e9
- The center frequency is the overall frequency of the RF chain. The base option is to input an int or float value in Hz.
- Ch3 Gain
- default: 0
- Value used for gain, which is either between 0 and the max gain for the USRP (usually around 70 to 90), when using the default "Absolute" Gain Type.
- Ch3 Bandwidth (Hz)
- default:
- The bandwidth used by the USRP's anti-aliasing filter. To use the default bandwidth filter setting, this should be zero. Only certain subdevices have configurable bandwidth filters. See the daughterboard application notes for possible configurations.
Example Flowgraph
You can find this example at rfnoc_radio_loopback.grc
Source Files
- C++ files
- rfnoc_tx_radio_impl.h
- Header files
- rfnoc_tx_radio_impl.h
- Public header files
- rfnoc_tx_radio.h
- Block definition
- uhd_rfnoc_tx_radio.block.yml