<?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>Disable NRF9160 I2C internal pull up. NRF91 with TXS0108</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83479/disable-nrf9160-i2c-internal-pull-up-nrf91-with-txs0108</link><description>I finally got a working i2c code base but it seems that the nrf9160 has internal pullups on the i2C bus me trying to combine this with a TXS0108 causes weird issues. I suspect that the internal pull fights the internal pull up of the TXS0108 so I wanted</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Jan 2022 21:51:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83479/disable-nrf9160-i2c-internal-pull-up-nrf91-with-txs0108" /><item><title>RE: Disable NRF9160 I2C internal pull up. NRF91 with TXS0108</title><link>https://devzone.nordicsemi.com/thread/350537?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 21:51:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ac6dbe1-b089-4f4f-a3da-d9fd5dbef885</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, sorry for the late reply. There is no way to do that through the zephyr driver API unfortunately, so you will have to change the nrfx TWIM drivers directly. More specifically:&lt;/p&gt;
&lt;p&gt;In &lt;strong&gt;\modules\hal\nordic\nrfx\drivers\src\nrfx_twim.c&lt;/strong&gt;,&lt;br /&gt;in &lt;code&gt;TWIM_PIN_INIT&lt;/code&gt;&lt;br /&gt;change &lt;code&gt;NRF_GPIO_PIN_PULLUP&lt;/code&gt; to &lt;code&gt;NRF_GPIO_PIN_NOPULL&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;In &lt;strong&gt;\modules\hal\nordic\nrfx\drivers\src\nrfx_twi_twim.c,&lt;/strong&gt;&lt;br /&gt;in &lt;code&gt;TWI_TWIM_PIN_CONFIGURE&lt;/code&gt;&lt;br /&gt;change &lt;code&gt;NRF_GPIO_PIN_PULLUP&lt;/code&gt; to &lt;code&gt;NRF_GPIO_PIN_NOPULL&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Stian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>