<?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>temperature module NRF51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2040/temperature-module-nrf51822</link><description>Dear nodic engineer: 
 i want test environment temperature with NRF51822 inner temperature module.
any information for reference?
any temp graph?
if need calibration?
if need extra temp sensor? 
 kind regards 
 kevin</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Apr 2014 02:20:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2040/temperature-module-nrf51822" /><item><title>RE: temperature module NRF51822</title><link>https://devzone.nordicsemi.com/thread/8764?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2014 02:20:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a64fa60-2bfd-4e9e-95e7-60aa7b7a098e</guid><dc:creator>kevin chen</dc:creator><description>&lt;p&gt;hi Ole Morten:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;        thank you for your great support.

        i have tested nrf6310\temperature_example. at  30(Celsius)
        
        I checked the data.   NRF_TEMP=0x000002AF;   TEMP=0xFFFFFFAC;  
        what&amp;#39;s the NRF_TEMP data type? 10bit 2&amp;#39;s complement  or 32bit 2&amp;#39;s complement? 
       which position is for sign(+/-)?
        result=10 =  10* 0.25 celsius.right?
       how to work out the result of die temperature?
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;int main(void)
{
int32_t volatile temp;
int32_t temp_valve;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_temp_init();
nrf_gpio_range_cfg_output(8, 15);

while(true)
{       
    NRF_TEMP-&amp;gt;TASKS_START = 1;
    while ((NRF_TEMP-&amp;gt;EVENTS_DATARDY &amp;amp; TEMP_INTENSET_DATARDY_Msk) != (TEMP_INTENSET_DATARDY_Set &amp;lt;&amp;lt; TEMP_INTENSET_DATARDY_Pos))
    {
    }
    NRF_TEMP-&amp;gt;EVENTS_DATARDY = 0;
    temp = (nrf_temp_read()/4);
    NRF_TEMP-&amp;gt;TASKS_STOP = 1; /* Stop the temperature measurement */

    nrf_gpio_port_write(NRF_GPIO_PORT_SELECT_PORT1, (uint8_t)(temp));

    nrf_delay_ms(500);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;kind regards&lt;/p&gt;
&lt;p&gt;kevin chen&lt;/p&gt;
&lt;p&gt;from china&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: temperature module NRF51822</title><link>https://devzone.nordicsemi.com/thread/8763?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2014 10:57:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c35bd4b9-5131-4223-a944-6ace36a5d56d</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;The temperature sensor measures the die temperature of the chip, which may very well be different (higher) than the temperature of the surrounding air. You can refer to the &lt;a href="https://www.nordicsemi.com/eng/content/download/13233/212988/file/nRF51_Series_Reference_Manual_v2.1.pdf"&gt;nRF51 Reference Manual&lt;/a&gt; for the register interfaces, the &lt;a href="https://www.nordicsemi.com/eng/content/download/13358/214991/file/nRF51822_PS%20v2.0.pdf"&gt;nRF51822 Product Specification&lt;/a&gt; for electrical specifications.&lt;/p&gt;
&lt;p&gt;It shouldn&amp;#39;t need any calibration or similar, and is completely internal to the chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>