<?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>Current draw when using SPI with MISO and MOSI on the same pin</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61449/current-draw-when-using-spi-with-miso-and-mosi-on-the-same-pin</link><description>Hi! We have a peripheral which uses an &amp;#39;unconventional&amp;#39; SPI configuration for its data transfer. Among other things, it sends and receives data on the same SPI line, meaning that when defining the SPI lines we set the MISO and MOSI to the same GPIO. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 May 2020 12:44:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61449/current-draw-when-using-spi-with-miso-and-mosi-on-the-same-pin" /><item><title>RE: Current draw when using SPI with MISO and MOSI on the same pin</title><link>https://devzone.nordicsemi.com/thread/250445?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 12:44:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30218e17-57e4-4782-a3a2-904647f51558</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It sounds like your pin is still in output mode, causing the nRF to use a bit of power to hold it high/low. When you uninitialize the SPI, try to set all the SPI pins as disconnected-inputs.&lt;/p&gt;
&lt;p&gt;You can do this by using the function&amp;nbsp;nrf_gpio_cfg_default() from nrfx_gpiote_out_uninit.c, or&amp;nbsp;nrf_drv_gpiote_out_uninit() from nrf_drv_gpiote.h/c.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>