I'm working on a S2LP from ST and I am configuring the RX digital filter. I need to calculate the bandwidth of the signal which has 2GFSK modulation.

Do you think the code below is correct for estimating the signal bandwidth for a given XO and a given datarate ?

    uint8_t xo_ppm = 10;
    xRadioInit.lFrequencyBase = 869400000;
    xRadioInit.lDatarate = 80000;
    xRadioInit.lFreqDev = xRadioInit.lDatarate / 2;

    double drift = (xo_ppm / 1e6) * xRadioInit.lFrequencyBase;
    xRadioInit.lBandwidth = xRadioInit.lDatarate + 2 * xRadioInit.lFreqDev + 2 * uint32_t(drift);

Screenshot of PDF

  • 1
    $\begingroup$ Hello Victor, and welcome to this site! :-) $\endgroup$ – Mike Waters Jul 10 at 20:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.