<?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>ADXL 345 SPI communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7236/adxl-345-spi-communication</link><description>Hello folks, I have modified the SPI Master Loop example from the package so that I could communicate with the ADXL 345 accelerometer. I use the &amp;quot;spi_master_send_recv()&amp;quot; function to send in master&amp;#39;s command. On my oscilloscope, I see the byte I send out</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 May 2015 09:01:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7236/adxl-345-spi-communication" /><item><title>RE: ADXL 345 SPI communication</title><link>https://devzone.nordicsemi.com/thread/25582?ContentTypeID=1</link><pubDate>Wed, 27 May 2015 09:01:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cd12659-cfec-48e8-a72a-3acf335e7872</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I think what you can do is to record logic traces in both case and can compare them to see what could be wrong. You can also try to disconnect MISO and track if there is any signal on MISO on ADXL345 when it&amp;#39;s not connected to nRF51, just in case if the issue was on the nRF51.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADXL 345 SPI communication</title><link>https://devzone.nordicsemi.com/thread/25581?ContentTypeID=1</link><pubDate>Tue, 26 May 2015 18:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70b23738-4ebd-4159-a630-5aa39baa574a</guid><dc:creator>Milad</dc:creator><description>&lt;p&gt;Yes, they are all fine. I have checked it with Arduino and I can see the signals on the osciliscope. However, I cant do the same with nRF SDK. There should be a bug with my program.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ADXL 345 SPI communication</title><link>https://devzone.nordicsemi.com/thread/25580?ContentTypeID=1</link><pubDate>Tue, 26 May 2015 10:34:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dee766c7-3476-4961-9aa8-caabc49a69b4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Milad: I haven&amp;#39;t used the ADXL345 myself, but have you made sure you provided VCC, GNC and especially CS  (Chip select) is active (low) when you send command/data to the ADXL345 ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>