<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SoftDevice temperature acquisition</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106026/softdevice-temperature-acquisition</link><description>Hello, 
 We&amp;#39;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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Nov 2023 08:59:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106026/softdevice-temperature-acquisition" /><item><title>RE: SoftDevice temperature acquisition</title><link>https://devzone.nordicsemi.com/thread/457482?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 08:59:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0078b3e5-c181-4c80-a2d1-824d1206f51a</guid><dc:creator>SebastienTE</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thank you very much for your answer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sebastien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice temperature acquisition</title><link>https://devzone.nordicsemi.com/thread/457462?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 08:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f064255a-feb2-4db3-aec5-7a9230ae99f5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;These registers are not documented publicly other than that they exist. They are not intended to be manipulated though, and&amp;nbsp;should hold data from FICR. This is handled during startup (see &lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF52840_Rev3/ERR/nRF52840/Rev3/latest/anomaly_840_66.html"&gt;erratum 66&lt;/a&gt; and code writing to NRF_TEMP in system_nrf52.c).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice temperature acquisition</title><link>https://devzone.nordicsemi.com/thread/457386?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2023 16:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edb8867e-8a8c-4896-88ba-f896657d4ef0</guid><dc:creator>SebastienTE</dc:creator><description>&lt;p&gt;Hello Einar, thanks a lot for your answer.&lt;/p&gt;
&lt;p&gt;And about&amp;nbsp;&lt;span&gt;registers related to TEMP (piecewise linear function), what we have to do with these registers?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice temperature acquisition</title><link>https://devzone.nordicsemi.com/thread/457332?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2023 13:23:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9effc3e-cd7b-4029-b2ae-1b68b5be983e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The SoftDevice will not start the HFXO automatically when you call&amp;nbsp;sd_temp_get(), so it is your responsibility to do that.&lt;/p&gt;
&lt;p&gt;Regarding calibration, if using the LFRC the SoftDevice will take temperature into account to decite if it needs to calibrate the LFRC or not (see relevant configurations for that &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/67478/nrf52840-examples-with-lfrc-and-calibration/276416"&gt;here&lt;/a&gt;). That is the only thing the SoftDevice use temperature for.&lt;/p&gt;
&lt;p&gt;The temperature sensor on the nRF devices is primerily indended for use as in the case above, and therefor is not calibrated across temperature ranges. It is fairly good to detect changes in temperature, but not so much for measuring absolute temperatures. (See &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/temp.html?cp=5_0_0_5_27_1#unique_32741279"&gt;TEMP electrical specifications&lt;/a&gt; for details).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>