<?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>nRF52840: At low temperatures I can&amp;#39;t achieve the specified accuracy for the internal temperature sensor</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80859/nrf52840-at-low-temperatures-i-can-t-achieve-the-specified-accuracy-for-the-internal-temperature-sensor</link><description>While testing our custom Hardware with the nRF52840 in a climate chamber in the -40&amp;#176;C to +85&amp;#176;C range i noticed that the value read from the internal temperature sensor was much too low at -40&amp;#176;C. According to the specification the deviation should be within</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Oct 2021 07:45:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80859/nrf52840-at-low-temperatures-i-can-t-achieve-the-specified-accuracy-for-the-internal-temperature-sensor" /><item><title>RE: nRF52840: At low temperatures I can't achieve the specified accuracy for the internal temperature sensor</title><link>https://devzone.nordicsemi.com/thread/335409?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 07:45:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d89784b-117c-4202-a469-ec378336eaaa</guid><dc:creator>Frank Viganske</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;I changed the Firmware to switch over to the HFXO during the temperature measurement. Now at -40&amp;deg;C i get the result -41.5&amp;deg;C from a board that measured -53.75&amp;deg;C in my previous tests.&lt;/p&gt;
&lt;p&gt;Problem solved. Thanks for your help.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Frank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840: At low temperatures I can't achieve the specified accuracy for the internal temperature sensor</title><link>https://devzone.nordicsemi.com/thread/335226?ContentTypeID=1</link><pubDate>Thu, 21 Oct 2021 08:56:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:512fff66-009e-4ee0-ad83-157fc417800a</guid><dc:creator>Frank Viganske</dc:creator><description>&lt;p&gt;Hi kenneth,&lt;/p&gt;
&lt;p&gt;I inserted a debug print of the HFCLKSTAT at the beginning of the temperature measurement, and the value was 0x10000 (HFCLK running, but on the internal RC oscillator). So it seems that you&amp;#39;re right,&amp;nbsp; the inaccuracy might be caused by the incorrect clock source.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try to change my firmware to keep the crystal oscillator running during the temperature measurement and see if that improves my accuracy.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Frank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840: At low temperatures I can't achieve the specified accuracy for the internal temperature sensor</title><link>https://devzone.nordicsemi.com/thread/335208?ContentTypeID=1</link><pubDate>Thu, 21 Oct 2021 07:48:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aad3db5-6b3a-4a9a-9706-01500b8ecbbd</guid><dc:creator>Kenneth</dc:creator><description>[quote user="Frank Viganske"]i can do a debug print of some of the status registers for the HFCLK if that helps..[/quote]
&lt;p&gt;That is a good idea. It may be that the radio protocol stack will start and stop the external HFCLK before and after the radio usage (this is the case even for Nordic softdevices, though there is an api that typically can be used to keep it ON all the time, which is what you want for this test).&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840: At low temperatures I can't achieve the specified accuracy for the internal temperature sensor</title><link>https://devzone.nordicsemi.com/thread/335178?ContentTypeID=1</link><pubDate>Thu, 21 Oct 2021 06:15:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7baef743-7f4c-4ebc-b801-c3e21c856b40</guid><dc:creator>Frank Viganske</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Sorry, i don&amp;#39;t have the source code for starting the HF clock. We are using a third party radio protocol stack, and i only have that as a precompiled binary. The clock is controlled by this module. The radio was active and working fine during the test, so i&amp;#39;m sure that the HFCLK was running from the external crystal.&lt;/p&gt;
&lt;p&gt;i can do a debug print of some of the status registers for the HFCLK if that helps..&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Frank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840: At low temperatures I can't achieve the specified accuracy for the internal temperature sensor</title><link>https://devzone.nordicsemi.com/thread/335085?ContentTypeID=1</link><pubDate>Wed, 20 Oct 2021 11:58:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:112c5ba5-7e7e-41f0-9ab4-b41adfcd6b92</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can you share the code snippet that startup the HFCLK before you execute temperature measurement? If you go to sleep, then you must startup the HFCLK every time you wakeup before you can do a temperature measurement.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840: At low temperatures I can't achieve the specified accuracy for the internal temperature sensor</title><link>https://devzone.nordicsemi.com/thread/335069?ContentTypeID=1</link><pubDate>Wed, 20 Oct 2021 11:31:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:515c6b73-f6d9-468f-ba8d-7cd09ef57d47</guid><dc:creator>Frank Viganske</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;this has been taken care of. We&amp;nbsp;have a 32MHz crystal&amp;nbsp;connected to XC1 and XC2, and this was also selected as the HFCLK source during the test.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Frank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840: At low temperatures I can't achieve the specified accuracy for the internal temperature sensor</title><link>https://devzone.nordicsemi.com/thread/335061?ContentTypeID=1</link><pubDate>Wed, 20 Oct 2021 11:13:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:537a74d7-4d3f-47f0-911c-eeaec9460d42</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Make sure to check out:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/temp.html"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/temp.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;To achieve the measurement accuracy stated in the electrical specification, the crystal oscillator must be selected as the HFCLK source, see&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/clock.html#frontpage_clock"&gt;CLOCK — Clock control&lt;/a&gt;&lt;span&gt;&amp;nbsp;for more information.&lt;/span&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>