Skip to main content
H..10
Associate
May 26, 2021
Question

RF channel frequency settings for S2LP

  • May 26, 2021
  • 4 replies
  • 1095 views

I am in the process of migrating from spirit1 to S2LP, I am stuck in the calibration of the frequency, before in spirit 1 it is mentioned in the datasheet of spirit1 via equation 3 

  • fc=fbase+foffset+(fxo/2^15  ×CHSPACE)×CHNUM

On the other hand in the S2LP datasheet in equation 6 it's mentionned =>

  • fc=fbase+(fxo/2^15  ×CHSPACE)×CHNUM

So I want to know where is the foffset on the S2LP equation 6

    This topic has been closed for replies.

    4 replies

    Winfred LU
    ST Employee
    May 27, 2021

    The offset frequency is a correction term which can be set to compensate the crystal inaccuracy after e.g. lab calibration.

    Please refer to equation 7 -

    foffset = (fxo / 2^18) * FC_OFFSET

    where:

    FC_OFFSET is a 12-bit integer (expressed as 2's complement number) set by the FC_OFFSET[1:0] registers

    Winfred LU
    ST Employee
    May 27, 2021

    For S2LP, the frequency offset is not calibrated with registers. So foffset is not shown.

    H..10
    H..10Author
    Associate
    May 27, 2021

    Thanks for your reply Winfred, so if the frequency offset is not calibrated with registers, is there a software workaround to fix this issue ? it means is there an alternative solution ?

    Winfred LU
    ST Employee
    May 31, 2021

    The crystal shall be calibrated in hardware.

    Then the compensation can be done firmware, by measuring frequency differences on a generating single wave and configure accordingly.

    This is used for most communication protocols such as Sigfox.