<?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>Hello,Can anyone help me out by giving me complete details of this?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25807/hello-can-anyone-help-me-out-by-giving-me-complete-details-of-this</link><description>i would like to print register values of an external sensor on my screen using UART! I&amp;#39;m reading and writing into those registers using SPI! Printing a normal message using NRF_LOG_INFO function is fine, but how do i print the 32bit values of the register</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Oct 2017 06:20:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25807/hello-can-anyone-help-me-out-by-giving-me-complete-details-of-this" /><item><title>RE: Hello,Can anyone help me out by giving me complete details of this?</title><link>https://devzone.nordicsemi.com/thread/101645?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2017 06:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c7ad9bb-e274-4565-8ca7-155609d76a1d</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Hello, Yashur. About the &lt;code&gt;implicit declaration of function sd_app_evt_wait&lt;/code&gt;, if you haven&amp;#39;t added or configured Nordic&amp;#39;s SoftDevice related files, this error will pop up.&lt;/p&gt;
&lt;p&gt;For instance, when using Nordic&amp;#39;s SDK 14, in &lt;code&gt;nrf_soc.h&lt;/code&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;enum NRF_SOC_SVCS{ // omit others
SD_APP_EVT_WAIT,

SVCALL(SD_APP_EVT_WAIT, uint32_t, sd_app_evt_wait(void));
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;are defined. Check whether your &lt;code&gt;header include path&lt;/code&gt; is configured correctly.&lt;/p&gt;
&lt;p&gt;This applies to &lt;code&gt;log_init&lt;/code&gt; part as well; Check whether your &lt;code&gt;header include path&lt;/code&gt; is configured correctly if it includes &lt;code&gt;nrf_log_ctrl.h&lt;/code&gt; or more.&lt;/p&gt;
&lt;p&gt;I will add some words to my original answer to help you out with the UART1 problem.&lt;/p&gt;
&lt;p&gt;-Best Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,Can anyone help me out by giving me complete details of this?</title><link>https://devzone.nordicsemi.com/thread/101643?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2017 13:02:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1591c3e4-8e4e-4083-aaac-957c6b95f1ba</guid><dc:creator>Yashur</dc:creator><description>&lt;p&gt;And also i have asked about initialising uart while using SPI! the uart example is running fine but when used with SPI it&amp;#39;s throwing an error!! I have tried changing the instances of SPI and UART and i found out that UART1 seems to have a problem working!! Could you help me out with that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,Can anyone help me out by giving me complete details of this?</title><link>https://devzone.nordicsemi.com/thread/101644?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2017 12:59:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c38d3609-2f37-4af9-b463-8a7975284e92</guid><dc:creator>Yashur</dc:creator><description>&lt;p&gt;Hey mango, thanks for your answer! I have tried the above code but i&amp;#39;m getting the following error! saying implicit declaration of function sd_app_evt_wait and also of &amp;#39;log_init&amp;#39;!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello,Can anyone help me out by giving me complete details of this?</title><link>https://devzone.nordicsemi.com/thread/101642?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 08:00:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3f13923-6a3a-4df5-b7f4-14e71dd54763</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Hi, Yashur.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/RTTExample.png" alt="RTTExample" /&gt;&lt;/p&gt;
&lt;p&gt;Are you talking something like this?&lt;/p&gt;
&lt;p&gt;Nordic&amp;#39;s&lt;/p&gt;
&lt;p&gt;&lt;code&gt;NRF_LOG_INFO&lt;/code&gt;, &lt;code&gt;NRF_LOG_WARNING&lt;/code&gt;, &lt;code&gt;NRF_LOG_ERROR&lt;/code&gt;, and more,&lt;/p&gt;
&lt;p&gt;these can use the &lt;code&gt;printf&lt;/code&gt;&amp;#39;s format specifier like &lt;code&gt;%d&lt;/code&gt; or &lt;code&gt;%x&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;em&gt;/&lt;/em&gt; Edited at 2018.10.12&lt;/em&gt;/**&lt;/p&gt;
&lt;p&gt;What MCU and SDK version are you using?&lt;/p&gt;
&lt;p&gt;When using Nordic&amp;#39;s logger, you can choose the backend; UART or SEGGER RTT.&lt;/p&gt;
&lt;p&gt;The above picture was an example when using RTT.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/UART0.png" alt="UARTLog" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;And this is the result when you choose UART as the backend.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I have tested this using SDK 14 and PCA10040, which has nRF52832 populated.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure about the version number. Maybe SDK 12 or above uses the &lt;code&gt;sdk_config.h&lt;/code&gt; file.&lt;/p&gt;
&lt;p&gt;In there, you can choose whether to use RTT or UART while logging.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define NRF_LOG_ENABLED 1
#define NRF_LOG_BACKEND_UART_ENABLED 1
#define NRF_LOG_BACKEND_UART_TX_PIN 6
#define NRF_LOG_BACKEND_UART_BAUDRATE 30801920
// &amp;lt;30801920=&amp;gt; 115200 baud 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Modify these and I think you will see what you want.&lt;/p&gt;
&lt;p&gt;By the way, do you really have to use &lt;strong&gt;&lt;code&gt;UART1&lt;/code&gt;, which I think it doesn&amp;#39;t exist&lt;/strong&gt;, to be the logger&amp;#39;s backend?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;nRF52832, &lt;a href="https://devzone.nordicsemi.com/question/172709/hello-im-trying-to-use-uart1-instead-of-uart0-in-the-uart-example/?answer=172714#post-id-172714"&gt;compared to nRF52840&lt;/a&gt;, has &lt;code&gt;UART0&lt;/code&gt; and &lt;code&gt;UARTE0&lt;/code&gt; (Universal asynchronous receiver/transmitter with EasyDMA).&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/UART0Reg.png" alt="UART0Reg" /&gt;&lt;/p&gt;
&lt;p&gt;Check the &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF52832_PS_v1.4.pdf"&gt;nRF52832 product specification&lt;/a&gt;, please.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m guessing that this is using UART0 as the backend.&lt;/p&gt;
&lt;p&gt;-Best Regards, MANGO&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>