SoftDevice temperature acquisition

Hello,

We're using a nRF52840 with a SoftDevice S140 enabled.

I would like to know if SoftDevice perfoms a temperature calibration and if HFCLK is set ot HFXO when calling sd_temp_get(). The documentation mentions that HFCLK is set for BLE radio operations but there is no detail for die temperature.

Is the HFCLK is resquested and then released by SoftDevice during a temperature acquisition? As in documentation it is only mentioned about TEMP Temperature sensor : "To achieve the measurement accuracy stated in the electrical specification, the crystal oscillator must be selected as the HFCLK source, see CLOCK — Clock control on page 85 for more information."

Is the temperature value is calibrated and so th ouput vlaue given by SoftDevice is linear ? The documentation provides only registers for linear compensation with a piecewise linear function, but there is no recommendation how to use it .i.e these values are take into account by SoftDevice or this is a matter for the application to get the characterisation of the tempreature curve from registers and apply correction with application of coefficients.

Thanks,

Sebastien

Parents Reply Children
No Data
Related