<?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>LIS3DH- wrong data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111011/lis3dh--wrong-data</link><description>Hello, 
 ive encounter a strange problem, when i try read data from lis3dh that are Y_L X_L Z_L they seem all right. buffer[0] buffer[2] buffer[4] but when it comes to X_H Y_H Z_H data they are only multiplies of 64. buffer[1] buffer[3] buffer[5] that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 May 2024 11:03:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111011/lis3dh--wrong-data" /><item><title>RE: LIS3DH- wrong data</title><link>https://devzone.nordicsemi.com/thread/482997?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 11:03:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f714476-0a58-4388-b2e0-9211a5c430c6</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looking over the LIS3DH datasheet it seems the default resolution of the ADC is 10-bits, and that the data is left justified. As such I will assume that it is the most significant 2 bits of the high registers that are used, and not the 2 least significant bits as you might assume.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To test this theory you could try to simply shift the H registers 2 bits to the left rather than 8. Then the end result should be correct.&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></channel></rss>