<?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>Thingy53: how to enable bmi270 on board correctly?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111185/thingy53-how-to-enable-bmi270-on-board-correctly</link><description>Hi community, 
 ncs-2.6.0 I&amp;#39;m using. 
 I&amp;#39;m trying to enable bmi270 as I enabled adxl362(is already working), both are connected with SPI. 
 
 but it shows me this kind of infomation: 
 
 CONFIG_BMI270 was assigned the value y, but got the value n. Missing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 May 2024 19:58:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111185/thingy53-how-to-enable-bmi270-on-board-correctly" /><item><title>RE: Thingy53: how to enable bmi270 on board correctly?</title><link>https://devzone.nordicsemi.com/thread/484780?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 19:58:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4e3ea00-5ca6-4415-8fc3-1c7cebedd210</guid><dc:creator>danny0007</dc:creator><description>&lt;p&gt;Hi Runar,&lt;/p&gt;
&lt;p&gt;thanks for your reply!&lt;/p&gt;
&lt;p&gt;after restarting my laptop, everything works fine.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Danny&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53: how to enable bmi270 on board correctly?</title><link>https://devzone.nordicsemi.com/thread/484629?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 08:41:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5af884ab-0ba8-4029-925c-0b5975b1864c</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Did you do a prestine build after changes your prj.conf and overlay?&lt;/p&gt;
&lt;p&gt;I tried with NCS 2.6.1. Which version are you using?&lt;/p&gt;
&lt;p&gt;Build target thingy53_nrf5340_cpuapp_ns&lt;/p&gt;
&lt;p&gt;prj.conf&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# nothing here
CONFIG_GPIO=y
CONFIG_SPI=y
CONFIG_SENSOR=y
CONFIG_BMI270=y

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Overlay&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi3{
	bmi270: spi-dev-bmi270@1 {
		status = &amp;quot;okay&amp;quot;;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;main&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;zephyr/kernel.h&amp;gt;

int main(void)
{
	const struct device *sensor = DEVICE_DT_GET_ANY(bmi270);

	if (!device_is_ready(sensor)) 
	{
		printk(&amp;quot;Sensor device not ready\n&amp;quot;);
		return;
	}
	printk(&amp;quot;Hello World! %s\n&amp;quot;, CONFIG_BOARD);
	return 0;
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And I was not able to replicate your warning&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53: how to enable bmi270 on board correctly?</title><link>https://devzone.nordicsemi.com/thread/484581?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 20:27:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fba0518-e925-4366-90dc-945b6f48df69</guid><dc:creator>danny0007</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi3 {
	compatible = &amp;quot;nordic,nrf-spim&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	cs-gpios = &amp;lt;&amp;amp;gpio0 22 GPIO_ACTIVE_LOW&amp;gt;,
		   &amp;lt;&amp;amp;gpio1 4  GPIO_ACTIVE_LOW&amp;gt;,
		   &amp;lt;&amp;amp;gpio0 24 GPIO_ACTIVE_LOW&amp;gt;;

	pinctrl-0 = &amp;lt;&amp;amp;spi3_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;spi3_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
	adxl362: spi-dev-adxl362@0 {
		compatible = &amp;quot;adi,adxl362&amp;quot;;
		spi-max-frequency = &amp;lt;8000000&amp;gt;;
		reg = &amp;lt;0&amp;gt;;
		int1-gpios = &amp;lt;&amp;amp;gpio0 19 0&amp;gt;;
	};

	bmi270: spi-dev-bmi270@1 {
		compatible = &amp;quot;bosch,bmi270&amp;quot;;
		status = &amp;quot;disabled&amp;quot;;
		spi-max-frequency = &amp;lt;8000000&amp;gt;;
		reg = &amp;lt;1&amp;gt;;
	};

	nrf_radio_fem_spi: fem_spi@2 {
		compatible = &amp;quot;nordic,nrf21540-fem-spi&amp;quot;;
		status = &amp;quot;disabled&amp;quot;;
		reg = &amp;lt;2&amp;gt;;
		spi-max-frequency = &amp;lt;8000000&amp;gt;;
	};
};

in overlay file:
&amp;amp;spi3{
	bmi270: spi-dev-bmi270@1 {
		status = &amp;quot;okay&amp;quot;;
	};
};

***************************************

CONFIG_I2C=y
CONFIG_SPI=y
# Enable floating point format specifiers
CONFIG_CBPRINTF_FP_SUPPORT=y
#custom
CONFIG_SENSOR=y
CONFIG_BH1749=y
CONFIG_BH1749_TRIGGER=y

CONFIG_ADXL362=y
CONFIG_BMI270=y&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53: how to enable bmi270 on board correctly?</title><link>https://devzone.nordicsemi.com/thread/483383?ContentTypeID=1</link><pubDate>Wed, 15 May 2024 06:07:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6dff55f-277c-40e2-879c-7a049c22f32d</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you show me your devicetree and your prj.conf?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>