Changes between Version 31 and Version 32 of HardwareUsersGuides/RadioBoard_v1.4/RadioController


Ignore:
Timestamp:
Mar 20, 2007, 5:37:18 PM (17 years ago)
Author:
sgupta
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HardwareUsersGuides/RadioBoard_v1.4/RadioController

    v31 v32  
    7575=== Basic Usage of Radio Functions ===
    7676
     77'''Transmitting Data:''' When the radio is reset and comes up in the default state, the transmit path of the radio is set to use the largest gain that is available. To allow the radio to transmit `TxEnable` from `radio_controller_basic.h` must be called. It forcibly turns off receive enable mode. At this point, data that is available on `user_DAC_I` and `user_DAC_Q` ports of the radio_bridge are transmitted over the air. To turn off transmit mode and go to standby, use `TxRxDisable(...)` again from `radio_controller_basic.h`.
     78
     79'''Receiving Data:''' To receive data put the radio into receive enable mode using `RxEnable(...)` from `radio_controller_basic.h`. This function call automatically turns off the transmit mode. The data that is received will be available on `user_ADC_I` and `user_ADC_Q` ports of the radio bridge peripheral. To turn off receive mode and go to standby, use `TxRxDisable(...)` again from `radio_controller_basic.h`.
     80
    7781'''Selecting Center Frequency:''' Function `SetCenterFreq2GHz(...)` in `radio_controller_basic.h` can be used to set the transceiver center frequency in the 2.4 GHz  ISM band. Within this the channel number can also be selected. By default the center frequency in the 2.4 GHz band is channel number 6 which is equivalent to 2.437 GHz. See [source:/PlatformSupport/CustomPeripherals/drivers/radio_controller_v1_08_a/src/radio_controller_basic.h#L36 radio_controller_basic.h] for details on the different center frequencies available. The center frequency can also be set in the 5 GHz ISM band with `SetCenterFreq5GHz(...)` in [/PlatformSupport/CustomPeripherals/drivers/radio_controller_v1_08_a/src/radio_controller_5ghz.h#L24 radio_controller_5ghz.h].
    7882
     83'''Transmit State Machine:''' In the Radio Controller there is a state machine that is triggered when the `TxEnable(...)` function from `radio_controller_basic.h` is called.
     84
    7985'''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.
    80 
    81 '''Transmitting and Receiving Data:''' Firstly enable transmit mode on the radio by calling `TxEnable(...)`. Then the amplifier should be switched on. If the center frequency is the 2.4 GHz range then select `24AmpEnable(...)` while if in the 5 Ghz range use `5AmpEnable(...)`. The data to be transmitted should be on the `radio_bridge` ports `user_DAC_I` and `user_DAC_Q`. After the transmission is completed the amplifier should be disabled and the transmit should be disabled. For receiving data, use `RxEnable(...)` and the data would be available on the `user_ADC_I` and `user_ADC_Q` ports.