<?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 spi slave problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2828/nrf51822-spi-slave-problems</link><description>Hi, 
 I&amp;#39;m trying to communicate between a stm32f4 (spi master) and a nrf51822 (spi slave). I have configured the MISO, MOSI, CS and SCLK of the nrf. I use the spi_slave_example for testing the communication. 
 First question is : why the MISO pin is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Jan 2015 10:29:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2828/nrf51822-spi-slave-problems" /><item><title>RE: nrf51822 spi slave problems</title><link>https://devzone.nordicsemi.com/thread/10808?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2015 10:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37842c6d-9c89-4c72-91f6-8621ce9892f8</guid><dc:creator>Brajesh</dc:creator><description>&lt;p&gt;Hi Dear,&lt;/p&gt;
&lt;p&gt;Did you get your problem solved ?
I m trying similar sort of thing. Only difference is my SPI master is MSP430 not ST. And i still dont get why MISO pin is configured as input in nRF. I&amp;#39;m using spi_slave_example application.&lt;/p&gt;
&lt;p&gt;Brajesh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 spi slave problems</title><link>https://devzone.nordicsemi.com/thread/10807?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2014 13:16:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd7a2feb-c970-4fc2-95ce-ccf913153498</guid><dc:creator>anonyme16</dc:creator><description>&lt;p&gt;Thank&amp;#39;s for explanation, it&amp;#39;s more clear.&lt;/p&gt;
&lt;p&gt;No, I never have an interrupt in the SPI_TWI_IRQHandler or spi_event_handler. It&amp;#39;s very strange and I have no more idea to try. I test the communication between my cortex M4 and the nrf with nrf has master, it&amp;#39;s work perfectly. But in the other side (nrf slave), nothing happend. I don&amp;#39;t receive 0xAA or 0x55. I checke the timing specified in the datasheet, i work with a spi clock at 1.3 MHz and others timing seems ok.
Any idea for solving my problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 spi slave problems</title><link>https://devzone.nordicsemi.com/thread/10806?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2014 13:06:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9679df7-ca8a-4f64-be7a-3d90a0744c4c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;When any peripheral that needs GPIOs to function properly is started, this specific peripheral overrides the GPIO-configuration to suit its needs. In this case MISO becomes an output.&lt;/p&gt;
&lt;p&gt;For each completed transaction, the semaphore is released. You&amp;#39;ll then need to call the spi_slave_buffers_set again to acquire it again.&lt;/p&gt;
&lt;p&gt;There should not be a special sequence, as long as everything is configured correctly (SPI mode/bit order) and it&amp;#39;s physically connected correctly.&lt;/p&gt;
&lt;p&gt;Do you get any interrupts at all? Do you receive 0xAA/0x55 data on the ST-side?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>