<?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>I want to implement spi communication and TWI communication on 2 IO pins.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77112/i-want-to-implement-spi-communication-and-twi-communication-on-2-io-pins</link><description>I am developing a NRF52810 product, I am downloading using JTAK on NRF52832 development board. 
 I have the NRF52810 because of the lack of IO pins. SPI CLK , TWI CLK are pin P0.12, SPI MOSI, TWI Data is pin P0.15, I want to control the SPI CS pin with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Jul 2021 13:46:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77112/i-want-to-implement-spi-communication-and-twi-communication-on-2-io-pins" /><item><title>RE: I want to implement spi communication and TWI communication on 2 IO pins.</title><link>https://devzone.nordicsemi.com/thread/318662?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 13:46:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92a1ee04-95cb-4ec7-99bf-a4ffa02a140d</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;from nRF side, you can configure both modules (nrfx_twim and nrfx_swim) at same pins, and switch between them, just don&amp;#39;t forget to call uninit() of one module before calling init() of&amp;nbsp;another one. But if you share I/O lines between i2c and spi, you need some switching/blocking schematic for i2c bus.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>