<?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>nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6169/nrf51822-accelerometer</link><description>I&amp;#39;m working on nFR51822 Soc and I wanna use the accelerometer data . Does any one have an idea how to communicate with nRF51822 accelerometer ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Aug 2017 06:29:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6169/nrf51822-accelerometer" /><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21605?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2017 06:29:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:101e03f6-ddba-4e3b-adcf-36352d2962ff</guid><dc:creator>walterLIte</dc:creator><description>&lt;p&gt;I am struggling with this as well, did you ever get the LIS3DH  interface to the nRF51x22
Can you share your code and experiences·&lt;/p&gt;
&lt;p&gt;Thank you !!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21615?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2015 21:46:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61c33fdd-6604-459b-b94e-4e07eb2199b3</guid><dc:creator>Yasmine_Chtourou</dc:creator><description>&lt;p&gt;thx a lot @Stian i don&amp;#39;t know what&amp;#39;s the right question to ask . Thank you for your help =)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21614?ContentTypeID=1</link><pubDate>Sun, 29 Mar 2015 21:13:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a9e8d2b-7fd4-4d7f-ade6-6f2d840e231b</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;It is easier to help you if you post your code. Then I can try to track down where the problem is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21613?ContentTypeID=1</link><pubDate>Sun, 29 Mar 2015 21:10:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74cc4fad-53af-468a-99b9-70ad1eb77ee3</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;What exactly is not working? Does the code compile? Does the chip run? Are you not seeing any activity with a logic analyser?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21612?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2015 14:01:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92ca49e3-f59c-4841-8594-66d992cc3605</guid><dc:creator>Yasmine_Chtourou</dc:creator><description>&lt;p&gt;I tryied to includethe spi driver as shown in the mater example but it didn&amp;#39;t work . even the master example can not be load to the ship . I didn&amp;#39;t figure out how to include this driver !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21611?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2015 09:50:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2f91da5-8489-40e2-8fc0-088f38732a8f</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;You need to be more specific than that:) What is not working? Are you able to use the SPI master on the nRF51 at all? Are you able to compile and flash the code to the chip? Do you have a logic analyzer so you can see the traffic on the SPI bus? Do you know the principle behind SPI communication? How to read and write to registers? Did you look at the accelerometer datasheet and determine which registers you need to write to in order to initialize the chip (if needed)? Did you find the address of the output registers in the datasheet? Did you try to read out information from these output registers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21610?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2015 23:23:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83d8fc15-cabc-41d0-ac54-2954415b8912</guid><dc:creator>Yasmine_Chtourou</dc:creator><description>&lt;p&gt;thanks a lot =) . If i may i ask again : i saw the spi mater example but still i didn&amp;#39;t figue out how can i read the x axis , y axis and z axis data ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21609?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2015 09:03:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16107747-57af-4cc5-92a3-459c727ed65e</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Go download the SDK: &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/"&gt;developer.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Open up the SPI master example. This example includes the &lt;strong&gt;spi_master.h&lt;/strong&gt; and shows how to use it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21608?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2015 05:02:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50dee1c5-4396-400d-9468-dad11df3cfa8</guid><dc:creator>testy</dc:creator><description>&lt;p&gt;Did you see:
&lt;a href="https://devzone.nordicsemi.com/question/7934/speed-up-spi-burst-reads/"&gt;link&lt;/a&gt;
?
Tested, works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21607?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2015 15:30:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd76f311-83e9-4b7b-a019-38c3cb6c2105</guid><dc:creator>Yasmine_Chtourou</dc:creator><description>&lt;p&gt;I Want to use SPI ,  does Nordic provide a DRIVER_SPI.h ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21606?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2015 10:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8f81f9d-efc3-4e46-8c61-8b9b36d33ead</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;In the schematic it&amp;#39;s written LIS3DSh , but i didn&amp;#39;t find any useful information about it .&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If you google LIS3DSH, the first result points to the datasheet: &lt;a href="http://www.st.com/web/en/resource/technical/document/datasheet/DM00040962.pdf"&gt;www.st.com/.../DM00040962.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In chapter 6 in that datasheet the interfaces are described (SPI and I2C).&lt;/p&gt;
&lt;p&gt;The nRF51 supports both SPI and I2C. If you download the SDK we have an example on how to use the SPI: &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.0.0/s110/html/a00046.html"&gt;developer.nordicsemi.com/.../a00046.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The SPI driver is documented here: &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.0.0/s110/html/a00011.html"&gt;developer.nordicsemi.com/.../a00011.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And the TWI driver is documented here: &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.0.0/s110/html/a00014.html"&gt;developer.nordicsemi.com/.../a00014.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21604?ContentTypeID=1</link><pubDate>Sun, 22 Mar 2015 22:59:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fd38a66-ce2b-48b6-8044-43009494d695</guid><dc:creator>Yasmine_Chtourou</dc:creator><description>&lt;p&gt;In the schematic it&amp;#39;s written LIS3DSh , but i didn&amp;#39;t find any useful information about it .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 accelerometer</title><link>https://devzone.nordicsemi.com/thread/21603?ContentTypeID=1</link><pubDate>Sun, 22 Mar 2015 07:13:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a3d429f-5c0b-4649-9e74-0fb1e8a83e1f</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;What accelerometer chip do you want to use? You need to find one, then connect it via I2C or whatever other interface it uses and read the data off it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>