<?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 sensor using PCA10040 in the Segger</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32053/temperature-sensor-using-pca10040-in-the-segger</link><description>Hi, 
 I am using Segger IDE and now I wanna to use the temperature sensor presents in the PCA10040 board. 
 I tested the SDK example using the keil and works fine. When I copied the code to Segger and imported the headers files does not work. 
 I load</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Mar 2018 13:23:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32053/temperature-sensor-using-pca10040-in-the-segger" /><item><title>RE: Temperature sensor using PCA10040 in the Segger</title><link>https://devzone.nordicsemi.com/thread/124376?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 13:23:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b706a32f-e025-47f3-8989-56378e016557</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;When using the softdevice, please use this API call instead:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___n_r_f___s_o_c___f_u_n_c_t_i_o_n_s.html?cp=2_3_1_1_0_2_7_2_41#gade0ea69f513ff1feab2c4f6e1c393313"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___n_r_f___s_o_c___f_u_n_c_t_i_o_n_s.html?cp=2_3_1_1_0_2_7_2_41#gade0ea69f513ff1feab2c4f6e1c393313&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Temperature sensor using PCA10040 in the Segger</title><link>https://devzone.nordicsemi.com/thread/124349?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 10:45:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64dddd47-92ed-491f-b215-9712e947aaf9</guid><dc:creator>Renato Silva</dc:creator><description>&lt;p&gt;Hi Tubo J,&lt;/p&gt;
&lt;p&gt;How I can to use these functions?&lt;/p&gt;
&lt;p&gt;I am initalizing the measurement&amp;nbsp;through of the follow function, in the nrf_temp.h file header&lt;/p&gt;
&lt;p&gt;static __INLINE void nrf_temp_init(void)&lt;br /&gt;{&lt;br /&gt; *(uint32_t *) 0x4000C504 = 0;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;I get this code os the SDK 13 for keil, but when I use the same code in the segger, it does not works!&lt;/p&gt;
&lt;p&gt;But i am not sure If this is the correct way of use the peripherals retricted.&lt;/p&gt;
&lt;p&gt;In the documentation the address is not equal to function above.&lt;/p&gt;
&lt;table class="table long" id="hw_block_interrupt_vector__table_xtq_sgv_3r" border="1" cellpadding="4" cellspacing="0" frame="border" rules="all" summary=""&gt;
&lt;tbody class="tbody"&gt;
&lt;tr class="row"&gt;
&lt;td class="entry cellrowborder" colspan="1" headers="d21526e128" rowspan="1"&gt;12&lt;/td&gt;
&lt;td class="entry cellrowborder" colspan="1" headers="d21526e131" rowspan="1"&gt;0x4000C000&lt;/td&gt;
&lt;td class="entry cellrowborder" colspan="1" headers="d21526e134" rowspan="1"&gt;TEMP&lt;/td&gt;
&lt;td class="entry cellrowborder" colspan="1" headers="d21526e137" rowspan="1"&gt;Restricted&lt;/td&gt;
&lt;td class="entry cellrowborder" colspan="1" headers="d21526e146" rowspan="1"&gt;Open&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div id="selenium-highlight"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Temperature sensor using PCA10040 in the Segger</title><link>https://devzone.nordicsemi.com/thread/124326?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 09:55:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37992c31-2d21-4ff6-9a73-c7a508af1306</guid><dc:creator>Renato Silva</dc:creator><description>&lt;p&gt;Hi Turbo J, how I can to use these functions? Are there any tutorial about it?&lt;/p&gt;
&lt;p&gt;I am trying use the temperature sensor&amp;nbsp;through nrf_temp.h&lt;/p&gt;
&lt;p&gt;In this file there are a function that initiaze the temp module.&lt;/p&gt;
&lt;p&gt;static __INLINE void nrf_temp_init(void)&lt;br /&gt;{&lt;br /&gt; *(uint32_t *) 0x4000C504 = 0;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;But the address is not equal to documentation that you sent me.&lt;/p&gt;
&lt;table class="table long" id="hw_block_interrupt_vector__table_xtq_sgv_3r" border="1" cellpadding="4" cellspacing="0" frame="border" rules="all" summary=""&gt;
&lt;tbody class="tbody"&gt;
&lt;tr class="row"&gt;
&lt;td class="entry cellrowborder" colspan="1" headers="d21526e128" rowspan="1"&gt;12&lt;/td&gt;
&lt;td class="entry cellrowborder" colspan="1" headers="d21526e131" rowspan="1"&gt;0x4000C000&lt;/td&gt;
&lt;td class="entry cellrowborder" colspan="1" headers="d21526e134" rowspan="1"&gt;TEMP&lt;/td&gt;
&lt;td class="entry cellrowborder" colspan="1" headers="d21526e137" rowspan="1"&gt;Restricted&lt;/td&gt;
&lt;td class="entry cellrowborder" colspan="1" headers="d21526e146" rowspan="1"&gt;Open&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div id="selenium-highlight"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Temperature sensor using PCA10040 in the Segger</title><link>https://devzone.nordicsemi.com/thread/124249?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 00:25:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6130aab-138a-4b7e-bc32-9b3451160bed</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;See &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/sd_resource_reqs/hw_block_interrupt_vector.html" rel="noopener noreferrer" target="_blank"&gt;Softdevice Hardware peripherials &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The TEMP peripherial is restricted and must be used with the softdevice functions. Accessing NRF_TEMP registers directly will result in a fault.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>