Changes between Version 21 and Version 22 of HardwareUsersGuides/RadioBoard_v1.4/RadioController
- Timestamp:
- Jul 24, 2006, 1:22:18 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HardwareUsersGuides/RadioBoard_v1.4/RadioController
v21 v22 60 60 === Basic Usage of Radio Functions === 61 61 62 '''Selecting Center Frequency:''' Functions `SetCenterFreq2GHz(...)` and `SetCenterFreq5GHz(...)` can be used to set the transceiver center frequency in the 2.4 GHz and 5 GHz ISM bands respectively. Within these the channel number can also be selected. By default the center frequency is in the 2.4 GHz band with channel number 6 which is equivalent to 2.437 GHz. 62 '''Selecting Center Frequency:''' Functions `SetCenterFreq2GHz(...)` and `SetCenterFreq5GHz(...)` can be used to set the transceiver center frequency in the 2.4 GHz and 5 GHz ISM bands respectively. Within these the channel number can also be selected. By default the center frequency is in the 2.4 GHz band with channel number 6 which is equivalent to 2.437 GHz. See [source:/PlatformSupport/CustomPeripherals/drivers/radio_controller_v1_04_a/src/radio_controller.h@latest#L344 radio_controller.h] for details on the different center frequencies available. 63 63 64 64 '''Setting Transmit and Receive Gains:''' For transmit gains first set `SerialTxGain(...)` mode to 1. Then using `BaseBandTxGain(...)` and `TxVGAGainControl(...)` set the transmit gain. For the receive gains the `SerialRxGain(...)` mode can be set to 0 or 1. If the mode is set to 1 the `RxLNAGainControl(...)` and `RxVGAGainControl(...)` should be used to serially set the receive gains. While when the mode is 0 the receive gains are set by a parallel bus `user_BB_gain` and `user_RF_gain` respectively. The parallel busses are inputs to the `radio_bridge` peripheral for each of the daughtercard slots. The second mode is generally used where there is a separate peripheral that selects the receive gains, for example an Automatic Gain Control algorithm.