<?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>Problem configuring TWI (I2C) interface</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100595/problem-configuring-twi-i2c-interface</link><description>Hello, 
 I&amp;#39;m trying to configure the TWIM for a nRF52832 microcontroller. I have created the following *overlay file: 
 
 I have the following error in line &amp;quot;e&amp;quot; (&amp;#39;twis_device1:nRF52832@40004000&amp;#39;): 
 
 And after a build I get the following error: 
 
 Could</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Aug 2023 08:02:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100595/problem-configuring-twi-i2c-interface" /><item><title>RE: Problem configuring TWI (I2C) interface</title><link>https://devzone.nordicsemi.com/thread/443304?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2023 08:02:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b533b40a-f3f6-468f-8fc3-a26b5f419628</guid><dc:creator>msu7xi</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I come back to this subject as I still have problems to configure the I2C interface. Is there any parameter I&amp;#39;m missing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem configuring TWI (I2C) interface</title><link>https://devzone.nordicsemi.com/thread/430280?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 14:17:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8e0837a-07fa-4366-b0e8-0ab8a627f1c3</guid><dc:creator>msu7xi</dc:creator><description>&lt;p&gt;I still have the same error. Below the prj.conf file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2018 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# Enable the UART driver
CONFIG_UART_ASYNC_API=y
CONFIG_NRFX_UARTE0=y
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

# Enable the BLE stack with GATT Client configuration
CONFIG_BT=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_SMP=y
CONFIG_BT_GATT_CLIENT=y

# Enable the BLE modules from NCS
CONFIG_BT_NUS_CLIENT=y
CONFIG_BT_SCAN=y
CONFIG_BT_SCAN_FILTER_ENABLE=y
CONFIG_BT_SCAN_UUID_CNT=1
CONFIG_BT_SCAN_ADDRESS_CNT=1
CONFIG_BT_GATT_DM=y
CONFIG_HEAP_MEM_POOL_SIZE=2048
CONFIG_BT_MAX_PAIRED=1
CONFIG_BT_MAX_CONN=1

# This example requires more workqueue stack
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

# Enable bonding
CONFIG_BT_SETTINGS=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y

# Enable use of the non-minimal C functionality (stdio.h).
CONFIG_NEWLIB_LIBC=y

# Config logger
CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=y
CONFIG_LOG_PRINTK=n
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_GATT_DM_DATA_PRINT=y

CONFIG_ASSERT=y

# Config I2C
CONFIG_GPIO=y
CONFIG_I2C=y
CONFIG_I2C_NRFX=y

CONFIG_SHELL=y
CONFIG_I2C_SHELL=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m building the project for an nRF52832.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem configuring TWI (I2C) interface</title><link>https://devzone.nordicsemi.com/thread/430266?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 13:47:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7425bc04-01d1-4720-84fa-5cdf7fb26c74</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;At the moment I am not able to reproduce the error you are seeing.&lt;/p&gt;
&lt;p&gt;Could you try adding this to the overlay?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi1 {
    status = &amp;quot;disabled&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If that does not work, could you please show me the prj.conf file? Do you have CONFIG_I2C=y ?&lt;/p&gt;
&lt;p&gt;Which board are you building for, and are you able to reproduce this error on the hello_world sample?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem configuring TWI (I2C) interface</title><link>https://devzone.nordicsemi.com/thread/430240?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 12:35:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdac65db-046c-4c91-ba25-d7f778e3afec</guid><dc:creator>msu7xi</dc:creator><description>&lt;p&gt;2.3.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem configuring TWI (I2C) interface</title><link>https://devzone.nordicsemi.com/thread/430220?ContentTypeID=1</link><pubDate>Fri, 09 Jun 2023 11:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0b3bf5f-5bdf-45f1-879d-b50805dd4aa2</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Which version of the nRF Connect SDK are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem configuring TWI (I2C) interface</title><link>https://devzone.nordicsemi.com/thread/429969?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 11:35:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e1c76f1-ff78-4fc2-b8fb-0745719f6567</guid><dc:creator>msu7xi</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have replaced the address and I still have the error:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Node nRF52832 should have &amp;quot;compatible&amp;quot; property
Node should only occur on the undefined bus.
/soc/i2c@40004000/nRF52832@28/&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Do I have to modify &amp;#39;/soc/i2c@40004000/nRF52832@28/&amp;#39;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem configuring TWI (I2C) interface</title><link>https://devzone.nordicsemi.com/thread/429956?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2023 10:57:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:482e8ad2-8d01-4353-800c-7661bf3da022</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In an i2c device node, the reg property and address after the node name should be the i2c address, not the memory address of the bus.&lt;br /&gt;So both 40004000 should be 28.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>