frontEnd Class Reference

Implements RFFE features. More...

List of all members.

Public Member Functions

bool Init (float LPFCornerFreq, float RF_Freq)
 Initializes RFFE, sets RF filter and frequency.
bool TxGain (int PA_Gain, int Transceiver)
 Adjusts transceiver gain (only for TX).
bool RxGain (int LNA_Gain, int VGA_Gain, int Transceiver)
 Adjusts transceiver gain (only for RX).
unsigned int WriteRFFEReg (int Transceiver, unsigned int SPIReg, unsigned int Data)
 Sets SPI register value for a given transceiver.


Detailed Description

Implements RFFE features.


Member Function Documentation

bool Init ( float  LPFCornerFreq,
float  RF_Freq 
)

Initializes RFFE, sets RF filter and frequency.

Parameters:
LPFCornerFreq Cutoff frecuency of the RF filter.
  • TX Mode
    • 12, 18 , 24 MHz
  • RX Mode
    • 6.75, 7.125, 7.5, 7.875, 8.25, 8.55, 9.025, 9.5, 9.975, 10.45, 12.6, 13.3, 14, 14.7, 15.4, 16.2, 17.1, 18, 18.9, 19.8 MHz
RF_Freq RF frecuency in MHz.
Returns:
True if successful.

bool TxGain ( int  PA_Gain,
int  Transceiver 
)

Adjusts transceiver gain (only for TX).

Parameters:
PA_Gain Power Amplifier gain.
ValueDescription
>=0Set transceiver gain to specified value.
-1Set transceiver in shutdown mode.
-2Set transceiver in standby mode.
Transceiver Transceiver number.
Returns:
True if successful.

bool RxGain ( int  LNA_Gain,
int  VGA_Gain,
int  Transceiver 
)

Adjusts transceiver gain (only for RX).

Parameters:
LNA_Gain Low Noise Amplifier gain.
VGA_Gain Variable Gain Amplifier gain.
Transceiver Transceiver number.
Returns:
True if successful.

unsigned int WriteRFFEReg ( int  Transceiver,
unsigned int  SPIReg,
unsigned int  Data 
)

Sets SPI register value for a given transceiver.

Parameters:
Transceiver Transceiver number.
SPIReg Number of the SPI register to be written.
Data Register value.
Returns:
Unknown (TODO).


The documentation for this class was generated from the following files:

© 2009 - Grupo de Tratamiento Avanzado de Señal logo_gtas