<?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>Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117957/error-setting-sampling-frequency-on-lsm6dso---nrf52833</link><description>Hi all, 
 I am running the lsm6dso zephyr sample on my nrf52833 dev kit. I am unable to set the sampling frequency. I get this error after flashing: 
 
 This is my overlay file: 
 
 My SDK version is 2.7 and I am on Zephyr 3.6.99 
 My debugger suggests</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Mar 2025 10:09:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117957/error-setting-sampling-frequency-on-lsm6dso---nrf52833" /><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/526879?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 10:09:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:909599e0-895e-4ce9-85f0-8f5d46b396e4</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Regina,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Glad to hear that you were able to get it running!&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: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/526837?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 00:37:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c294202-fb35-4dd7-b257-bc8707aeefa6</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;Turns out LSM6DSO had the wrong device ID in the lsm6dso driver file. After I corrected it, I was able to get readings from the accelerometer. Appreciate the help. You can close this ticket.&lt;/p&gt;
&lt;p&gt;-Regina&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/526798?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 15:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aced3d41-7ce9-4220-998f-97a51098081d</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;Please set:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=y
CONFIG_SENSOR_LOG_LEVEL_DBG=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And share the full uart log output.&lt;/p&gt;
&lt;p&gt;In addition, take a saleae logic trace, and share this one as well (as a .sal file!)&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: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/526616?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2025 16:05:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc40ee4e-fc9c-4a62-a29b-c916f8994af2</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I talked to the manufacturers of my chip. They said that the second NAK is expected when reading one byte. So the sensor is behaving as expected. I still have a device not ready error though, with init_res == 5.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It seems like my device tree is okay&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1741622734833v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any other suggestions that could cause this?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/525642?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2025 07:15:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2201464d-2820-4703-9a82-0c2b48cdfb89</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="ReginaA101"]First, does the bias_pull_up in the device tree take care of this?[/quote]
&lt;p&gt;Yes. The pull-ups are internal to the chip, and are nom. 13k - this is too weak for 400 kHz mode, but works fine for 100 kHz mode.&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: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/525586?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2025 18:10:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01d71ce9-4813-49aa-bd1b-79ac9ee8759b</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The manufacturer has not responded to me but I will let you know if they do. In the meantime, I want to check a couple of things.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;First, does the bias_pull_up in the device tree take care of this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pastedimage1741024623548v3.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1741024296025v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This came from the lsm6dsox datasheet. Also, what is the resistance of the bias_pull_up?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Regina&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/525343?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2025 16:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c49682fd-705e-4796-830b-fac435b84e03</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Regina,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is very strange that the sensor ACKs twice, then NAKs on the read-out of WHOAMI register.&lt;/p&gt;
&lt;p&gt;Have you checked with the vendor to hear if this might be an issue with the overall setup of the sensor on the module that you have? I see that it is i2c/i3c/SPI capable, it might be that this behaviour is a side-effect of a floating pin on the selection of the transport for instance?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/525172?ContentTypeID=1</link><pubDate>Fri, 28 Feb 2025 00:53:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0317fc2f-d921-4147-8e19-8be16d13957c</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You were right, there was some missing connections. I have verified all of the connections now.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can write to the sensor but I cannot read from the sensor.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1740703336105v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have verified that I can get the &amp;quot;WhoAmI&amp;quot; register (0x6C)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I still get a device not ready error.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I use a debugger, I get the init_res value to be 5, which i believe is an input output error. Is it possible that I still have a configuration issue with my device tree?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regina&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/524506?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 08:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:564a0a09-bdcd-456c-820b-611e1630c956</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;Your sensor does not ACK (ie. NAK), as the LSBit in the transaction is high, indicating that there is a problem on the sensor side.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should go over your physical connection and see if there&amp;#39;s anything that isn&amp;#39;t properly connected (VDD, VDDIO, GND, SDA and SCL).&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: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/524417?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 16:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af6c5bdf-ed86-448a-a1e3-44c70a826584</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;Thanks for your suggestions&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have reverted the change&lt;/p&gt;
&lt;p&gt;I am still getting a device not ready error.&lt;/p&gt;
&lt;p&gt;I zoomed into the section you told me and I am getting an initialization. Seems that the first 7 bits are 6A which was the i2c address I believe.&lt;/p&gt;
&lt;p&gt;It doesnt seem like I am getting any ACK though&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/pastedimage1740415759231v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/524247?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 08:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71a467f5-7796-4979-9456-ebd4bd69aa13</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;Please note that zephyr supports lsm6dso, and not lsm6dsox directly. I do not know the exact difference between the two sensors, but they seem to have a similar i2c address atleast.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you zoom into the rising edge of your saleae logic trace at approx. +0.5 sec, you should see some i2c communication. Please share this, and check if the sensor ACKs.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="ReginaA101"]&lt;p&gt;This is the sensor board I have&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.st.com/en/evaluation-tools/steval-mki217v1.html"&gt;https://www.st.com/en/evaluation-tools/steval-mki217v1.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there any possible configurations I could be missing to enable i2c communication? I have verified the connection of SDA/SCL/VDD and GND pins.&lt;/p&gt;[/quote]
&lt;p&gt;There is two sensors on this board, you will have to make sure that the board itself is not modified, as the default is to have both sensors connected over the common i2c lines.&lt;/p&gt;
[quote user="ReginaA101"]&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am using the same sample&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/sensor/lsm6dso"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/sensor/lsm6dso&lt;/a&gt;&amp;nbsp;I just changed one line in main due to getting a &amp;quot;device not ready&amp;quot; error:&lt;/p&gt;[/quote]
&lt;p&gt;It seems like you have changed this line:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/sensor/lsm6dso/src/main.c#L111C53-L111C63"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/sensor/lsm6dso/src/main.c#L111C53-L111C63&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would strongly recommend that you keep this &amp;quot;as-is&amp;quot;, ie. revert your change, as this line is crucial in terms of initializing and using the lsm6dso sensor driver.&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;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/524158?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 19:42:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a126723-3384-44b1-9061-029ac6907866</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;I redid my build, and the config error went away. Thanks for that&lt;/p&gt;
&lt;p&gt;However I am still unable to communicate with my sensor.&lt;/p&gt;
&lt;p&gt;This is my scoping of the SDA and SCL pins. The pins sit at high, then when I restart the board thats when both the pins go low, then they sit at high continuously.&amp;nbsp;&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/pastedimage1740166384311v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I am using the same sample&amp;nbsp;&lt;a id="" href="https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/sensor/lsm6dso"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/sensor/lsm6dso&lt;/a&gt;&amp;nbsp;I just changed one line in main due to getting a &amp;quot;device not ready&amp;quot; error:&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/pastedimage1740166714670v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is my proj.conf file:&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/pastedimage1740166738042v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And the overlay file is the same one I sent a couple days ago&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/pastedimage1740166770430v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is the sensor board I have&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://www.st.com/en/evaluation-tools/steval-mki217v1.html"&gt;https://www.st.com/en/evaluation-tools/steval-mki217v1.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there any possible configurations I could be missing to enable i2c communication? I have verified the connection of SDA/SCL/VDD and GND pins.&lt;/p&gt;
&lt;p&gt;Thanks for your time&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1740166338229v1.png"&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/523927?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 14:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18206389-a253-4595-9465-719fed582985</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;The sample is unchanged, just added your file to the folder-structure.&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: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/523921?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 14:22:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad9bf9e9-6399-4344-9bb8-345505d448ef</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;Is there any other configs you need besides config_lsm6dso and config_i2c?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/523907?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 13:48:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:100f53e1-83c7-48df-aed6-0763b06e2557</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;I tested this on my system, as well as a colleague of mines setup, and we are not able to reproduce the line &amp;quot;warning: LSM6DSO was assigned the value &amp;#39;y&amp;#39;, but got the value &amp;#39;n&amp;#39;&amp;quot;, which is effectively not including the driver into your build.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you delete your build-folder and regenerate the build?&lt;/p&gt;
&lt;p&gt;Your overlay, when matching your board, will be automatically appended, so your build in vscode shall look like this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pastedimage1740059304323v3.png" alt=" " /&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><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/523760?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 17:23:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22c49e20-6a69-4a8b-97dc-8fb42b3115a8</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1739985770491v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1739985803720v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;That was the build output&lt;/p&gt;
&lt;p&gt;The overlay file is here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0636.nrf52833dk_5F00_nrf52833.overlay"&gt;devzone.nordicsemi.com/.../0636.nrf52833dk_5F00_nrf52833.overlay&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/523437?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 09:11:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:197d56ff-486f-4ed9-86a2-01a3dbbdae95</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;Q1: Can you please share the full build output?&lt;/p&gt;
&lt;p&gt;Q2: Can you share the overlay as a file? The warning that you attached indicate that the overlay is not picked up by the build-system.&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: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/523361?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2025 19:36:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a47dd5dc-9717-44d7-a319-ee28cde4c29a</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;Yes i am running that example.&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/pastedimage1739820807741v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is the scope&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, when building the project with this device tree&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/pastedimage1739820929427v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I get this warning:&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/pastedimage1739820896936v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I assume this means that lsm6dso has to be enabled in the device tree. But it seems like i marked it as a compatible so it should be fine. Are there any ideas?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/522771?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 07:09:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd2295bb-01e7-4c57-adc2-7adba9f1b1c5</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;There will be a initialisation of the sensor performed in the startup of the firmware. Could you scope the pins as previously described?&lt;/p&gt;
[quote user="hkn"]set a trigger on falling edge on the SCK pin, and press the reset button on your device.[/quote]
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="ReginaA101"]is there anything else I am supposed to add in order to start transactions? Like are there any other functions that need to be called?[/quote]
&lt;p&gt;Are you running this example?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/latest/samples/sensor/lsm6dso/README.html"&gt;https://docs.zephyrproject.org/latest/samples/sensor/lsm6dso/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/sensor/lsm6dso/src/main.c"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/sensor/lsm6dso/src/main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If so, it will either set it up in polling or trigger mode based on your device tree setup.&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: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/522742?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 21:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a8cfb6a-ab2d-49d1-92fe-dc626f849ebd</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;When it comes to using the lsm6dso drivers, is there anything else I am supposed to add in order to start transactions? Like are there any other functions that need to be called?&lt;/p&gt;
&lt;p&gt;I changed overlay file to this btw:&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/pastedimage1739394455485v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/522136?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2025 08:39:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56de394b-71a3-4778-acbe-0407155cd4ab</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;What is your current .overlay?&lt;/p&gt;
&lt;p&gt;if you use the &amp;quot;compatible = &amp;quot;i2c-device&amp;quot;;&amp;quot; that you posted last week, you are effectively omitting the driver that is already present in zephyr for the lsm6dso. This means that there is no transactions occurring unless you add code in your project to do so.&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: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/522034?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2025 17:26:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79009f4a-c9fd-4c18-9104-ebc40f463c91</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;What do you mean by &amp;quot;wanted configuration&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/521698?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2025 11:47:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18492828-dffe-43d0-be68-ac923bff9c39</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;Did you set the&amp;nbsp;wanted configuration for the sensor in device tree?&lt;/p&gt;
[quote user="ReginaA101"]Waveform I get[/quote]
&lt;p&gt;set a trigger on falling edge on the SCK pin, and press the reset button on your device.&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: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/521632?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 20:26:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0b4df70-9dfb-4bdb-8659-f6b47ea26779</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;Here are some screenshots:&lt;/p&gt;
&lt;p&gt;Overlay File&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1738787167756v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Waveform I get&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/pastedimage1738787195944v3.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error setting sampling frequency on lsm6dso - nrf52833</title><link>https://devzone.nordicsemi.com/thread/521630?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 19:46:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35ec2f85-8808-4fd8-9ff4-73923c00291a</guid><dc:creator>ReginaA101</dc:creator><description>&lt;p&gt;After some more testing, I have been able to scope the SDA/SCL pins. They are always high.&lt;/p&gt;
&lt;p&gt;We are using Internal Pull Resistors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>