<?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>Beginner: Displaying accelerometer values from SPI to computer console</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19249/beginner-displaying-accelerometer-values-from-spi-to-computer-console</link><description>Hello all, first time using a I am using a nordic board im a little overwhelmed by all the options. I have nrf51 development kit and I just used the getting started tutorial to get the device working with my android phone. I now want to display the readings</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Jan 2017 12:05:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19249/beginner-displaying-accelerometer-values-from-spi-to-computer-console" /><item><title>RE: Beginner: Displaying accelerometer values from SPI to computer console</title><link>https://devzone.nordicsemi.com/thread/74580?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2017 12:05:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0804a53-f917-440f-9dcd-08006798ef88</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would recommend that you start by looking at the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/spi_master_example.html?cp=4_0_1_4_5_31"&gt;SPI Master example&lt;/a&gt; in the SDK. This is setup to execute a SPI transactions every 200 ms and toggles the LED when the transfer is completed. The data can also be transferred to the terminal if you set NRF_LOG_ENABLE in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/sdk_config.html?cp=4_0_1_1_6"&gt;SDK configuration header&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You will have to change the example to use the commands specific for your accelerometer, to get correct data. There are drivers available for some accelerometer models in the SDK and here on DevZone. Please search for your model if you have any questions, or ask in this post if you cannot find the required information and I will try to help!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>