<?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>Can I configure GPIOTE to debug my signals?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24351/can-i-configure-gpiote-to-debug-my-signals</link><description>Hello, 
 I am using nrf52832 DK and I would like to use the GPIOs port to debug a couple of signals that I genereate within the MCU. 
 So far I have configured my GPIOTE module like this (I am using the LEDs for now as example to see that they change</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Aug 2017 08:30:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24351/can-i-configure-gpiote-to-debug-my-signals" /><item><title>RE: Can I configure GPIOTE to debug my signals?</title><link>https://devzone.nordicsemi.com/thread/95891?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2017 08:30:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25439ede-aa13-44f8-bf6c-a9acb8c62c5c</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;HAL means Hardware Abstraction Layer, typically the lowest layer of any C/C++ API or SDK. Basically every driver is using it. I would say slow down, take blinky example, you wanted to blink with LEDs so spend some time with it until you are sure what are you doing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I configure GPIOTE to debug my signals?</title><link>https://devzone.nordicsemi.com/thread/95888?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2017 08:16:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7462dd09-e999-4a8f-ab43-220c9a46383b</guid><dc:creator>ndarkness</dc:creator><description>&lt;p&gt;@endnode thanks again, I take a look to the blinky example and GPIOTE example. Is HAL example also relevant for the GPIO? I cannot find any example of HAL on SDK12.2, where can I find that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I configure GPIOTE to debug my signals?</title><link>https://devzone.nordicsemi.com/thread/95890?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2017 09:25:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ac840da-5d66-40ab-88cc-f397da82512d</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Sure, i use that for signalling with LEDs or just for reading with Logical analyzer/oscilloscope as well. There are all functions available in &lt;code&gt;\components\drivers_nrf\hal\nrf_gpio.h&lt;/code&gt; header file (first configure the PIN as output and then use set/clear functions to set it LOW or HIGH.) There are also HAL and blinky examples in nRF5 SDK, have you searched any?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I configure GPIOTE to debug my signals?</title><link>https://devzone.nordicsemi.com/thread/95889?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2017 09:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35dea550-97d5-4031-9135-702a78b36991</guid><dc:creator>ndarkness</dc:creator><description>&lt;p&gt;@endnode, thanks for your clarification. I would like to have at least one of the signal(that varies between 1/0) out to check how it since I will eventually use it for toggling orther device. Couldn&amp;#39;t I even in that case set the signals out the pins?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I configure GPIOTE to debug my signals?</title><link>https://devzone.nordicsemi.com/thread/95887?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2017 09:13:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20add0ae-9802-47c7-9d94-868c885ae84f</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Are you sure you are using right module? GPIOTE (as shortcut suggests) means General Purpose IO Tasks and Events, how you would like to utilize it for debug? You can either signal something with GPIO pulses (simple setting digital LOW/HIGH values on PINs you like), that has nothing to do with Task and Event functionality (that&amp;#39;s useful if you want to detect some GPIO input change (= that&amp;#39;s Event part) and do some action upon this trigger (= that&amp;#39;s the Task part)).&lt;/p&gt;
&lt;p&gt;But simple GPIO low/high won&amp;#39;t output any &amp;quot;value&amp;quot; (not speaking about &amp;quot;float&amp;quot; type;))) unless you design some protocol on top of simple digital GPIO (low/high values). Serial data output over UART is typical example but you can use other things like SEGGER RTT... then again question is why you don&amp;#39;t use these logging/debugging modules built into Nordic SDK examples and bother with GPIO(TE)???&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>