<?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>Acquiring data from Lis2dh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110323/acquiring-data-from-lis2dh</link><description>Hello. 
 
 I&amp;#39;m using a lis2dh in the nrf52840 dev kit and Zephyr on VScode. Using the function sensor_channel_get and the struct sensor_value I need 8 bytes to read each accelerometer axis. Is it possible or there is any function to acquire data from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Apr 2024 20:35:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110323/acquiring-data-from-lis2dh" /><item><title>RE: Acquiring data from Lis2dh</title><link>https://devzone.nordicsemi.com/thread/479548?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2024 20:35:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88f59348-fa5e-447a-96c0-763e3e0e733c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am not sure I understand what you mean by &amp;quot;function to acquire data from this accelerometer using only 2 bytes?&amp;quot;&lt;/p&gt;
&lt;p&gt;Are you saying that you are now able to read the accellerometer data, but that you receive 8 bytes per axis? And you only want two bytes? If so, can you please share some code on how you are currently reading the accelerometer? And I am not sure whether it is possible &amp;quot;to aquir data from this accelerometer using only 2 bytes&amp;quot;. Did you find somewhere saying this is possible? And what does it mean? Perhaps you want to strip down the data (less accurate, but only 2 bytes?)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>