<?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>Device bmi270@68 is not ready when using nrf5340 and the BMI270 sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114532/device-bmi270-68-is-not-ready-when-using-nrf5340-and-the-bmi270-sample</link><description>I am trying to get the BMI270 working with a nrf5340 DK. I have read Unable to Connect nRF5340DK with BMI270 Over I2C - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com) and Falied to Connect nRF5340DK with BMI270 Over I2C - Nordic Q&amp;amp;A - Nordic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 May 2025 12:05:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114532/device-bmi270-68-is-not-ready-when-using-nrf5340-and-the-bmi270-sample" /><item><title>RE: Device bmi270@68 is not ready when using nrf5340 and the BMI270 sample</title><link>https://devzone.nordicsemi.com/thread/536425?ContentTypeID=1</link><pubDate>Wed, 21 May 2025 12:05:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ebada34-0f92-4df0-85b1-7ce5ac475fc3</guid><dc:creator>Luis Santos</dc:creator><description>&lt;p&gt;Hello Joao,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What is mean?&lt;br /&gt;&lt;br /&gt;Cold you please share your code and .dts?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device bmi270@68 is not ready when using nrf5340 and the BMI270 sample</title><link>https://devzone.nordicsemi.com/thread/523767?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 19:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4858dde-9f0b-4970-ab61-af02b93cde40</guid><dc:creator>Joao Colombari</dc:creator><description>&lt;p&gt;Nevermind, now it works fine. &lt;br /&gt;&lt;br /&gt;I was just using:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;zephyr,deferred-init&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;and not initializing in main.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;All the best!&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device bmi270@68 is not ready when using nrf5340 and the BMI270 sample</title><link>https://devzone.nordicsemi.com/thread/523765?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 18:44:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfed5e7e-8214-46e4-b7f2-37ccb6405690</guid><dc:creator>Joao Colombari</dc:creator><description>&lt;p&gt;Facing the same problem here...&lt;br /&gt;&lt;br /&gt;Could you share your project??&lt;br /&gt;&lt;br /&gt;Thanks a lot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device bmi270@68 is not ready when using nrf5340 and the BMI270 sample</title><link>https://devzone.nordicsemi.com/thread/501571?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 14:11:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b3b1037-a0bb-4bd3-9490-54c935a29968</guid><dc:creator>lcj</dc:creator><description>&lt;p&gt;Got it working thanks to the debug statements! I appreciate your help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c3 {
	compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;i2c3_my_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;i2c3_my_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
	zephyr,concat-buf-size = &amp;lt;257&amp;gt;;
    bmi270@68 {
            compatible = &amp;quot;bosch,bmi270&amp;quot;;
            reg = &amp;lt;0x68&amp;gt;;
    };	
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device bmi270@68 is not ready when using nrf5340 and the BMI270 sample</title><link>https://devzone.nordicsemi.com/thread/501569?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 14:05:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa35a708-02fb-440e-94f6-df0b97271f9a</guid><dc:creator>lcj</dc:creator><description>&lt;p&gt;With the logging:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Device bmi270@68 is not ready
[00:00:00.257,202] &amp;lt;dbg&amp;gt; bmi270: write_config_file: writing config file max_fifo
[00:00:00.258,880] &amp;lt;err&amp;gt; i2c_nrfx_twim: Need to use the internal driver buffer but its size is insufficient (1 + 256 &amp;gt; 128). Adjust the zephyr,concat-buf-size or zephyr,flash-buf-max-size property (the one with greater value) in the &amp;quot;i2c@c000&amp;quot; node.
[00:00:00.260,528] &amp;lt;err&amp;gt; i2c_nrfx_twim: Need to use the internal driver buffer but its size is insufficient (1 + 256 &amp;gt; 128). Adjust the zephyr,concat-buf-size or zephyr,flash-buf-max-size property (the one with greater value) in the &amp;quot;i2c@c000&amp;quot; node.
*** Booting nRF Connect SDK v3.5.99-ncs1-1 ***&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m also curious how this works without specifying INT1 and INT2 anywhere.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device bmi270@68 is not ready when using nrf5340 and the BMI270 sample</title><link>https://devzone.nordicsemi.com/thread/501567?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 14:02:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f50bdf5-fea0-4bcc-91a7-01c5c5a0a64f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The initial steps when adding sensors is to ensure that the communication is up and running, and also check that the sensor is ACKing the messages that comes across.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can add these to your prj.conf for more verbose printing:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=y
CONFIG_SENSOR_LOG_LEVEL_DBG=y
CONFIG_I2C_LOG_LEVEL_DBG=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, if there is no ACK on the I2C lines, you will only get the prompt &amp;quot;Device bmi270@68 is not ready&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device bmi270@68 is not ready when using nrf5340 and the BMI270 sample</title><link>https://devzone.nordicsemi.com/thread/501560?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 13:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c70bf280-17fa-4057-bcf7-5f7906d020d0</guid><dc:creator>lcj</dc:creator><description>&lt;p&gt;I&amp;#39;m not great with the logic analyzer but can try. Would others be having the same problem with the communication?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device bmi270@68 is not ready when using nrf5340 and the BMI270 sample</title><link>https://devzone.nordicsemi.com/thread/501555?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 13:14:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a3759e5-2490-4dbe-a4f2-745771360556</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you scope your SDA/SCL lines to see where the communication fails?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device bmi270@68 is not ready when using nrf5340 and the BMI270 sample</title><link>https://devzone.nordicsemi.com/thread/501544?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 12:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc40b102-1de4-4bb2-83a8-cf129878fe6d</guid><dc:creator>lcj</dc:creator><description>&lt;p&gt;I have a board to connect w/the nRF5340 DK with a separate I2C SCL/SDA (currently P0.24 and P0.23 respectively). For the BMI270 INT1 is P0.06 and INT2 is P0.09.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I replaced the overlay with what you provided but got the same response.&lt;/p&gt;
&lt;p&gt;I did have to add one additional item because there is a&amp;nbsp;SAO address bit for the BMI and I need to make this MCU GPIO Output LOW and it will be BMI270 default i2c address 0b1101000 (0x68).&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;gpio0 {
    status = &amp;quot;okay&amp;quot;;
    p0_19_hog: p0_19_hog {
        gpio-hog;
        gpios = &amp;lt;19 GPIO_ACTIVE_HIGH&amp;gt;;
        output-low;
    };
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device bmi270@68 is not ready when using nrf5340 and the BMI270 sample</title><link>https://devzone.nordicsemi.com/thread/501531?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 11:53:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc8fffc9-6d35-4268-ad26-0e4afa14542c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have external pull resistors?&lt;/p&gt;
&lt;p&gt;If not, try to enable internal pull-ups in DT:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;pinctrl {
	i2c1_my_default: i2c1_my_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 1, 2)&amp;gt;,
				&amp;lt;NRF_PSEL(TWIM_SCL, 1, 3)&amp;gt;;
            bias-pull-up;
		};
	};

	i2c1_my_sleep: i2c1_my_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 1, 2)&amp;gt;,
				&amp;lt;NRF_PSEL(TWIM_SCL, 1, 3)&amp;gt;;
			low-power-enable;
		};
	};
};

&amp;amp;i2c1 {
	compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;i2c1_my_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;i2c1_my_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
	zephyr,concat-buf-size = &amp;lt;128&amp;gt;;
    bmi270@68 {
            compatible = &amp;quot;bosch,bmi270&amp;quot;;
            reg = &amp;lt;0x68&amp;gt;;
    };	
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>