<?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>Xiao BLE Sense &amp;amp; IMU - ZephyrOS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112046/xiao-ble-sense-imu---zephyros</link><description>Hi Everyone, 
 I am trying to develop a simple application with the XIAO BLE Sense device, the idea is to send a BLE message with a something hits the device. To achieve this, I wanted to configure the IMU so that /*********************************/ </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Jan 2025 21:22:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112046/xiao-ble-sense-imu---zephyros" /><item><title>RE: Xiao BLE Sense &amp; IMU - ZephyrOS</title><link>https://devzone.nordicsemi.com/thread/517807?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 21:22:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3af4f823-f173-4fce-b765-351ac31ede20</guid><dc:creator>Akshay Mehta</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/vgarcive"&gt;vgarcive&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is an older forum post, but I wanted to follow up on the current status. Our team specializes in Zephyr and Rust, and we&amp;rsquo;re ready to assist.&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Akshay&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE Sense &amp; IMU - ZephyrOS</title><link>https://devzone.nordicsemi.com/thread/506083?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 11:36:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:152cecbd-0068-4d5a-9649-19f7a6d91460</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can you check out this thread a bit, and check if this indirectly answers your questions?&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104448/lis3dh-interrupt-pins-configuration"&gt;Lis3dh interrupt pins configuration&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE Sense &amp; IMU - ZephyrOS</title><link>https://devzone.nordicsemi.com/thread/504791?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2024 08:25:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f3dc47a-c5cb-4a1a-a0a4-c3fd28536ea5</guid><dc:creator>vgarcive</dc:creator><description>&lt;p&gt;Any news on this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have been trying to use i2c_write() and i2c_read() functions to modify and route the INT1 of the IMU but it seems not to update the register correctly, Is there any way that I can modify the register with sensor_att_set() or similar?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Using the example on Zephyr documentation&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/sensor/lsm6dso/src/main.c"&gt;Zephyr example&lt;/a&gt;, I always read SENSOR_TRIG_TIMER instead of DATA_READY or DOUBLE_TAP or any other. What am I doing wroing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE Sense &amp; IMU - ZephyrOS</title><link>https://devzone.nordicsemi.com/thread/497060?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 00:48:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcf4dd9b-9c0b-4b9b-9ae7-a6c4f2169ece</guid><dc:creator>PjGlasso</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;You can Route all the functions for interrupt on INT1 PIN , on the&amp;nbsp;&amp;nbsp;LSM6DS3 check it out documented on Seeed Forum and in the IMU data sheet. I have a Motion &amp;amp; Fall demo on there and I write to a register in the config that tells it which INTpin is registered.&lt;/p&gt;
