<?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>How to use GPIO with MQTT sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77378/how-to-use-gpio-with-mqtt-sample</link><description>Hello, i I am designing a prototype, the goal is to be able to control a small engine. This engine will be activated when a message is received in MQTT. I currently succeeded in making communications in MQTT and in using the MQTT libraries Now I would</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Jul 2021 20:07:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77378/how-to-use-gpio-with-mqtt-sample" /><item><title>RE: How to use GPIO with MQTT sample</title><link>https://devzone.nordicsemi.com/thread/319902?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 20:07:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dbbfd05-0eb7-42fe-9483-278bb84e3175</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;&lt;span&gt;Léo, I do recommend &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.0/nrf/introduction.html#about-the-ncs"&gt;reading through our NCS documentation&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial"&gt;DevZone guides and tutorials&lt;/a&gt;, and searching the DevZone forum for answers while waiting. In NCS v1.6.0 the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.0/nrf/libraries/lib_caf.html#common-application-framework"&gt;Common Application Framework is introduced&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please note that the nRF Connect SDK is a much more advanced SDK using an RTOS to enable the advanced features of the nRF9160.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use GPIO with MQTT sample</title><link>https://devzone.nordicsemi.com/thread/319868?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 14:51:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fae38f3c-b63e-4325-9878-be7cd2b8b548</guid><dc:creator>leo_</dc:creator><description>&lt;p&gt;Very well I understand, would it be possible to have a complete answer when there is enough technical support?&lt;/p&gt;
&lt;p&gt;From what I understand, you must first configure the NRF52 card before moving on to configuring the NRF9160. This allows you to route the PINS from one card to the other.&lt;/p&gt;
&lt;p&gt;Is the GPIO configuration done exclusively in the Kconfig file? And I don&amp;#39;t understand how to code in this type of file.&lt;/p&gt;
&lt;p&gt;Also, is it necessary to import libraries to use GPIOs in the source code?&lt;/p&gt;
&lt;p&gt;I have never done this kind of configuration and I am really stuck at the moment, some help could save my life&lt;/p&gt;
&lt;p&gt;Thanks in advance to the nordic semiconductor team&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;L&amp;eacute;o&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use GPIO with MQTT sample</title><link>https://devzone.nordicsemi.com/thread/319785?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 12:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbb78126-250c-4744-8ddd-8427185aea8f</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello Léo,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please note that our technical support staff is currently understaffed due to summer vacation, and a delayed answer must be expected.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Have a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/board_controller.html"&gt;nRF9160 DK Board Controller chapter&lt;/a&gt; in the DK user guide. This explains how GPIO pins are connected on the board. You will need to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.0/nrf/ug_nrf9160.html#board-controller"&gt;configure the board controller&lt;/a&gt; in order to be able to use some GPIO pins.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.0/zephyr/samples/basic/button/README.html#button"&gt;Button sample from the Zephyr repo&lt;/a&gt;, is a simple sample&amp;nbsp;that&amp;nbsp;shows you how to configure GPIO.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>