<?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>SPI in nrf51 dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15073/spi-in-nrf51-dk</link><description>hello there ,I am writing spi code for slave which has 19 bytes of data. my nrf51 is master. 
 now my slave has clock polarity =1, clock phase =1. i am uploading project here. but my nrf51 is getting 0x00. can anyone tell me what is my mistake?? uart</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Jul 2016 09:53:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15073/spi-in-nrf51-dk" /><item><title>RE: SPI in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/57546?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2016 09:53:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87a70f22-d0e2-461b-90c7-ac79a9ea2f02</guid><dc:creator>rushin</dc:creator><description>&lt;p&gt;can you help me??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/57545?ContentTypeID=1</link><pubDate>Thu, 21 Jul 2016 09:45:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4eedae7-debb-4efd-ae21-d3a0bbeea933</guid><dc:creator>rushin</dc:creator><description>&lt;p&gt;hey in this api&lt;/p&gt;
&lt;p&gt;uint32_t err_code = nrf_drv_spi_transfer(&amp;amp;m_spi_master,
p_tx_data, len, p_rx_data, len);&lt;/p&gt;
&lt;p&gt;my p_tx_data  array is transmitted continuously. p_rx_data is received continuously. but i want to put some delay between this array elements&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/57544?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 14:21:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a8cdc9b-30ba-4eca-9519-4b8415e7a748</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Not for you specific case, but you can use the driver as a base, just remove the sections where the register addresses and read/write commands are put into the transmit buffers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/57543?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 12:58:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:541ea177-063c-4b53-ae69-253611eed32c</guid><dc:creator>rushin</dc:creator><description>&lt;p&gt;do you have some sample code??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/57542?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 12:54:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6439f50c-69c4-4443-a806-aa1c9a71291e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You should use the SPI driver from the SDK(nrf_drv_spi.c) directly instead of using the ADXL375 driver which is on top of the SDK SPI driver.&lt;/p&gt;
&lt;p&gt;Well, it send something, but the ADXL driver(which I made) is meant to be used to communicate with the ADXL375 where the byte sequence sent over SPI must follow a specific format, e.g.  [Register address + R/W bit  | DATA ...... ]. When youre communicating between two microcontrollers you do not need to specific any register addresses, the MCUs will just put the received data in a buffer and then its up to the user to interpret it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/57541?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 11:46:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f005315d-5978-4935-a4a2-2408c7fda338</guid><dc:creator>rushin</dc:creator><description>&lt;p&gt;why it will not work lpc11u24??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/57540?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 11:45:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:801d23f7-7f4f-422f-a2fc-429c5148b54e</guid><dc:creator>rushin</dc:creator><description>&lt;p&gt;lpc11u24 which is slave device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/57539?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 11:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdcd81d6-9ae7-4e5f-bda5-525b402130df</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Which NXP microcontroller are you communicating with? You&amp;#39;re using a ADXL375 SPI driver, which I doubt will work with a NXP microcontroller.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/57538?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 11:13:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a88274d-21bd-4e59-8eba-0aef952a31c9</guid><dc:creator>rushin</dc:creator><description>&lt;p&gt;can you help me to communicate between two nrf51 using SPI?/&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/57537?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 09:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29e688e0-8057-487e-a290-c22e21386c0d</guid><dc:creator>rushin</dc:creator><description>&lt;p&gt;i am communicating with nxp microcontroller which is spi slave. i have not logic analyzer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI in nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/57536?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 09:24:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bc184a8-3031-4d9e-af77-b30919ced970</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Which SPI device are you communicating with? Can you provide a logic trace/capture of the SPI lines?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>