<?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>SPI and I2C simultaneously</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30445/spi-and-i2c-simultaneously</link><description>I might need to use SPI and I2C simultaneously in a design, due to the fact that one of the components is only available in an I2C version. 
 Can the nRF52840 be configured as an I2C master, and as an SPI slave (with different physical connections) at</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Feb 2018 16:13:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30445/spi-and-i2c-simultaneously" /><item><title>RE: SPI and I2C simultaneously</title><link>https://devzone.nordicsemi.com/thread/120606?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 16:13:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:722c14e6-c332-4e17-be7b-451a32c75543</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes it can. There are 3 serial instances that can be used as TWI or SPI masters and slaves. Note that each instance can only act in one role at the time. So in your case you can e.g. use TWIM0 and SPIS1. Please refer to this documentation:&amp;nbsp;&lt;a title="Peripherals with shared ID" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/peripheral_interface.html?cp=2_1_0_14_1#concept_shared_id"&gt;Peripherals with shared ID&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can use any pins you want. Our only recommendations is to keep high frequency signals, like the SPI bus, away from the antenna.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>