<?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 can I send a signal from one pin to another pin?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23124/how-can-i-send-a-signal-from-one-pin-to-another-pin</link><description>Hello!
I am putting (with a wave generator) a square wave on pin 17 of the microcontroller, and I want that same wave to come out on pin 18. How do I do that? Do you have any specific commands? Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Jul 2017 12:54:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23124/how-can-i-send-a-signal-from-one-pin-to-another-pin" /><item><title>RE: How can I send a signal from one pin to another pin?</title><link>https://devzone.nordicsemi.com/thread/90960?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2017 12:54:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c844e380-ba07-400a-8267-13bed7d8ca16</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Well, there is no way you can connect two pins internally directly, so you will need to recreate the PWM signal somehow. I believe the code I posted should be capable of doing what you need. How did you configure it? You need to change the pin numbers to match yours. Is any of your other code using any PPI channels?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I send a signal from one pin to another pin?</title><link>https://devzone.nordicsemi.com/thread/90961?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2017 12:35:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adcedeca-048c-4b9e-adee-8529f8bef41d</guid><dc:creator>B</dc:creator><description>&lt;p&gt;The frequency is 200Hz
In fact I would like to see how the micro reads this signal, so it would put an oscilloscope on the output pin to see.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I send a signal from one pin to another pin?</title><link>https://devzone.nordicsemi.com/thread/90959?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2017 12:15:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b3c995b-a7a9-437e-bf8f-8a30af483503</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;What is the frequency of the PWM? Is there a particular reason you need to recreate the PWM at the output of the nRF?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I send a signal from one pin to another pin?</title><link>https://devzone.nordicsemi.com/thread/90958?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2017 15:40:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fd12eef-ca47-422a-91ae-b606c884bae4</guid><dc:creator>B</dc:creator><description>&lt;p&gt;Thank you so much for your help!
I tried to do what you said, but it did not work.
In fact, it would be more simple than you explained me.
I&amp;#39;m putting (a wave generator) a square wave on pin 17 of the microcontroller, and I want that same wave to come out on pin 18. How can I do that? Do you have any specific commands?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I send a signal from one pin to another pin?</title><link>https://devzone.nordicsemi.com/thread/90957?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2017 08:13:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f58738ea-52bf-4035-bfa9-3014d1449c9c</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello B&lt;/p&gt;
&lt;p&gt;There are a couple of ways to do this, but I believe the one with the smallest latency is using GPIOTE to sense the high-to-low or low-to-high transition on the input pin, and make that cause a change in the output pin via PPI. This will allow the input pin to change the output pin without the processor core being involved (no handler execution).&lt;/p&gt;
&lt;p&gt;I have attached a main file illustrating the concept, it is a rewritten version of the peripheral template from SDK 12.3.0 for the PCA10028, and should work by just replacing the template code with it.&lt;/p&gt;
&lt;p&gt;It uses the high accuracy GPIOTE event (toggle, created by pressing button 1) to trigger a GPIOTE task (toggle on LED1) via PPI.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1423.main.c"&gt;main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jørn Frøysa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>