<?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>Issues with NCS LOGS with Particle Xenon</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93175/issues-with-ncs-logs-with-particle-xenon</link><description>Hi there, 
 I have just started the NCS Fundamental Course and I am stuck on Exercise 4 Lesson 1 and Lesson 2. There are two problems that I am facing. 
 1) If I use the nrf52832DK board for build configuration. I get the logs but my button press won</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Oct 2022 13:45:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93175/issues-with-ncs-logs-with-particle-xenon" /><item><title>RE: Issues with NCS LOGS with Particle Xenon</title><link>https://devzone.nordicsemi.com/thread/392652?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 13:45:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4faaca9-f460-44ce-9329-df60d86cf7d8</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Can you try with another button, for example button 2,3 or 4?&lt;/p&gt;
&lt;p&gt;Can&amp;nbsp;you test with for example P0.30 by using the code below? Use pullup and simulate a button press by connecting P0.30 to ground.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;//Use P0.30 instead
gpio_init_callback(&amp;amp;button_cb_data, button_pressed, BIT(30));	&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:480px;max-width:300px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/600x960/__key/communityserver-discussions-components-files/4/0246.pastedimage1666791918028v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Can you test the button sample &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/samples/basic/button/src/main.c"&gt;&amp;lt;ncs&amp;gt;/zephyr/samples/basic/button&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with NCS LOGS with Particle Xenon</title><link>https://devzone.nordicsemi.com/thread/392519?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 06:38:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6390575-7f0f-4398-9438-db69b122053c</guid><dc:creator>Waqas Qammar</dc:creator><description>&lt;p&gt;HI Simon,&lt;/p&gt;
&lt;p&gt;I note one thing.&lt;/p&gt;
&lt;p&gt;I burn the ble_app_blinky program from NRF SDK just to confirm if my buttons and LEDs are fine. The LED was fine and blinking. but the button was not working. I put the breakpoint in the callback and it never hit. Then I measure the voltage at P.13 using a multimeter. It was 2.4v because of pull-up and when I press the button it goes to zero. so the button is detected voltage-wise but not in the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with NCS LOGS with Particle Xenon</title><link>https://devzone.nordicsemi.com/thread/392505?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 04:12:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:069b50ed-f45c-49cc-b9c8-9e552dcf84d7</guid><dc:creator>Waqas Qammar</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;So I followed the same steps for the NRF52DK board. I have attached the output. You can see the initial Logs, but there is nothing on the press of a button. I also run it in the debug and put a breakpoint in the callback and it never hit.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/zephyr_5F00_compiled.JPG_2D00_640x480.jpg" alt=" " /&gt;&lt;img style="max-height:198px;max-width:360px;" height="198" src="https://devzone.nordicsemi.com/resized-image/__size/720x396/__key/communityserver-discussions-components-files/4/run_5F00_output.JPG_2D00_640x480.jpg_2D00_640x480.jpg" width="360" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also, the LED is not ON as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In contrast when I run the same code on Xenon. The LED does ON and the breakpoint in the callback is also hit when we press the button. but in that case, No LOG is printed on the screen.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The attached pictures are for the NRF52DK board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with NCS LOGS with Particle Xenon</title><link>https://devzone.nordicsemi.com/thread/392397?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2022 13:04:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb0d6a27-3d6a-4e1b-bcb7-394aac81582d</guid><dc:creator>Simon</dc:creator><description>[quote user=""]I am stuck on Exercise 4 Lesson 1 and Lesson 2.[/quote]
&lt;p&gt;Do you mean Lesson 4, exercise 1 and 2?&lt;/p&gt;
[quote user=""]1) If I use the nrf52832DK board for build configuration. I get the logs but my button press won&amp;#39;t be recognized.[/quote]
&lt;p&gt;Let&amp;#39;s focus on issue 1 first. Try to execute these steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click on the V2.x.x button (to make it work with NCS v2.1.0)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6254.pastedimage1666702660362v1.png_2D00_760x316.png" alt=" " /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Go all the way to the bottom and download the complete solution&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5658.pastedimage1666702717677v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Here it is:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0882.fund_5F00_less4_5F00_exer1_5F00_solution.zip"&gt;devzone.nordicsemi.com/.../0882.fund_5F00_less4_5F00_exer1_5F00_solution.zip&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open the sample in VS Code and add a build folder for nRF52 DK nrf52832&lt;/li&gt;
&lt;li&gt;Make sure you&amp;#39;re using NCS v2.1.0&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/2110.pastedimage1666702772049v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Flash the sample&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/1524.pastedimage1666702795759v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open COM port&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5756.pastedimage1666702829959v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reset the nRF52 DK (nrf52832) and press button 1&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4251.pastedimage1666702987439v7.png" alt=" " /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then you should see the following log&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/0550.pastedimage1666702998453v8.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;When you have gotten this to work, we can look into your 2nd issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>