<?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>how to switch TWI pins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34111/how-to-switch-twi-pins</link><description>Due to a hardware design error, the CLK/Data pins on TWI bus was switched in different PCB versions. I want use software to dynamically detect the situation and switch the pins. But the code doesn&amp;#39;t work. Could you help on this? 
 I am using 51822 and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 12 May 2018 05:33:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34111/how-to-switch-twi-pins" /><item><title>RE: how to switch TWI pins</title><link>https://devzone.nordicsemi.com/thread/131749?ContentTypeID=1</link><pubDate>Sat, 12 May 2018 05:33:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:917b6767-2991-4690-9130-d87d706e4849</guid><dc:creator>jacky</dc:creator><description>&lt;p&gt;Thank you for you reply. &amp;nbsp;I finally found my code works well. I thought it is not working because of the value of Expected_who_am_I was wrong.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to switch TWI pins</title><link>https://devzone.nordicsemi.com/thread/131176?ContentTypeID=1</link><pubDate>Mon, 07 May 2018 10:34:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d36aad5b-6e48-4054-a148-9e27be2f7816</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;What is happening inside function&amp;nbsp;twi_master_init? I do not see any calls to any TWI uninit functions. Are you getting any errors in the second&amp;nbsp;twi_master_init call (NRF_ERROR_INVALID_STATE, etc.)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>