<?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>Pin assignment GPIOTE and UARTE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93273/pin-assignment-gpiote-and-uarte</link><description>Hello there, 
 
 If I init a UARTE module (nrf_drv_uart_init) with e.g. Pin RX = 3 is it already enough to just disable the module (nrf_uarte_disable) so I can use the RX as interrupt with GPIOTE module? Do I need to disconnect the Pin (nrf_uarte_txrx_pins_disconnect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Oct 2022 14:29:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93273/pin-assignment-gpiote-and-uarte" /><item><title>RE: Pin assignment GPIOTE and UARTE</title><link>https://devzone.nordicsemi.com/thread/392676?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 14:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70eaee07-3bc6-4351-a438-667284b502e0</guid><dc:creator>Lecram69</dc:creator><description>&lt;p&gt;Thanks tho&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin assignment GPIOTE and UARTE</title><link>https://devzone.nordicsemi.com/thread/392674?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 14:27:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90b8c06b-20ba-41a7-8f7f-0cc39b0a18a5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]If I init a UARTE module (nrf_drv_uart_init) with e.g. Pin RX = 3 is it already enough to just disable the module (nrf_uarte_disable) so I can use the RX as interrupt with GPIOTE module? Do I need to disconnect the Pin (nrf_uarte_txrx_pins_disconnect)?[/quote]
&lt;p&gt;Yes and no. As you are using the driver, you should uninit the driver by calling&amp;nbsp;nrf_drv_uart_uninit(). This in turn calls&amp;nbsp;nrfx_uarte_uninit(), which calls&amp;nbsp;nrf_uarte_txrx_pins_disconnect() for you.&lt;/p&gt;
[quote user=""]Basically my question is when is it possible to use a Pin with a other module?[/quote]
&lt;p&gt;Yes, but you need to properly uninit the driver before using the pins for something else, and then init it again afterwards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>