<?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>nRF5 temp read</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86145/nrf5-temp-read</link><description>Hi, 
 i want to read temperature sensor value inside the nrf soc on bl653 board. while checking there is a file inside ( \zephyr\drivers\sensor\nrf5) this path. how to configure and how to read that temperature value . kindly suggest.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Mar 2022 07:07:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86145/nrf5-temp-read" /><item><title>RE: nRF5 temp read</title><link>https://devzone.nordicsemi.com/thread/360669?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 07:07:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:813144f9-725d-401d-8708-f9762d74d99c</guid><dc:creator>Shikamaru</dc:creator><description>&lt;p&gt;Thanks Kenneth,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; It&amp;#39;s working fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5 temp read</title><link>https://devzone.nordicsemi.com/thread/359834?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2022 14:04:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c48a74ab-e092-48e9-9e98-3e05a4c8eb03</guid><dc:creator>Kenneth</dc:creator><description>&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;You can use this example as starting point:&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/sensor/stm32_temp_sensor/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/sensor/stm32_temp_sensor/README.html&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;\zephyr\samples\sensor\stm32_temp_sensor&lt;br /&gt;&lt;br /&gt;To run on an nRF52 board you need to change in prj.conf:&lt;br /&gt;&lt;br /&gt;#CONFIG_STM32_TEMP=y&lt;br /&gt;CONFIG_TEMP_NRF5=y&lt;br /&gt;&lt;br /&gt;And in mainc.c&lt;br /&gt;&lt;br /&gt;//DEVICE_DT_GET(DT_INST(0, st_stm32_temp));&lt;br /&gt;DEVICE_DT_GET(DT_INST(0, nordic_nrf_temp));&lt;br /&gt;&lt;br /&gt;Then the code will output on UART:&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4188.pastedimage1648130658636v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>