This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How do I change radio frequency in the eddystone ble example?

Im developing a BLE beacon based on the eddystone example provided for the NRF52832. I've found that in softdevice applications, the radio frequency can not be changed directily on the RADIO register, it needs to be changed by means of the softdevice API. But I dont find how can I do that.

Additonaly, I dont see any reference for the radio frequency or the channel selection on the Eddystone code example Im using.

Hope someone can help me. Thanks.

Parents Reply
  • The CL value of the crystal is not the same as the value of the load caps. The crystal will see both capacitors in series so the capacitance will be half of the value of the load caps, provided they are equal. In addition you have the pin capacitance of XC1 and XC2 in parallel. The equation then becomes: 

    Ccap = CL * C - Cpin

    Cpin = 4 pF and CL = 12 pH, so you must use use 

    Ccap = 12 pF *2 - 4 pF = 20 pF 

    Round down to 18 pF as this is a standard value.

    If you load the crystal incorrectly, you will pull the frequency of the crystal. Some radio front end are more sensitive to frequency error that other, so this is why you see problems on only some phone models. 

Children
No Data
Related