vFCast_FineTune
Description: Fine tunes the LC oscillator frequency based on the temperature reading pro-
vide as input. It is called from within the vStl_SingleTxLoop() function during the frame
transmission.
The typical usage in the customer code if not using the provided vStl_SingleTxLoop()
function would be to do the following in a transmission loop:
/* Check if valid temperature sample is ready */
if ( 0 < bDmdTs_GetSamplesTaken() )
{
/* Calculate the LCOSC fine tune value and apply it. */
vFCast_FineTune( iDmdTs_GetLatestTemp() );
}
Inputs:
iiCurrentTemp: (int) Signed output representing temperature in internal tempera-
ture units 220 bits/degC. It is the output of the iDmdTs_GetLatestTemp() function.
Outputs:
None
vFCast_FskAdj
Description: Takes the desired FSK deviation and adjusts the actual FSK deviation
needed based on the results of frequency casting. It is to be called after each call to
vFCast_Tune(). The input to this function is attained by using the Si4010 calculation
spreadsheet, si4010_calc_regs.xls. It should be an application parameter.
Inputs:
biFskDev: (BYTE) Desired FSK deviation number based on the supplied spread-
sheet calculation.
Outputs:
None
Rev. 1.0
AN370
59
Need help?
Do you have a question about the Si4010 and is the answer not in the manual?