<?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>Can i configure SWDIO and SWDCLK to I2C pin?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70567/can-i-configure-swdio-and-swdclk-to-i2c-pin</link><description>Dear Nordic team. 
 We have to add new sensors using I2C protocol on our previous project. 
 Can i configure WDIO and SWDCLK pin to I2C pin? 
 If possible, i will reuse my old PCB. 
 Another case, i think we need layout new PCB :( 
 thanks.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jan 2021 03:47:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70567/can-i-configure-swdio-and-swdclk-to-i2c-pin" /><item><title>RE: Can i configure SWDIO and SWDCLK to I2C pin?</title><link>https://devzone.nordicsemi.com/thread/289908?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 03:47:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b10f7538-8b0c-4927-97b2-b7176190e9bd</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;goto see the int the SDK examples/peripheral/twi_sensor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i configure SWDIO and SWDCLK to I2C pin?</title><link>https://devzone.nordicsemi.com/thread/289907?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 03:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2454753-5018-4cd8-a3ac-c1fdbb8f9526</guid><dc:creator>Quangca</dc:creator><description>&lt;p&gt;I&amp;nbsp;&lt;span&gt;check the pca10056.h on PCA10056e apps(for nRF52811 chip). But&amp;nbsp;can&amp;#39;t find I2c or TWI pin define.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Are these define correct for I2C pin in pca10056.h&amp;nbsp;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;// Arduino board mappings&lt;br /&gt;#define ARDUINO_SCL_PIN 27 // SCL signal pin&lt;br /&gt;#define ARDUINO_SDA_PIN 26 // SDA signal pin&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can&amp;nbsp;you help me, where I2c or TWI pin defined?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i configure SWDIO and SWDCLK to I2C pin?</title><link>https://devzone.nordicsemi.com/thread/289606?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 04:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cd7a19a-b4cf-44b1-979f-b648290a50d7</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Unlike other MCU, the nRF series GPIO pin are totally programmable. &amp;nbsp;Any pin can be configured to be used by any peripherals such as I2C, SPI, UART, ... Except a a few dedicated one such as the SWD. &amp;nbsp;However, I don&amp;#39;t recommend using NFC and reset pins as GPIO. &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i configure SWDIO and SWDCLK to I2C pin?</title><link>https://devzone.nordicsemi.com/thread/289599?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 01:44:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:567d096e-cd07-4224-bfb0-b6f1cb95d7fe</guid><dc:creator>Quangca</dc:creator><description>&lt;p&gt;Thanks Ho&amp;agrave;ng.&lt;/p&gt;
&lt;p&gt;I understand. May be i need make new PCB :(&lt;/p&gt;
&lt;p&gt;By the way, i check nRF52811 don&amp;#39;t have Hw internal configure for I2C.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Datasheet also said that: &lt;span style="text-decoration:underline;"&gt;&lt;em&gt;&amp;quot;The TWI master is compatible with I2 C operating at 100 kHz and 400 kHz&lt;/em&gt;&amp;nbsp;&lt;/span&gt;&amp;quot;.&lt;/p&gt;
&lt;p&gt;It seem we can define GPIO for I2C pin by firmware, right?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But check on pca10056.h, can&amp;#39;t find I2c or TWI pin define.&lt;/p&gt;
&lt;p&gt;Do you know BLE peripheral example using I2C for nRF52811?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i configure SWDIO and SWDCLK to I2C pin?</title><link>https://devzone.nordicsemi.com/thread/289574?ContentTypeID=1</link><pubDate>Sun, 17 Jan 2021 15:17:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b03b3c8e-7ca7-4aa1-b2b6-955ac8941618</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;SWD pins are dedicated pins, cannot be remapped.&lt;/p&gt;
&lt;p&gt;You can have multiple devices on the same I2C pins only requirement is that each device has a different I2C 7bits address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>