Silicon Laboratories Si4010 Software Programming Manual page 78

Hide thumbs Also See for Si4010:
Table of Contents

Advertisement

AN370
7.12.2. PA Module Functions
vPa_Setup
Description: Sets up the PA by writing contents of a tPa_Setup structure to PA global
variables. These variables are then referenced by vPa_Tune().
The input structure items should be set based on the calculation results from si4010_cal-
c_regs.xls spreadsheet.
Inputs:
priSetup: (pointer to tPa_Setup instance which resides in XDATA) For content of
tPa_Setup structure see table above.
Outputs:
None
vPa_Tune
Description: Tunes the PA based on application parameters fAlpha, fBeta, bLevel, bMax-
Drive and wNominalCap set up by the call to vPa_Setup() function.
The function requires that the vPa_Setup() function is called prior to calling this function.
It is also recommended that frequency casting vFCast_Tune() and FSK adjustment
vFCast_FskAdj() functions are called before this function. vFCast_Tune() sets the DMD
TS module for temperature mode. This allows the user to simply get the latest temperature
reading before calling vPa_Tune().
Note that the vFCast_Tune() leaves the LC oscillator forcibly on. The vPa_Tune() turns
the LC oscillator on if it is not on already (vSys_ForceLc()). It also forces the divider
(ODS_CTRL.FORCE_DIV) and the power amplifier (ODS_CTRL.FORCE_PA) before
doing any tuning.
After the tuning is done the vPa_Tune() turns off all three: LC oscillator, DIV divider, and
PA amplifier.
/* Tune chip for desired frequency */
vFCast_Tune( 433460000.0 );
/* Wait to ensure there is a valid temp sample */
while ( 0 == bDmdTs_GetSamplesTaken() ) {}
78
Rev. 1.0

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Si4010 and is the answer not in the manual?

Questions and answers

Table of Contents