Changes between Version 27 and Version 28 of HardwareUsersGuides/RadioBoard_v1.4/RadioController


Ignore:
Timestamp:
Mar 19, 2007, 10:33:05 PM (17 years ago)
Author:
sgupta
Comment:

--

Legend:

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

    v27 v28  
    11= Radio Controller =
     2
     3{{{
     4#!NewsFlash
     5 '''''Note: The documentation below is only for the 1.08+ versions of the Radio Controller. For documentation relating to previous versions of the Radio Controller refer to an [http://warp.rice.edu/trac/wiki/RadioController?version=24 older revision] of this page.'''''
     6}}}
    27
    38The radio contoller is a custom peripheral designed to utilize the many functions of the radio boards. It contains SPI logic to set the registers in the Radio and DAC chips on the boards and logic to keep track of the control pins for both of the chips. Also provided with the radio controller are drivers that enable the use of the radio controller. For the latest copy of the radio controller and its drivers refer to the [source:PlatformSupport/CustomPeripherals/ repository].
     
    2025== Using the Radio Controller Drivers ==
    2126
    22 ''Note: The documentation below is only for the 1.08+ versions of the radio controller. For documentation relating to previous versions of the Radio Controller refer to an [http://warp.rice.edu/trac/wiki/RadioController?version=24 older revision] of this page.''
    23 
    24 All the functions provided with the radio controller can be accessed through {{{radio_controller.h}}}. Include this file in your C program by inserting the following line at the top:
     27The Radio Controller functions are divided up into five libraries: {{{radio_controller_basic.h}}}, {{{radio_controller_ext.h}}}, {{{radio_controller_adv.h}}}, {{{radio_controller_cal.h}}} and {{{radio_controller_5ghz.h}}}. To use each of the libraries in your C program, include the following line in the beginning of your code:
    2528{{{
    26  #include "radio_controller.h"
     29 #include "radio_controller_basic.h"
     30 #include "radio_controller_ext.h"
     31 ...
    2732}}}
    2833
    29 All the radio controller functions are divided into two sets. The first set control the Maxim Radio on the board and begin with {{{WarpRadio_}}} while the second set controls the Digitial-to-Analog Converter (DAC) for the data and these begin with {{{WarpDac_}}}. Since the ADC has no on-chip registers, all configuration is hardcoded in the verilog.
     34These are the functions that are available in each of the files:
     35
     36{{{radio_controller_basic.h}}}
     37  This library must always be included as it has the initialization functions as well as basic functions such as transmit enable and receive enable. It also has control to change the center frequency of transmission in the 2.4GHz band.
     38{{{radio_controller_ext.h}}}
     39  This builds on the most basic functions available by allowing the user to change the transmit and receive gains, having finer control of the amplifiers and the transmit enable state machine and controlling the various transmit and recieve filters provided by the radio.
     40{{{radio_controller_adv.h}}}
     41  This has all the advanced functions for the user. The user can select whether the shutdown, transmit enable and receive enable pins are controlled by software or by hardware ports, power down chips on the board and adjust gains for the digital-to-analog converter.
     42{{{radio_controller_5ghz.h}}}
     43  Has all the functions related to using the 5GHz ISM band that is covered by the radio.
     44{{{radio_controller_cal.h}}}
     45  Has calibration mode functions.
    3046
    3147=== Inputs to Functions ===