<?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>Combine two or three &amp;quot;I2C&amp;quot; Devices with NRF5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77294/combine-two-or-three-i2c-devices-with-nrf5340</link><description>HI, 
 I have already got output from each of the SHT20 and MLX90614 sensors. Now I want to combine both the code. Regards, I need an help to Setup prj.conf file 
 Thanks &amp;amp; Regards 
 Navin</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Aug 2021 10:54:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77294/combine-two-or-three-i2c-devices-with-nrf5340" /><item><title>RE: Combine two or three "I2C" Devices with NRF5340</title><link>https://devzone.nordicsemi.com/thread/323057?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 10:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1da664e-4224-4715-9fc5-c499d64a074f</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You need to write them yourself and add them to your NCS fork.&lt;/p&gt;
&lt;p&gt;I also encourage you to create a PR when you&amp;#39;re done.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You should also write a driver for each device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://interrupt.memfault.com/blog/building-drivers-on-zephyr"&gt;How to Build Drivers for Zephyr&lt;/a&gt; and&amp;nbsp;&amp;nbsp;&lt;a href="https://www.kernel.org/doc/html/latest/devicetree/bindings/writing-bindings.html#dos-and-don-ts-for-designing-and-writing-devicetree-bindings"&gt;DOs and DON’Ts for designing and writing Devicetree bindings&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combine two or three "I2C" Devices with NRF5340</title><link>https://devzone.nordicsemi.com/thread/322982?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 02:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21af72ff-c688-4d7c-90ed-d638a8291f50</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;Hi heidi,&lt;/p&gt;
&lt;p&gt;I understood now, But if my sensor is not available in bindings index. How can I add??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combine two or three "I2C" Devices with NRF5340</title><link>https://devzone.nordicsemi.com/thread/322934?ContentTypeID=1</link><pubDate>Mon, 02 Aug 2021 15:00:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99f42c7b-fe05-42b8-a945-3a5b504c7b56</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After taking a closer look, I see that you&amp;#39;re defining all the sub-nodes with the &amp;quot;nordic, nrf-twim&amp;quot; binding, which is incorrect.&lt;/p&gt;
&lt;p&gt;For the compatible-property of the sub-nodes, you need to use the vendor specific bindings, not &amp;quot;nordic,nrf-twim&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For example, in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/sensor/bme680/README.html"&gt;BME680 Sample&lt;/a&gt;, the BME680 device is defined with the BME680 binding:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c0 {
	bme680@76 {
		compatible = &amp;quot;bosch,bme680&amp;quot;;
		reg = &amp;lt;0x76&amp;gt;;
		label = &amp;quot;BME680&amp;quot;;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Source: zephyr/samples/sensor/b,e680/boards/nrf52840dk_nrf52840.overlay-L9&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It doesn&amp;#39;t look like any of the devices you are using have a binding definition in Zephyr (see the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/devicetree/bindings.html#bindings-index"&gt;Bindings index&lt;/a&gt; for a complete list of available devicetree bindings in Zephyr).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combine two or three "I2C" Devices with NRF5340</title><link>https://devzone.nordicsemi.com/thread/322709?ContentTypeID=1</link><pubDate>Fri, 30 Jul 2021 15:31:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bae036d2-e4fb-41a3-8815-ff170db262d1</guid><dc:creator>Mr.NCK</dc:creator><description>[quote userid="82276" url="~/f/nordic-q-a/77294/combine-two-or-three-i2c-devices-with-nrf5340/322579#322579"]add the &amp;quot;interrupts&amp;quot; field in all the I2C sub-nodes,[/quote]
&lt;p&gt;KIndly, give me some example&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combine two or three "I2C" Devices with NRF5340</title><link>https://devzone.nordicsemi.com/thread/322579?ContentTypeID=1</link><pubDate>Fri, 30 Jul 2021 06:31:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef6fe0ff-2e2c-44f0-91d3-42e22425471e</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As I mentioned earlier, due to the summer holidays, long wait times on DevZone are to be expected.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the log, it says&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;devicetree error: &amp;#39;interrupts&amp;#39; is marked as required in &amp;#39;properties:&amp;#39; in F:/v1.5.0/zephyr/dts/bindings\i2c\nordic,nrf-twim.yaml, but does not appear in &amp;lt;Node /soc/peripheral@50000000/i2c@8000/BNO055@28 in &amp;#39;nrf5340dk_nrf5340_cpuapp.dts.pre.tmp&amp;#39;&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;so you need to add the &amp;quot;interrupts&amp;quot; field in all the I2C sub-nodes, because it&amp;#39;s specified as required by the binding file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combine two or three "I2C" Devices with NRF5340</title><link>https://devzone.nordicsemi.com/thread/321659?ContentTypeID=1</link><pubDate>Sun, 25 Jul 2021 14:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d357362-b37c-478b-afcb-4f320f6c6258</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;Hi Heidi,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5732.nrf5340dk_5F00_nrf5340_5F00_cpuapp.overlay"&gt;devzone.nordicsemi.com/.../5732.nrf5340dk_5F00_nrf5340_5F00_cpuapp.overlay&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;while opening the project with the above overlay file I have facing the error called&lt;/p&gt;
&lt;p&gt;create_nordic_project.py failed (1)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;the log was&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
Creating solution VET_Firm.emProject
F:/v1.5.0/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp -DBOARD_DIR=F:\v1.5.0\zephyr\boards\arm\nrf5340dk_nrf5340 -BF:\v1.5.0\zephyr\samples\MyProjects\VET_Firm\build_nrf5340dk_nrf5340_cpuapp -SF:\v1.5.0\zephyr\samples\MyProjects\VET_Firm -DNCS_TOOLCHAIN_VERSION=1.5.0 -DDTC_OVERLAY_FILE=F:\v1.5.0\zephyr\samples\MyProjects\VET_Firm/nrf5340dk_nrf5340_cpuapp.overlay -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=F:\v1.5.0\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py
-- Application: F:/v1.5.0/zephyr/samples/MyProjects/VET_Firm
-- Zephyr version: 2.4.99 (F:/v1.5.0/zephyr)
-- Found Python3: F:/v1.5.0/toolchain/opt/bin/python.exe (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter
-- Found west (found suitable version &amp;quot;0.9.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf5340dk_nrf5340_cpuapp
-- Cache files will be written to: F:/v1.5.0/zephyr/.cache
-- Found dtc: F:/v1.5.0/toolchain/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found toolchain: gnuarmemb (F:/v1.5.0/toolchain/opt)
-- Found BOARD.dts: F:/v1.5.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
-- Found devicetree overlay: F:/v1.5.0/zephyr/samples/MyProjects/VET_Firm/nrf5340dk_nrf5340_cpuapp.overlay
-- Configuring incomplete, errors occurred!
Including boilerplate (Zephyr base): F:/v1.5.0/zephyr/cmake/app/boilerplate.cmake
-- Using NCS Toolchain 1.5.0 for building. (F:/v1.5.0/toolchain/cmake)
devicetree error: &amp;#39;interrupts&amp;#39; is marked as required in &amp;#39;properties:&amp;#39; in F:/v1.5.0/zephyr/dts/bindings\i2c\nordic,nrf-twim.yaml, but does not appear in &amp;lt;Node /soc/peripheral@50000000/i2c@8000/BNO055@28 in &amp;#39;nrf5340dk_nrf5340_cpuapp.dts.pre.tmp&amp;#39;&amp;gt;
CMake Error at F:/v1.5.0/zephyr/cmake/dts.cmake:229 (message):
gen_defines.py failed with return code: 1
Call Stack (most recent call first):
F:/v1.5.0/zephyr/cmake/app/boilerplate.cmake:533 (include)
F:/v1.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
F:/v1.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
CMakeLists.txt:8 (find_package)



error: cmake failed
create_nordic_project.py failed (1)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I think the above error is because of the Device tree. Already, You know our requirements. Kindly check my overlay file and correct me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Kindly respond, We are waiting for a long time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combine two or three "I2C" Devices with NRF5340</title><link>https://devzone.nordicsemi.com/thread/321220?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 04:59:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1eb7470d-f547-4be2-a5a3-d5ba733db837</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="82276" url="~/f/nordic-q-a/77294/combine-two-or-three-i2c-devices-with-nrf5340/321193#321193"]provide the applications you want to combine[/quote]
&lt;p&gt;I will send my applications and also share my&amp;nbsp;prj.conf file here. Kindly check that and tell me if anything is wrong&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5226.prj.conf"&gt;devzone.nordicsemi.com/.../5226.prj.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combine two or three "I2C" Devices with NRF5340</title><link>https://devzone.nordicsemi.com/thread/321193?ContentTypeID=1</link><pubDate>Wed, 21 Jul 2021 18:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1e598d3-69e1-42fe-ac9a-c541d5d4b744</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Can you please provide the applications you want to combine?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combine two or three "I2C" Devices with NRF5340</title><link>https://devzone.nordicsemi.com/thread/320548?ContentTypeID=1</link><pubDate>Sun, 18 Jul 2021 05:21:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a744d60-fab5-4e0d-9cdf-6b4e16f36602</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have written two applications for interfacing sensors with NRF5340. Now I need to combine both the applications as one.&lt;/p&gt;
&lt;p&gt;Regards I need to know &amp;quot;How to do that &amp;quot;.&amp;nbsp;&lt;/p&gt;
[quote userid="82276" url="~/f/nordic-q-a/77294/combine-two-or-three-i2c-devices-with-nrf5340/320221#320221"]you&amp;#39;re having trouble with the prj.conf file?[/quote]
&lt;p&gt;Actually, I need to know how to do??&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combine two or three "I2C" Devices with NRF5340</title><link>https://devzone.nordicsemi.com/thread/320221?ContentTypeID=1</link><pubDate>Thu, 15 Jul 2021 11:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63d14a3a-82f3-4fcd-a915-5b4bda4993f5</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi again!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you elaborate on what help you need? You have two applications that you would like to combine and you&amp;#39;re having trouble with the prj.conf file? As in, their dependencies don&amp;#39;t merge? Or something else?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Perhaps you can provide the code you&amp;#39;re working with, or at least the individual prj.conf files.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combine two or three "I2C" Devices with NRF5340</title><link>https://devzone.nordicsemi.com/thread/319768?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 11:16:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:891203a1-9a48-4fca-92ef-7d32fc2124b0</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Due to the summer holidays, a huge portion of the support staff and R&amp;amp;D developers are away so wait times are to be expected on DevZone.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We will get back to you as soon as we can.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Combine two or three "I2C" Devices with NRF5340</title><link>https://devzone.nordicsemi.com/thread/319593?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 12:32:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89a64006-9275-41ee-994b-b322d9fae49d</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Anybody is here??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>