&lt;p&gt;HTH&lt;/p&gt;
&lt;p&gt;GL :-) PJ&amp;nbsp;&lt;/p&gt;
&lt;p&gt;PS, I just started using the NRF_SDK from PL.IO &amp;amp; Arduino I need more BEEF!&amp;nbsp; I want to add coded PHY BLE connection to my Xiao Setup&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the standard BLE stuff works great&amp;nbsp; I want more range. Is there a Xiao Devicetree overlay that exists&lt;/p&gt;
&lt;p&gt;THnx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE Sense &amp; IMU - ZephyrOS</title><link>https://devzone.nordicsemi.com/thread/491327?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 12:32:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd5c3538-b391-44f4-8850-140fbd6a186e</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi Victor&lt;/p&gt;
&lt;p&gt;Kenneth is out of office so I will take over the case.I will need to look a bit into this and get back to you&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: Xiao BLE Sense &amp; IMU - ZephyrOS</title><link>https://devzone.nordicsemi.com/thread/490573?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 10:19:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f55b9b6-73f4-408c-baef-0f339722007d</guid><dc:creator>vgarcive</dc:creator><description>&lt;p&gt;Well, INT1 trigger it should be working because the data ready event is triggering correctly and I2C is working correctly because I can configure and modify differet data on the IMU and the response is OK and when reading the register again it gets updated so, I dont think that should be a problem, I guess is more how to properly configure the IMU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE Sense &amp; IMU - ZephyrOS</title><link>https://devzone.nordicsemi.com/thread/490074?ContentTypeID=1</link><pubDate>Sat, 22 Jun 2024 09:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:861a619a-63c5-490c-85d1-6a330e351329</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I don&amp;#39;t know exactly which configuration options that is available on INT1 and INT2, I guess you must refer to the datasheet for the sensor in question.&lt;/p&gt;
&lt;p&gt;I do recommend in general to search through nRF Connect SDK for instance for &amp;#39;CONFIG_LSM6DSL_TRIGGER&amp;#39; and check which other projects may be doing something similiar. I also recommend to have a logic analyzer available so you observe the i2c and INT1 pin, this may give valuable information what the problem may be (e.g. INT1 trigger or not).&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE Sense &amp; IMU - ZephyrOS</title><link>https://devzone.nordicsemi.com/thread/489901?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 09:36:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a44619c1-0c5a-4bd8-a4c9-aff39c4ad152</guid><dc:creator>vgarcive</dc:creator><description>&lt;p&gt;I saw there is a &amp;quot;&lt;span&gt;anym-on-int1&amp;quot; for then overlay on the lis3dh accel, Do you know if there is something similitar for the LSM6D?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;I paste here the DTS i am using because on my overlay there is nothing related to IMU&lt;pre class="ui-code" data-mode="text"&gt;
/ {
	model = &amp;quot;Seeed XIAO BLE Sense&amp;quot;;
	compatible = &amp;quot;seeed,xiao-ble&amp;quot;, &amp;quot;seeed,xiao-ble-sense&amp;quot;;

	lsm6ds3tr-c-en {
		compatible = &amp;quot;regulator-fixed-sync&amp;quot;, &amp;quot;regulator-fixed&amp;quot;;
		enable-gpios = &amp;lt;&amp;amp;gpio1 8 (NRF_GPIO_DRIVE_S0H1 | GPIO_ACTIVE_HIGH)&amp;gt;;
		regulator-name = &amp;quot;LSM6DS3TR_C_EN&amp;quot;;
		regulator-boot-on;
		startup-delay-us = &amp;lt;3000&amp;gt;;
	};
};

&amp;amp;i2c0 {
	compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
	/* Cannot be used together with spi0. */
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;i2c0_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;i2c0_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
	clock-frequency = &amp;lt;I2C_BITRATE_FAST&amp;gt;;

	lsm6ds3tr_c: lsm6ds3tr-c@6a {
		compatible = &amp;quot;st,lsm6dsl&amp;quot;;
		reg = &amp;lt;0x6a&amp;gt;;
		irq-gpios = &amp;lt;&amp;amp;gpio0 11 GPIO_ACTIVE_HIGH&amp;gt;;
		status = &amp;quot;okay&amp;quot;;
	};
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you!!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE Sense &amp; IMU - ZephyrOS</title><link>https://devzone.nordicsemi.com/thread/489899?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2024 09:32:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:126c945f-51de-411b-b29b-6b2b20d71890</guid><dc:creator>vgarcive</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I checked the links you shared, I am doing everything exactly the same but nothing works. After some time reviewing absolutely everything, I saw the following on the XIAO schematics:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1718962060876v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It seems like INT2 is not routed to anything so I guess all the motion events are not trigger because of this. The question now is,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there any way we can route the&amp;nbsp;&lt;span&gt;&amp;quot;SENSOR_TRIG_DELTA or&amp;nbsp;&lt;/span&gt;&lt;span&gt;SENSOR_TRIG_THRESHOLD&amp;quot; events on the INT1 line?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE Sense &amp; IMU - ZephyrOS</title><link>https://devzone.nordicsemi.com/thread/488717?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 14:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:777dd47b-ab36-4b2a-b9f1-93eb3560f76f</guid><dc:creator>vgarcive</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Thank you for the reply. I will check the link you mention to see if it can clarify something and I will let you know.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE Sense &amp; IMU - ZephyrOS</title><link>https://devzone.nordicsemi.com/thread/488705?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 13:58:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:622d7c65-8709-49a7-970d-de47df40e38a</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I unfortunately don&amp;#39;t have time to look into this at the moment, but maybe you can find the following discussion useful:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104448/lis3dh-interrupt-pins-configuration"&gt;Lis3dh interrupt pins configuration&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suspect missing/wrong irq-gpios in devicetree node for the sensor in question.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>