<?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>nRF52832 and LIS3DH accelerometer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68605/nrf52832-and-lis3dh-accelerometer</link><description>Hi, 
 I am trying to read LIS3DH accelerometer with my nRF52832. I am using a custom board. Is there any tutorial or example that can help me? After some changes in the code, I tried &amp;quot;twi_sensor&amp;quot; example. 
 
 But, in line 79, &amp;quot;m_xfer_done&amp;quot; is always false</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Nov 2020 08:13:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68605/nrf52832-and-lis3dh-accelerometer" /><item><title>RE: nRF52832 and LIS3DH accelerometer</title><link>https://devzone.nordicsemi.com/thread/281948?ContentTypeID=1</link><pubDate>Thu, 26 Nov 2020 08:13:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a72642e-b17e-485e-8957-cc553eee770a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Gabriel&lt;/p&gt;
&lt;p&gt;Happy to help, and the best of luck.&amp;nbsp;If you are unable to get it working please let us know&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and LIS3DH accelerometer</title><link>https://devzone.nordicsemi.com/thread/281844?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 14:15:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e6388ae-ca34-4fa8-abc4-e27698e5e222</guid><dc:creator>Gabriel Jiro </dc:creator><description>&lt;p&gt;ok, I will look at this libraries.&amp;nbsp;&lt;br /&gt;I thought that there was something in the Nordic SDK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;span&gt;Nguyen&amp;nbsp;and&amp;nbsp;Torbj&amp;oslash;rn! &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and LIS3DH accelerometer</title><link>https://devzone.nordicsemi.com/thread/281772?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 11:38:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eae8a2cc-76cd-4ab1-9999-2a3a7eac7888</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Gabriel&lt;/p&gt;
&lt;p&gt;Feel free to give the IOsonata library that Nguyen recommended a go. I believe he is one of the developers, so I am sure he can help you get it running.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are others libraries out there also, such as &lt;a href="https://github.com/adafruit/Adafruit_LIS3DH/blob/master/Adafruit_LIS3DH.cpp"&gt;this one&lt;/a&gt; from Adafruit, and&amp;nbsp;you can use a library like this for reference to develop something running on the nRF52832.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and LIS3DH accelerometer</title><link>https://devzone.nordicsemi.com/thread/281675?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 21:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bd80079-500e-4ccd-8c0b-727f9fdbf192</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Try the &lt;a href="https://github.com/IOsonata/IOsonata"&gt;IOsonata&lt;/a&gt; library. &amp;nbsp;It is well designed and test with hundreds of devices &amp;amp; sensors. Current does not have driver for the LIS3DH but has many other accel that you can use as reference to read the LIS3DH registers. &amp;nbsp;There are no sdk_config define junk with this library. You just tell it which pins and data rate at runtime. Then issue a read/write. &amp;nbsp;The driver handle everything automatically for you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See example code&amp;nbsp;&lt;a href="https://github.com/IOsonata/IOsonata/blob/master/exemples/sensor/mot_sensor_demo.cpp"&gt;https://github.com/IOsonata/IOsonata/blob/master/exemples/sensor/mot_sensor_demo.cpp&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and LIS3DH accelerometer</title><link>https://devzone.nordicsemi.com/thread/281663?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 18:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d45ce19-151f-4fd3-a7fc-1354c9e1f222</guid><dc:creator>Gabriel Jiro </dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;br /&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;I searched a lot in the forum about my problem, but I am still stuck.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you give me any starting point to develop an application (with nRF52832) that reads the accelerometer LIS3DH?&amp;nbsp; &amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f62b.svg" title="Tired face"&gt;&amp;#x1f62b;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and LIS3DH accelerometer</title><link>https://devzone.nordicsemi.com/thread/281476?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 09:47:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eacc2713-51b2-434d-88f1-9e5a4d112a15</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Gabriel&lt;/p&gt;
&lt;p&gt;Good luck. Please let us know if you get it to work or not &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and LIS3DH accelerometer</title><link>https://devzone.nordicsemi.com/thread/281293?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 11:03:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c7bde5e-705d-4f8c-8310-b4ca2af3b3d5</guid><dc:creator>Gabriel Jiro </dc:creator><description>&lt;p&gt;Thanks for your answer, &lt;a href="https://devzone.nordicsemi.com/members/hmolesworth"&gt;hmolesworth&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will look for more information about the Slave address.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 and LIS3DH accelerometer</title><link>https://devzone.nordicsemi.com/thread/281171?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2020 17:28:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bf352e9-721e-405f-817f-406abc381b90</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;&amp;quot;&lt;em&gt;The Slave ADdress (SAD) associated to the LIS3DH is 001100xb. The SDO/SA0 pad can be used to modify the less significant bit of the device address. If the SA0 pad is connected to the voltage supply, LSb is &amp;lsquo;1&amp;rsquo; (address 0011001b) else if SA0 pad is connected to ground, the LSb value is &amp;lsquo;0&amp;rsquo; (address 0011000b). This solution permits to connect and address two different accelerometers to the same I2C lines&lt;/em&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;This means that the slave address used in the example is incorrect for the LIS3DH, so it will not respond:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define LSM6_ADD      (0XD6U &amp;gt;&amp;gt; 1)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Search this forum for LIS3DH and LIS2DH where there are multiple discussions on the usage of this part; there are also Adafruit examples on the web to go through.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>