<?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>NRF5340 I2C Pins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86181/nrf5340-i2c-pins</link><description>Hi everyone I am currently trying to connect some simple sensors using the I2C interface. 
 Currently I am working with an nRF5340 and nRFC 1.6.1 SDK 
 I loaded one of the samples using the FXAS21002 module. 
 Everything works fine on i2c1 when using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Mar 2022 10:42:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86181/nrf5340-i2c-pins" /><item><title>RE: NRF5340 I2C Pins</title><link>https://devzone.nordicsemi.com/thread/360234?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 10:42:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ce8ac17-a1df-4a2d-95ce-3c34e89fc591</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you double check with the logical analyzer that the nRF5340 sends out the same address in both cases?&amp;nbsp;NRFX_ERROR_DRV_TWI_ERR_ANACK is returned by slave if it doesn&amp;#39;t acknowledge the address.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 I2C Pins</title><link>https://devzone.nordicsemi.com/thread/360185?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 08:13:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b486a3e-9504-41a7-b437-085643b4b7c4</guid><dc:creator>DorianN</dc:creator><description>&lt;p&gt;Okay guys sorry about the no communication on the I2C pins, I can get the address sent message from the board.&lt;/p&gt;
&lt;p&gt;Apparently it&amp;#39;s the module that is not replying back?&lt;/p&gt;
&lt;p&gt;On the console I am getting the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and after some looking around the error is associated with:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRFX_ERROR_DRV_TWI_ERR_ANACK    = (NRFX_ERROR_DRIVERS_BASE_NUM + 1),&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;from the following nordic file:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/blob/master/nrfx/drivers/nrfx_errors.h#L70"&gt;nrfx_errors.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But then again I do not understand why it&amp;#39;s functioning properly on the other 2 pins.&lt;/p&gt;
&lt;p&gt;Is the sample only supposed to work on pins 34-35?&lt;/p&gt;
&lt;p&gt;But then again there&amp;#39;s the overlay file which overrides the pin settings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 I2C Pins</title><link>https://devzone.nordicsemi.com/thread/360180?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 08:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60141a4b-c3d7-4424-bb24-439b95defaf8</guid><dc:creator>DorianN</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;Yeah I hooked up a logic analyzer but I see no activity on the lines SDA/SCL.&lt;/p&gt;
&lt;p&gt;I also implemented a simple blinky on the 2 pins and they switch (High/Low) without any issues.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Dorjan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 I2C Pins</title><link>https://devzone.nordicsemi.com/thread/359986?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 12:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1e57525-2e0b-427a-aba3-ed95dc9d22de</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, every GPIO should be available to be assigned for the TWIM peripheral. Do you see any activity on the SCL line if you use a logical analyzer or a oscilloscope?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>